*BSD News Article 43250


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.hawaii.edu!ames!night.primate.wisc.edu!caen!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!flotsm!jenkinsj
From: jenkinsj@flotsm.ozy.dec.com (Jon Jenkins)
Newsgroups: comp.os.386bsd.questions
Subject: Help with SLIP
Date: 27 Feb 1995 12:24:50 GMT
Organization: Digital Equipment Corporation
Lines: 108
Message-ID: <3isgai$rhv@nntpd.lkg.dec.com>
NNTP-Posting-Host: flotsm.ozy.dec.com
X-Newsreader: TIN [version 1.2 PL2(HT3)]

Hi,
	Well the time came to get SLIP
up and running. First I tried winsock 2.0b
and a after a few fiddles got it running nicely.
Then came time to get BSD2.0 up but after several
hours of "network is down" I am not sure
what to try next. Below is the printout
of my netstat and ifconfig attacks and
a few comments. 

As you can see after the ping (8 & 9 below)
the route was used but the netstat -i shows
that no packets made it to the sl1 device
(also no tx led on the modem).
ifconfig shows the interface as up
and enabled (6 below).
tcpdump also confirms the attachment
and the lack of packets at the sl1 
device.

Any help would be appreciated.

Thanks

Jon

------------------------------------------

XX=number

1: slattch -c -h -s 57600 /dev/tty01
2: ifconfig sl1 inet wally mtu 1500 up
3: route add default wally
4: netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          wally              UGS         0       20  sl1
localhost        localhost          UH          0      954  lo0

5: netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs Coll
lp0*  1500  <Link>                             0     0        0     0 0
lo0   65532 <Link>                           970     0      970     0 0
lo0   65532 loop        localhost            970     0      970     0 0
ppp0* 1500  <Link>                             0     0        0     0 0
ppp1* 1500  <Link>                             0     0        0     0 0
sl0*  552   <Link>                             3     0        0     0 0
sl1   1500  <Link>                             0     0        0     0 0
sl1   1500  XX          wally                  0     0        0     0 0

6: ifconfig sl1
sl1: flags=c011<UP,POINTOPOINT,LINK2,MULTICAST> mtu 1500
	inet XX.XXX.XXX.XXX --> 0.0.0.0 netmask 0xff000000


7: ping oils
PING oils (XX.XXX.XXX.X): 56 data bytes
ping: sendto: Network is down
ping: wrote oils 64 chars, ret=-1
ping: sendto: Network is down
ping: wrote oils 64 chars, ret=-1
^C
--- oils ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

8: netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          wally              UGS         0       22  sl1
localhost        localhost          UH          0      994  lo0

9: netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
lp0*  1500  <Link>                             0     0        0     0     0
lo0   65532 <Link>                          1010     0     1010     0     0
lo0   65532 loop        localhost           1010     0     1010     0     0
ppp0* 1500  <Link>                             0     0        0     0     0
ppp1* 1500  <Link>                             0     0        0     0     0
sl0*  552   <Link>                             3     0        0     0     0
sl1   1500  <Link>                             0     0        0     0     0
sl1   1500  XX          wally                  0     0        0     0     0

--------------------------------------------------------------------------






--
----------------------------------------------------------------------
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.
-----------------------------------------------------------------------