home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / sys5 / r4 / 1149 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.7 KB

  1. Xref: sparky comp.unix.sys5.r4:1149 comp.unix.questions:15255 comp.unix.sysv386:17685
  2. Newsgroups: comp.unix.sys5.r4,comp.unix.questions,comp.unix.sysv386
  3. Path: sparky!uunet!gatech!darwin.sura.net!aplcen.apl.jhu.edu!wb3ffv!fallst!tkevans
  4. From: tkevans@fallst (Tim Evans)
  5. Subject: Re: slip netmask ifconfig up
  6. Message-ID: <1993Jan7.112725.17162@fallst>
  7. Reply-To: tkevans@eplrx7.es.dupont.com
  8. Organization: Tim Evans
  9. References: <C0Fy74.4Gn@news.rn.com>
  10. Date: Thu, 7 Jan 1993 11:27:25 GMT
  11. Lines: 31
  12.  
  13. larry@news.rn.com (Larry Snyder) writes:
  14.  
  15. >I'm running SVR4 release 4.0
  16.  
  17. >and slip (as sl0)
  18.  
  19. >where is the "ifconfig sl0 .... up" statement located in my
  20. >configuration files?  I had to manually add it to /etc/inet/rc.inet
  21. >using netmask in order to use the route add default .... statement --
  22. >but the default OS came with the ifconfig "sl0" up and I can't find where that
  23. >comes from --
  24.  
  25. Dell's 'slattach' process does the ifconfig at the time the link comes
  26. up.  If your SLIP link is DELL <-> DELL, it all happens automatically
  27. when the link is brought up.  If, however, your link is DELL ->
  28. something else, you need to manually ifconfig the interface; I use
  29. a little script (the "NNN" IP addresss is the local system and the
  30. "RRR" is the remote):
  31.  
  32. #!/bin/sh
  33. ifconfig sl0 NNN.NNN.NNN.N RRR.RRR.RRR.R netmask 255.255.255.0 up
  34. route add default remotehost 1
  35.  
  36. Finally, if your link is brought up by the remote dialing into your
  37. local, Dell's slattach is automatically run after login and the
  38. interface is ifconfiged, too, even if the remote is not a Dell
  39. system.
  40. -- 
  41. UUCP:        {rutgers|ames|uunet}!mimsy!wb3ffv!fallst!tkevans
  42. INTERNET:    tkevans%fallst@wb3ffv.ampr.org
  43. Tim Evans    2201 Brookhaven Ct, Fallston, MD 21047
  44.