LinHES Forums http://forums.linhes.org/ |
|
On board ethernet fails after 6 - 48 hours http://forums.linhes.org/viewtopic.php?f=2&t=16521 |
Page 1 of 1 |
Author: | tjimenez87 [ Fri Sep 14, 2007 9:09 pm ] |
Post subject: | On board ethernet fails after 6 - 48 hours |
My on board ethernet seems to be failing after 6 to 48 hours after I boot. It works fine at first, but it will fail for a reason I have not determined. When it fails, then trying to ping my router gives a destination host unreachable. Looking through my logs I found this: Code: Sep 14 00:27:44 mythtv dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Sep 14 00:27:47 mythtv dhclient: DHCPACK from 192.168.1.1 Sep 14 00:27:47 mythtv dhclient: bound to 192.168.1.6 -- renewal in 36775 seconds. Sep 14 10:40:42 mythtv dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67 Sep 14 10:40:45 mythtv dhclient: DHCPACK from 192.168.1.1 Sep 14 10:40:45 mythtv dhclient: bound to 192.168.1.6 -- renewal in 36680 seconds. Sep 14 20:52:05 mythtv dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67 Sep 14 20:52:07 mythtv dhclient: DHCPACK from 192.168.1.1 Sep 14 20:52:07 mythtv dhclient: bound to 192.168.1.6 -- renewal in 42158 seconds. Sep 14 22:49:36 mythtv dhclient: There is already a pid file /var/run/dhclient.pid with pid 3222 Sep 14 22:49:36 mythtv dhclient: removed stale PID file Sep 14 22:49:36 mythtv dhclient: Internet Systems Consortium DHCP Client V3.0.4 Sep 14 22:49:36 mythtv dhclient: Copyright 2004-2006 Internet Systems Consortium. Sep 14 22:49:36 mythtv dhclient: All rights reserved. Sep 14 22:49:36 mythtv dhclient: For info, please visit http://www.isc.org/sw/dhcp/ Sep 14 22:49:36 mythtv dhclient: Sep 14 22:49:37 mythtv dhclient: Listening on LPF/eth0/00:e0:4d:2f:e9:8a Sep 14 22:49:37 mythtv dhclient: Sending on LPF/eth0/00:e0:4d:2f:e9:8a Sep 14 22:49:37 mythtv dhclient: Sending on Socket/fallback Sep 14 22:49:40 mythtv dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 Sep 14 22:49:46 mythtv ntpd[3204]: sendto(194.171.167.130) (fd=21): Invalid argument Sep 14 22:49:48 mythtv dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 Sep 14 22:49:56 mythtv dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 Sep 14 22:50:13 mythtv ntpd[3204]: sendto(192.75.104.241) (fd=21): Invalid argument At the time of the stale pid file, that's when the connection drops off. Does anyone know the reason for this? |
Author: | tjimenez87 [ Fri Sep 14, 2007 9:11 pm ] |
Post subject: | |
Oh, and my dmesg for eth0 gives: Code: eth0: Identified chip type is 'RTL8168B/8111B'.
eth0: r10001.05, the Linux device driver for Realtek Ethernet Controllers at 0xac00, 00:e0:4d:2f:e9:8a, IRQ 20 eth0: no IPv6 routers present So that looks normal. Any help would be much appreciated. |
Author: | tjimenez87 [ Fri Sep 14, 2007 10:47 pm ] |
Post subject: | |
So my guess is that error in my logs is saying that dhclient has closed or failed somehow, and a new one is starting up, so it has to replace the old PID file. Can anyone tell me how KnoppMyth first launches the dhclient (ie. which file is configured to call it?) I've checked .fluxbox/apps and its not there. |
Author: | tjimenez87 [ Sun Sep 16, 2007 11:38 pm ] |
Post subject: | |
Well, I've found that I can reconnect if I issue this command: Code: /etc/init.d/networking restart
I think I'm going to just put this in a cron job to run every 6-10 hours. |
Author: | tjimenez87 [ Mon Sep 17, 2007 12:56 pm ] |
Post subject: | |
I just checked Realtek's driver versions for onboard NIC's, and it seems that version 1.05 is installed for the RTL8111B/RTL8168B onboard network chips. On their website, it says that 1.07 is the latest version and supports linux kernel 2.4.x. Since KnoppMyth is on kernel 2.6.x, Realtek has driver version 8.003.00 for that kernel version. My hack of restarting my networking may be a stop gap for now, but hopefully this can be updated in future versions of KnoppMyth. When I have time, I can see if I can get the steps to upgrade the drivers, but no promises right now. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |