LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-06-2005, 04:59 PM   #1
phyrko
Member
 
Registered: Jul 2004
Location: Glasgow, UK
Distribution: Ubuntu 6.10, FC5
Posts: 40

Rep: Reputation: 15
eth0 status idle - aMule to blame?


Hi,

I am running FC3 and recently aMule just died on me. One day I ran out of disk space while it was running and it crashed (as you would probably expect). After this the client would load up and then shut down almost instantly.

Around the same time my internet connection died. I am reluctant to say "At the same time my internet connection died" but I am pretty sure it died after the next reboot. It is a LAN/broadband connection and works fine on my win2k box. I have disabled DNS server on the router - both PCs have fixed IP.

The Network Properties tool shows both "eth0" and "lo" interfaces as idle with eth0 having sent and received no packets, lo having received and sent 4.7MB of packets (immediately after startup).

#rehat-config-network

does not list any devices to activate/deactivate.

#ifconfig

output looks normal except that for eth0 TX sent = 0 and RX sent = 0. Entry for lo has something like inet6address ::1/128 and RX/TX bytes 4.7MiB again.

#ping 192.168.1.1 (router)

output is "Destination Host Unreachable"

Can anybody help me with where I should look next to find the problem?

Thanks
 
Old 03-07-2005, 04:10 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,298

Rep: Reputation: 123Reputation: 123
I would start with your eth0 - does it actually have an IP?
Try setting it manually:
#ifconfig eth0 192.168.1.3 (or whatever IP you have)
Then check routing-table ('route' or 'netstat -r')
Post the output, as well as output of 'ifconfig'
 
Old 03-08-2005, 07:29 PM   #3
phyrko
Member
 
Registered: Jul 2004
Location: Glasgow, UK
Distribution: Ubuntu 6.10, FC5
Posts: 40

Original Poster
Rep: Reputation: 15
Pingu,

Here is the output. Netstat takes quite a while to finish printing out. Fedora appears to recognise the device and offers configuration options today(?!), through redhat-config-network.
Code:
#ifconfig eth0 192.168.1.137
#netstat -r

Destination   Gateway       Genmask         Flags      Metric     Ref    Use  Iface
192.168.1.0       *         255.255.255.0       U          0       0      0   eth0
169.254.0.0       *         255.255.0.0         U          0       0      0   eth0
default       192.168.1.1    0.0.0.0            UG         0       0      0   eth0

#ifconfig

eth0
Link encap:Ethernet  HWaddress: 00:E0:4C:E7:98:6E
inet addr: 192.168.1.137 Bcast: 192.168.1.255 Mask: 255.255.255.0
inet6 addr: fe80:2e0:4eff:fee7:986e/64 Scope:Link
UP BROADCAST RUNNING MULITCAST MTU:1500 Metric:1
RX Packets:0 errors:0 dropped:0 overruns:0 frame:0
TX Packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes: 0 (0.0b) TX bytes: 0 (0.0b)
Interrupt:11 Base address:0xc000

lo
Link encap:Local Loopback inet addr:127.0.0.1 Mask: 255.255.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX Packets:4026 errors:0 dropped:0 overruns:0 frame:0
TX Packets:4026 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes: 4981352 (4.7MiB) TX bytes: 4981352 (4.7MiB)
 
Old 03-08-2005, 08:04 PM   #4
phyrko
Member
 
Registered: Jul 2004
Location: Glasgow, UK
Distribution: Ubuntu 6.10, FC5
Posts: 40

Original Poster
Rep: Reputation: 15
Immediately after reporting the output to this forum, I tried again:

Code:
#netstat -r

Destination   Gateway       Genmask       Flags  MSS  Window   irtt   Iface
192.168.1.0     *         255.255.255.0     U     0     0        0     eth0
Different table, less entries in it.
 
Old 03-09-2005, 02:20 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,298

Rep: Reputation: 123Reputation: 123
So for some reason the defaul gateway is lost in routing-table.
Without a defalt gateway you'll get nowhere outside internal network (192.168.1.0).
One solution might be to add default gateway with a script, but then there is a risk it just hides the real problem - there must be a reason for dropping default gateway?
My guess is: reinstall first aMule, if it doesn't help reinstall routed too. (I know reinstalling seldom is the very best solution, but I have no other ideas.)
 
  


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
eth0: Transmit timed out, status ffffffff, CSR12 ffffffff papitu76 Linux - Hardware 0 03-24-2005 06:51 AM
Plug status of eth0 undetected saurabhnasa Linux - Networking 1 06-11-2004 08:06 PM
Plug status undetected for eth0 saurabhnasa Linux - Networking 0 06-10-2004 01:24 AM
eth0: tx interrupt but no status G-Fox Linux - Networking 3 11-22-2003 10:04 AM
Redhat 8 and eth0 (NIC) status nathanv117 Linux - Newbie 8 01-02-2003 09:19 PM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration