Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!uunet!usc!howland.reston.ans.net!nntp.crl.com!decwrl!pa.dec.com!nntpd.lkg.dec.com!oils!jenkinsj From: jenkinsj@oils.ozy.dec.com (Jon Jenkins) Newsgroups: comp.os.386bsd.questions Subject: Re: Help with SLIP Date: 13 Mar 1995 21:04:00 GMT Organization: Digital Equipment Corporation Lines: 99 Message-ID: <3k2c00$p6l@nntpd.lkg.dec.com> References: <3isgai$rhv@nntpd.lkg.dec.com> <3jn3qr$ij2@bonnie.tcd-dresden.de> NNTP-Posting-Host: oils.ozy.dec.com X-Newsreader: TIN [version 1.2 PL2(HT3)] J Wunsch (j@narcisa.sax.de) wrote: : Jon Jenkins <jenkinsj@flotsm.ozy.dec.com> wrote: : >1: slattch -c -h -s 57600 /dev/tty01 : >2: ifconfig sl1 inet wally mtu 1500 up : ifconfig sl1 inet wally remotesite [netmask 0xblahblah] : ^^^^^^^^^^ : this is important : (just curious, why don'tya use sl0?) This was in fact the problem. slattach does not use sl-0 and sl-1 it uses sl-1 and sl-2!!! so I was getting confused as to which sl0/1 unit to use for routing and ifnet numbering. After I realised this everything worked just fine !! Just out of interest I have the following settings which work perfectly for all internet services attempted including ftp, rlogin, telnet, netscape, mail, tracerout, ping etc: ------------------------------------------ start.slip script: route -q flush ifconfig sl0 delete ifconfig sl1 delete slattach -a -s 57600 -h /dev/ttyd1 ifconfig sl0 inet wally_20$1 mtu 256 compress up route add default wally_20$1 netstat -r netstat -i ifconfig sl0 ------------------------------------------ netstat -i produces: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lp0* 1500 <Link> 0 0 0 0 0 lo0 65532 <Link> 0 0 0 0 0 lo0 65532 loop localhost 0 0 0 0 0 ppp0* 1500 <Link> 0 0 0 0 0 ppp1* 1500 <Link> 0 0 0 0 0 sl0 256 <Link> 2251 0 3183 0 0 sl0 256 16 wally_203 2251 0 3183 0 0 sl1* 552 <Link> 0 0 0 0 0 wally%/root# ------------------------------------------ and netstat -r produces: Routing tables Internet: Destination Gateway Flags Refs Use Interface default wally_203 UGS 2 3251 sl0 localhost localhost UH 0 0 lo0 wally%/root# ------------------------------------------ and ifconfig sl0 produces: sl0: flags=d011<UP,POINTOPOINT,LINK0,LINK2,MULTICAST> mtu 256 inet 16.153.192.203 --> 0.0.0.0 netmask 0xff000000 wally%/root# ------------------------------------------ stop.slip script is: kill `ps ax | grep "[0-9] slattach " | awk '{print $1}'` route -q flush ifconfig sl0 delete ------------------------------------------ Hope this helps others. : -- : cheers, J"org private: joerg_wunsch@uriah.heep.sax.de : http://www.sax.de/~joerg/ : Never trust an operating system you don't have sources for. ;-) -- ---------------------------------------------------------------------- Name: Dr Jon Jenkins Location: Digital Equipment Corp, NaC, Burnett Place, Research Park, Bond University, Gold Coast QLD, AUSTRALIA 4229 Phone: 61-75-75-0151 Fax: 61-75-75-0100 Internet: jenkinsj@ozy.dec.com Close Proximity: "HEY YOU !!!" The opinions expressed above are entirely personal and do not reflect the corporate policy of DEC or the opinions of DEC management. -----------------------------------------------------------------------