Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 23:26:02 -0700 (PDT)
From:      Annelise Anderson <andrsn@leland.Stanford.EDU>
To:        freebsd-questions@freebsd.org
Subject:   Network Connection Not Working
Message-ID:  <Pine.GSO.3.96.970929231230.3884A-100000@elaine24.Stanford.EDU>

next in thread | raw e-mail | index | archive | help
Some time after I left the office today my computer lost its ability
to talk to the outside world--I can dial in to it but can't ping
anything, I'm not getting mail, can't telnet, etc.  (So this is
being written from a different e-mail account.) 

I tried quite a few things--reinstating resolv.conf although I'd
moved it when I set up the cache only nameserver (with forwarders);
rebooting; killing routed -s and later restarting it. Everthing seems
to be running--httpd, sendmail, named, etc.  So here is some output--
my current guess is that wire that goes from the Ethernet card 
connector (10-Base-2) is broken--does this look consistent with that?
And if so, do I just cut it and reattach it?

Thanks for your help....

	Annelise

Relevant parts of /var/log/messages (I rebooted) look like this:

Sep 29 20:03:49 andrsn /kernel: 1 3C5x9 board(s) on ISA found at 0x300
Sep 29 20:03:49 andrsn /kernel: ep0 at 0x300-0x30f irq 10 on isa
Sep 29 20:03:49 andrsn /kernel: ep0: aui/utp/bnc[*BNC*] address 00:20:af:be:eb:e0
Sep 29 20:03:50 andrsn named[92]: starting.  named 4.9.6-REL Fri Sep  5 16:37:03 PDT 1997       andrsn@andrsn.stanford.edu:/usr/obj/usr/src/usr.sbin/named
Sep 29 20:03:50 andrsn named[93]: Ready to answer queries. 
Sep 29 20:04:04 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host
Sep 29 20:04:20 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host
Sep 29 20:07:41 andrsn routed[67]: ignore RTM_ADD without gateway
Sep 29 20:12:57 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host
Sep 29 20:16:07 andrsn routed[67]: interface ep0 to 36.33.0.163 broken: in=0 ierr=0 out=3 oerr=3
Sep 29 20:16:27 andrsn routed[67]: interface ep0 to 36.33.0.163 restored
Sep 29 20:16:46 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host
Sep 29 20:17:03 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host
Sep 29 20:19:26 andrsn routed[67]: interface ep0 to 36.33.0.163 broken: in=0 ierr=0 out=1 oerr=1
Sep 29 20:19:41 andrsn routed[67]: interface ep0 to 36.33.0.163 restored
Sep 29 20:38:28 andrsn routed[67]: sendto(ep0, 224.0.0.1): No route to host

The network before looked like this:

>From root@andrsn.stanford.edu Mon Sep 29 22:18:41 1997
Date: Mon, 29 Sep 1997 02:00:01 -0700 (PDT)
From: "A. Anderson" <root@andrsn.stanford.edu>
Subject: andrsn daily run output

network:
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
lp0*  1500  <Link>                               0     0        0     0     0
ep0   1500  <Link>      00.20.af.be.eb.e0  4675592   812   523700     1     0
ep0   1500  36.33/16      andrsn           4675592   812   523700     1     0
tun0* 1500  <Link>                             210     0      167     0     0
sl0*  552   <Link>                               0     0        0     0     0
sl1*  552   <Link>                               0     0        0     0     0
ppp0* 1500  <Link>                             540    15      481     0     0
lo0   16384 <Link>                          193928     0   193928     0     0
lo0   16384 your-net      localhost         193928     0   193928     0     0

It looks similar now (netstat -in)--but lots of collisions and errors.

Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
lp0*  1500  <Link>                               0     0        0     0     0
ep0   1500  <Link>      00.20.af.be.eb.e0      282     0     1126   836   836
ep0   1500  36.33/16      36.33.0.163          282     0     1126   836   836
tun0* 1500  <Link>                               0     0        0     0     0
sl0*  552   <Link>                               0     0        0     0     0
sl1*  552   <Link>                               0     0        0     0     0
ppp0* 1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                             203     0      203     0     0
lo0   16384 127           127.0.0.1            203     0      203     0     0


