LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2004, 10:45 AM   #1
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Rep: Reputation: 15
network doesnt recover after unpluged


I have debian woody on a server behind a cabinet under a desk without a monitor or keyboard attached. When its network cable is unplugged or hub is turned of etc, it does not recover after plugging it back in (the lights dont come on). As you can imagine this causes a bit of grief, short of just pulling the power plug out and back again as a means of rebooting.

~$ /etc/init.d/networking restart ..... doest work (I dont know if its meant to fix this?)

I rebooted (with monitor and keyboard) to get network lights back on

~$ less /proc/pci
Code:
  Bus  0, device  17, function  0:
    Ethernet controller: 3Com Corporation 3c900 Combo [Boomerang] (rev 0).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=3.Max Lat=8.
      I/O at 0x1040 [0x107f].
~$ ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:10:5A:49:5E:19
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1809 errors:0 dropped:0 overruns:0 carrier:0
          collisions:26 txqueuelen:100
          RX bytes:343633 (335.5 KiB)  TX bytes:288318 (281.5 KiB)
          Interrupt:10 Base address:0x1040
Can anybody point me in the right direction?
 
Old 11-05-2004, 03:06 PM   #2
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Post the output of the following commands BEFORE unplugging the network (when it is still working):
Code:
route -n
ping -c 3 64.179.4.149
Unplug the cable.
Post the output of these commands
Code:
route -n
tail -20 /var/log/messages
tail -20 /var/log/boot.log
ping -c 3 64.179.4.149
Plug the cable back in. Post the output of
Code:
ifdown eth0
ifup eth0
tail -20 /var/log/messages
tail -20 /var/log/boot.log
route -n
ping -c 3 64.179.4.149
We'll go from there, and maybe I, or someone else, can help.

-Gabriele
 
Old 11-06-2004, 07:26 AM   #3
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 15
/var/log/messages is full of this after unplugging
Code:
Nov  5 08:15:48 gateway500 kernel: NETDEV WATCHDOG: eth0: transmit timed out
Nov  5 08:26:13 gateway500 kernel: NETDEV WATCHDOG: eth0: transmit timed out
Nov  5 08:35:18 gateway500 kernel: NETDEV WATCHDOG: eth0: transmit timed out
Nov  5 08:37:33 gateway500 kernel: NETDEV WATCHDOG: eth0: transmit timed out
route -n stays the same
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.253   0.0.0.0         UG    0      0        0 eth0
I also get this every minute in syslog
Code:
Nov  5 13:38:38 gateway500 kernel: NETDEV WATCHDOG: eth0: transmit timed out
Nov  5 13:38:38 gateway500 kernel: eth0: transmit timed out, tx_status 00 status e000.
Nov  5 13:38:38 gateway500 kernel:   diagnostics: net 0ec0 media 4810 dma 00000021.
Nov  5 13:38:38 gateway500 kernel:   Flags; bus-master 1, dirty 3705072(0) current 3705088(0)
Nov  5 13:38:38 gateway500 kernel:   Transmit list 12401200 vs. d2401200.
Nov  5 13:38:38 gateway500 kernel:   0: @d2401200  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   1: @d2401240  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   2: @d2401280  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   3: @d24012c0  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   4: @d2401300  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   5: @d2401340  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   6: @d2401380  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   7: @d24013c0  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   8: @d2401400  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   9: @d2401440  length 800000ae status 000000ae
Nov  5 13:38:38 gateway500 kernel:   10: @d2401480  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   11: @d24014c0  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   12: @d2401500  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   13: @d2401540  length 8000002a status 0000002a
Nov  5 13:38:38 gateway500 kernel:   14: @d2401580  length 8000002a status 8000002a
Nov  5 13:38:38 gateway500 kernel:   15: @d24015c0  length 8000002a status 8000002a
Nov  5 13:38:38 gateway500 kernel: eth0: Resetting the Tx ring pointer.


I didnt pull the network cable, sorry this isnt what you asked, i'll get more time later.

Last edited by Wordan; 11-06-2004 at 07:27 AM.
 
Old 11-07-2004, 01:04 PM   #4
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 15
bump
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network card doesnt work after i turn it off and on slinky2004 Slackware 5 09-24-2005 10:59 PM
To recover / install Network Browsing Icon on desktop 1kyle SUSE / openSUSE 0 09-16-2005 12:00 PM
USB mouse issue: need to reboot once unpluged boltmelots Linux - Software 1 03-06-2005 06:31 AM
Help! Network doesnt work on boot (Woody) OneManArmy Debian 5 04-12-2004 09:31 PM
network doesnt work on startup OneManArmy Linux - Networking 1 04-10-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration