home *** CD-ROM | disk | FTP | other *** search
- From: gbrown@alumni.caltech.edu (Glenn Brown)
- Subject: Re: ppp and NXHost problems
- Date: 23 Nov 1994 07:37:57 GMT
- Organization: California Institute of Technology, Pasadena
-
- If you want to NXHost over PPP, Simply execute the following 7 lines
- after the ppp connection has been brought up (these are simply the
- lines from the rc.net script that signal the nmserver that it should
- check for new interfaces. Note that the kill command does not kill the
- nmserver. Rather, it sends the "USR2" signal to the nmserver.)
-
- #!/bin/sh
- # Let the nmserver know the fruits of our network configuration endeavor.
- pid=`ps cax | egrep nmserver | awk '{print $1;}'`
- if [ -n "$pid" ]; then
- echo "Reinitializing nmserver's network portion"
- /bin/kill -USR2 $pid
- fi
-
- Note 1: You have to executed the lines under "sh". I suggest you
- save them in a file and type "/bin/sh file".
-
- Note 2: I haven't actually tried this (I don't have another NeXT to
- test it on), but I figured out out reading the rc scripts. Please let
- me know the result if you try it.
-
- --Glenn
-
-