home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apollo / 4197 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  4.0 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!tuegate.tue.nl!eba!ebh!wjw
  2. From: wjw@ebh.eb.ele.tue.nl (Willem Jan Withagen)
  3. Newsgroups: comp.sys.apollo
  4. Subject: Re: 3COM PC NFS and Domain/OS
  5. Message-ID: <1819@eba.eb.ele.tue.nl>
  6. Date: 6 Jan 93 09:51:38 GMT
  7. References: <1993Jan05.215921.23513@edsi.plexus.COM>
  8. Sender: news@eb.ele.tue.nl (The News system)
  9. Organization: Eindhoven University of Technology, The Netherlands
  10. Lines: 81
  11.  
  12. In article <1993Jan05.215921.23513@edsi.plexus.COM> chuck@edsi.plexus.COM (Chuck Tomasi) writes:
  13. =>I almost posted this about a month ago, but thought I would check the
  14. =>FAQ list first... lucky for me I did and found some information.
  15. Well that's what the FAQ is all about :-)
  16. You've got some usefull stuff in there as well.
  17.  
  18. =>I'm running 3COM PC NFS on a test PC at our site and got pcnfsd.v2 off
  19. =>the net, however the PC doesn't want to talk to our Apollo.  We're
  20. =>running Domain/OS 10.3.5.4 on our workstation.  The sources 3COM sent
  21. =>along with PC NFS didn't compile worth crap under Domain so I grabbed
  22. =>the suggested pcnfsd.  After recently testing it I came to the same
  23. =>conclusion as if it wasn't running at all.  I get a NFS103 error which
  24. =>says that the remote host is not communicating.  Is there some way to
  25. =>specify a port number to pcnfsd.v2?
  26.  
  27. Just to be obvious: You do have Apollo-NFS installed.
  28. Otherwise the pcnfsd does do you any good. 
  29. (eg. it makes, among others, the /etc/rpcinfo command available)
  30.  
  31. Note that most of the stuff is tested using PC-NFS by SUN. (at least my
  32. remarks are.)
  33.  
  34. I'd have to look into the sources of the pcnfsd if there's switch
  35. specifying a fixed port. Normaly it is all set up by the portmapper.
  36.  
  37. You just ask the port mapper for a free socket number, and go there and
  38. wait for RPC calls. When somebody want to call you, he first goes to the
  39. portmapper, and asks for your socket number.
  40.  
  41. To check if your routines are really available, use:
  42.     rpcinfo -p <pcnfsd-host>                                
  43.  
  44. ebh{wjw}8: rpcinfo -p ebs
  45.    program vers proto   port
  46.     100000    2   tcp    111
  47.     100000    2   udp    111
  48.     100005    1   udp    856
  49.     100003    2   udp   2049
  50.     150001    1   udp    750
  51.     150001    2   udp    750
  52.     150001    1   tcp    753
  53.     150001    2   tcp    753
  54. [Now good OS-es would translate some of the numbers :-> ]
  55. [But then they wouldn't have NFS :-) ]
  56. but: 
  57.   program 100000 is the portmapper himself, it is always on the fixed socket 111
  58.           100005        mountd              on a variable port
  59.           100003        nfsd            should be on a variable port,
  60.                         but SUN-HACKS made it default fixed. :-[
  61.       150001    pcnfsd            on variable ports
  62.  
  63. Note that the pcnfsd has two versions of the RPC's registered. Version 1 and 2
  64. It is up to the calling RPC to choose either one.
  65.  
  66. Next to that you can see that some services are both on udp and tcp.
  67. Like on apollo where things can be tcp or dds.
  68.  
  69. Now if rpcinfo doesn't show anything, your problem lies with basic NFS/portmapper
  70. problems. Otherwise it could be somewhere in the pcnfsd.
  71. Which is shure a problem to compile, since there is an RPClib for 10.3.5, but
  72. no includes which is dynamic. 
  73. So I compiled the the actual SUN PC 4.0 code and statically linked to that lib.
  74. I got some warnings, but I'm not deep enough into Apollo tricks to solve those.
  75. [And it workes flawless for use, so I'm spending the time elsewhere]
  76.  
  77. =>I have successfully used 3comnfsd on our HP-UX machines, but as
  78. =>mentioned before those sources don't compile at all on our Domain
  79. =>machines.
  80. If the user on Apollo are the same as those on Apollo, why not use the HP-UX deamon.
  81. [same = same UID and GID]
  82. Only one source of authorisation of PC-NFS is needed within an organisation, 
  83. as long as all users have the same identity everywhere.
  84.  
  85. Enjoy, en feel free to ask,
  86.  
  87.     Willem Jan
  88.  
  89. Digital Information Systems Group, Room EH 10.35 
  90. Eindhoven University of Technology   
  91. P.O. 513                             Tel: +31-40-473401,Fax: +31-40-448375
  92. 5600 MB Eindhoven                    The Netherlands
  93.