]> git.ozlabs.org Git - ppp.git/blob - NeXT/Examples/NXHosting_with_PPP
Cosmetic fix.
[ppp.git] / NeXT / Examples / NXHosting_with_PPP
1 From: gbrown@alumni.caltech.edu (Glenn Brown)
2 Subject: Re: ppp and NXHost problems
3 Date: 23 Nov 1994 07:37:57 GMT
4 Organization: California Institute of Technology, Pasadena
5
6 If you want to NXHost over PPP, Simply execute the following 7 lines
7 after the ppp connection has been brought up (these are simply the
8 lines from the rc.net script that signal the nmserver that it should
9 check for new interfaces.  Note that the kill command does not kill the
10 nmserver.  Rather, it sends the "USR2" signal to the nmserver.)
11
12 #!/bin/sh
13 #  Let the nmserver know the fruits of our network configuration endeavor.
14 pid=`ps cax | egrep nmserver | awk '{print $1;}'`
15 if [ -n "$pid" ]; then
16     echo "Reinitializing nmserver's network portion"
17     /bin/kill -USR2 $pid
18 fi
19
20 Note 1: You have to executed the lines under "sh".  I suggest you
21 save them in a file and type "/bin/sh file".
22
23 Note 2: I haven't actually tried this (I don't have another NeXT to
24 test it on), but I figured out out reading the rc scripts.  Please let
25 me know the result if you try it.
26
27 --Glenn
28
29 ----------------------------------------------------------------------
30
31 In article <4ule10$g2t@nuke.csu.net>, John Rudd <kzin@arcadia.sjsu.edu> wrote:
32 >(isc-ts2-* are our dialup PPP lines.. each line in the hunt group has a 
33 >different IP addy associated with it.. so you are likely to get a different 
34 >one each time.  And this is why I can't do the "Services -> OpenSesame -> 
35 >Open on host X", because that sends "-NXHost copernicus".. which is what my 
36 >home machine internally identifies itself as)
37
38 The only way to get -NXHost to work over PPP is to have an IP address
39 assigned to your Ethernet port, and have a route to that address
40 reachable over the PPP.
41
42 When you try to -NXHost, it uses UDP, and for some reason the UDP
43 protocol decides to use the Ethernet's IP address for outgoing
44 packets, rather than using the PPP's IP address.
45
46 You'll also have similar problems trying to get talk to work over
47 PPP. Unless there is a route to your Ethernet's IP address, it isn't
48 going to work.
49
50 -- 
51 Chris Osborn, Network Administrator     Napa Valley College
52 707 253 3130 - Voice                    2277 Napa-Vallejo Hwy.
53 707 253 3063 - Fax                      Napa, CA 94558
54 <fozztexx@nvc.cc.ca.us>    <¬http://www.nvc.cc.ca.us/~fozztexx>
55
56