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