Routing tables (when it was working)

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            36.33.0.1          UGSc       13       28       ep0
36.33/16           link#2             UCc         0        0 
36.33.0.1          link#2             UHLW       13        0 
36.33.0.157/32     0:20:af:be:eb:e0   ULS2c       0        0       ep0
36.33.0.163        0:20:af:be:eb:e0   UHLW        0      148       lo0
127.0.0.1          127.0.0.1          UH          0       55       lo0

Routing tables after it quit working are identical except for a fer numbers:

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            36.33.0.1          UGSc       14       38       ep0
36.33/16           link#2             UCc         0        0 
36.33.0.1          link#2             UHLW       13        0 
36.33.0.157/32     0:20:af:be:eb:e0   ULS2c       0        0       ep0
36.33.0.163        0:20:af:be:eb:e0   UHLW        1      161       lo0
127.0.0.1          127.0.0.1          UH          1       93       lo0
 

19 10:37pm ~ # ifconfig -au

ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 36.33.0.163 netmask 0xffff0000 broadcast 36.33.255.255
        ether 00:20:af:be:eb:e0 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

The right stuff seems to be up--
I'm not sure if netstat -a contains useful information or not:
 
20 10:37pm ~ # netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  *.http                 *.*                    LISTEN
tcp        0      0  *.55556                *.*                    LISTEN
tcp        0      0  *.5556                 *.*                    LISTEN
tcp        0      0  *.smtp                 *.*                    LISTEN
tcp        0      0  *.pop3                 *.*                    LISTEN
tcp        0      0  *.rkinit               *.*                    LISTEN
tcp        0      0  *.printer              *.*                    LISTEN
tcp        0      0  *.kshell               *.*                    LISTEN
tcp        0      0  *.eklogin              *.*                    LISTEN
tcp        0      0  *.klogin               *.*                    LISTEN
tcp        0      0  *.time                 *.*                    LISTEN
tcp        0      0  *.daytime              *.*                    LISTEN
tcp        0      0  *.chargen              *.*                    LISTEN
tcp        0      0  *.discard              *.*                    LISTEN
tcp        0      0  *.echo                 *.*                    LISTEN
tcp        0      0  *.ident                *.*                    LISTEN
tcp        0      0  *.finger               *.*                    LISTEN
tcp        0      0  *.uucp                 *.*                    LISTEN
tcp        0      0  *.login                *.*                    LISTEN
tcp        0      0  *.cmd                  *.*                    LISTEN
tcp        0      0  *.telnet               *.*                    LISTEN
tcp        0      0  *.ftp                  *.*                    LISTEN
tcp        0      0  *.sunrpc               *.*                    LISTEN
tcp        0      0  *.domain               *.*                    LISTEN
udp        0      0  andrsn.1288            andrsn.domain         
udp        0      0  *.router               *.*                   
udp        0      0  *.55555                *.*                   
udp        0      0  *.rplay                *.*                   
udp        0      0  *.discard              *.*                   
udp        0      0  *.ntalk                *.*                   
udp        0      0  *.biff                 *.*                   
udp        0      0  *.sunrpc               *.*                   
udp        0      0  *.domain               *.*                   
udp        0      0  localhost.domain       *.*                   
udp        0      0  andrsn.domain          *.*                   
udp        0      0  *.syslog               *.*                   
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
f07aa200 dgram       0      0        0 f04ebb14        0 f04eb694
f07add00 dgram       0      0        0 f04ebb14        0 f04eb814
f07a6a00 stream      0      0 f07a7d80        0        0        0 /var/run/printer
f07a4500 dgram       0      0        0 f04ebb14        0 f04eb994
f07a2e00 dgram       0      0        0 f04ebb14        0 f04eba14
f0795d00 dgram       0      0        0 f04ebb14        0        0
f078f000 dgram       0      0 f0790680        0 f04eb914        0 /var/run/log

--








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970929231230.3884A-100000>