You are not logged in.

#1 2010-02-14 18:18:42

Sia
Member
Registered: 2010-01-17
Posts: 29
Website

eth1 or eth0 and caching network DAEMON

hi,
i have problem  or issue with network daemon :
DAEMON LOG

Feb 14 18:25:18 myLinux dhcpcd: received SIGTERM, stopping
Feb 14 18:25:18 myLinux dhcpcd: eth0: removing interface
Feb 14 18:25:57 myLinux dhcpcd: version 5.1.5 starting
Feb 14 18:25:57 myLinux dhcpcd: eth0: waiting for carrier
Feb 14 18:25:56 myLinux init: Entering runlevel: 3
Feb 14 18:26:27 myLinux dhcpcd: timed out
Feb 14 18:28:04 myLinux dhcpcd: version 5.1.5 starting
Feb 14 18:28:04 myLinux dhcpcd: eth0: waiting for carrier
Feb 14 18:28:34 myLinux dhcpcd: timed out
Feb 14 18:29:38 myLinux dhcpcd: version 5.1.5 starting
Feb 14 18:29:38 myLinux dhcpcd: eth0: waiting for carrier
Feb 14 18:30:08 myLinux dhcpcd: timed out
Feb 14 18:31:31 myLinux dhcpcd: version 5.1.5 starting
Feb 14 18:31:31 myLinux dhcpcd: eth1: rebinding lease of 192.168.1.34
Feb 14 18:31:31 myLinux dhcpcd: eth1: NAK: (null) from 192.168.1.1 `Fullrate'
Feb 14 18:31:32 myLinux dhcpcd: eth1: broadcasting for a lease

I've LAN card one onboard:

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

is wired connected, after every reboot, i have to change the internet interface /etc/rc.conf/ from eth0>eth1 or from eth1>eth0 and start the network /etc/rc.d/network start for few time then worked. I've changed the hal entry or network in daemon line , but is still them same. really i want to understand this issue no google post or archforum ..etc couldn't fix my issue.

Best regards

Offline

#2 2010-02-15 02:04:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,676

Re: eth1 or eth0 and caching network DAEMON

I'm thinking your system thinks it has more than 1 NIC.  Could you post the output of 'ifconfig -a'  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2010-02-16 01:04:27

Sia
Member
Registered: 2010-01-17
Posts: 29
Website

Re: eth1 or eth0 and caching network DAEMON

ewaller wrote:

I'm thinking your system thinks it has more than 1 NIC.  Could you post the output of 'ifconfig -a'  ?

is 2 LAN card but the other one is dead, i've never used

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:24:8C:EA:0F:8D  
          inet addr:192.168.1.35  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:8cff:feea:f8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6039 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8678200 (8.2 Mb)  TX bytes:699046 (682.6 Kb)
          Interrupt:26 

eth1      Link encap:Ethernet  HWaddr 00:30:F1:36:4E:E0  
          BROADCAST MULTICAST  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.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0xec00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Last edited by Sia (2010-02-16 01:26:10)

Offline

#4 2010-02-16 07:02:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,676

Re: eth1 or eth0 and caching network DAEMON

Try this.

Create or edit /etc/udev/rules.d/10-network.rules as follows:

SUBSYSTEM=="net", ATTRS{address}=="00:24:8c:ea:0f:8d", NAME="eth0"
SUBSYSTEM=="net", ATTRS{address}=="00:30:f1:36:4e:e0", NAME="eth1"

This tells udev to assign network names in a non-ambiguous manner.  Check my work -- the addresses are supposed to be the MAC addresses provided in your ifconfig output

edit: fixed one upper case to lower case conversion

Last edited by ewaller (2010-02-16 07:09:45)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2010-02-16 09:58:36

Sia
Member
Registered: 2010-01-17
Posts: 29
Website

Re: eth1 or eth0 and caching network DAEMON

Thank you for this info,
I've removed the second *LAN card, now worked fine.

Offline

Board footer

Powered by FluxBB