Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

eth1 won't start

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


rmason at mun

Nov 27, 2009, 10:34 AM

Post #1 of 6 (269 views)
Permalink
eth1 won't start

Hello all,

I have a machine[1] into which I installed a second NIC. It is identified
by lspci as:

00:0a.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX
(rev 10)

The driver, 8139too, is compiled as a module and loaded by udev. After
booting, lsmod says:

8139too 18304 0

I have net.eth1 symlinked to net.lo in /etc/init.d/ and /etc/conf.d/net
is empty. When I try to start interface:

# /etc/init.d/net.eth1 start
* Starting eth1
* Configuration not set for eth1 - assuming DHCP
* Bringing up eth1
* dhcp
* network interface eth1 does not exist
* Please verify hardware or kernel module (driver)

I'd appreciate any help.

Thanks,
Roger
Linux lowalbite 2.6.26-gentoo-r3 #6 Fri Nov 27 14:01:52 NST 2009 i686 Pentium II (Deschutes) GenuineIntel GNU/Linux


johnlowry at gmail

Nov 27, 2009, 12:46 PM

Post #2 of 6 (252 views)
Permalink
Re: eth1 won't start [In reply to]

What is the contents of your /etc/udev/rules.d/70-persistent-net.rules
file contain? Also, what about ifconfig -a?

Roger Mason wrote:
> Hello all,
>
> I have a machine[1] into which I installed a second NIC. It is identified
> by lspci as:
>
> 00:0a.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX
> (rev 10)
>
> The driver, 8139too, is compiled as a module and loaded by udev. After
> booting, lsmod says:
>
> 8139too 18304 0
>
> I have net.eth1 symlinked to net.lo in /etc/init.d/ and /etc/conf.d/net
> is empty. When I try to start interface:
>
> # /etc/init.d/net.eth1 start
> * Starting eth1
> * Configuration not set for eth1 - assuming DHCP
> * Bringing up eth1
> * dhcp
> * network interface eth1 does not exist
> * Please verify hardware or kernel module (driver)
>
> I'd appreciate any help.
>
> Thanks,
> Roger
> Linux lowalbite 2.6.26-gentoo-r3 #6 Fri Nov 27 14:01:52 NST 2009 i686 Pentium II (Deschutes) GenuineIntel GNU/Linux
>


w41ter at gmail

Nov 27, 2009, 2:20 PM

Post #3 of 6 (263 views)
Permalink
Re: eth1 won't start [In reply to]

On 11/27/2009 10:34 AM, Roger Mason wrote:
> Hello all,
>
> I have a machine[1] into which I installed a second NIC. It is identified
> by lspci as:
>
> 00:0a.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX
> (rev 10)
>
> The driver, 8139too, is compiled as a module and loaded by udev. After
> booting, lsmod says:
>
> 8139too 18304 0
>
> I have net.eth1 symlinked to net.lo in /etc/init.d/ and /etc/conf.d/net
> is empty. When I try to start interface:
>
> # /etc/init.d/net.eth1 start
> * Starting eth1
> * Configuration not set for eth1 - assuming DHCP
> * Bringing up eth1
> * dhcp
> * network interface eth1 does not exist
> * Please verify hardware or kernel module (driver)

May or may not help, but worth a try: delete the file
/etc/udev/rules.d/70-persistent-net.rules
and reboot.


rmason at mun

Nov 28, 2009, 9:36 AM

Post #4 of 6 (242 views)
Permalink
Re: eth1 won't start [In reply to]

Hello John & Walt,

Thanks for the responses. Here is the information you asked for.

John Lowry <johnlowry [at] gmail> writes:

> What is the contents of your /etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
NAME="eth0"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:c5:13",
NAME="eth1"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
NAME="eth2"

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:04:75:8f:8f:b4",
NAME="eth3"

> file contain? Also, what about ifconfig -a?

eth0 Link encap:Ethernet HWaddr 00:01:03:C5:2A:7B
inet addr:134.153.37.83 Bcast:134.153.37.255
Mask:255.255.254.0
inet6 addr: fe80::201:3ff:fec5:2a7b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:407960 errors:0 dropped:0 overruns:1 frame:0
TX packets:105016 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70312188 (67.0 Mb) TX bytes:22034895 (21.0 Mb)
Interrupt:11 Base address:0x2000

eth2 Link encap:Ethernet HWaddr 00:10:B5:E0:CC:C8
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:10 Base address:0x4000

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:79 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5980 (5.8 Kb) TX bytes:5980 (5.8 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)


Best wishes,
Roger


johnlowry at gmail

Nov 28, 2009, 10:27 AM

Post #5 of 6 (243 views)
Permalink
Re: eth1 won't start [In reply to]

Roger Mason wrote:
> Hello John & Walt,
>
> Thanks for the responses. Here is the information you asked for.
>
> John Lowry <johnlowry [at] gmail> writes:
>
>> What is the contents of your /etc/udev/rules.d/70-persistent-net.rules
>
> # PCI device 0x10b7:0x9200 (3c59x)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
> NAME="eth0"
>
> # PCI device 0x1113:0x1211 (8139too)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:c5:13",
> NAME="eth1"
>
> # PCI device 0x1113:0x1211 (8139too)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
> NAME="eth2"
>
> # PCI device 0x10b7:0x9200 (3c59x)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:04:75:8f:8f:b4",
> NAME="eth3"
>

>> file contain? Also, what about ifconfig -a?
>
> eth0 Link encap:Ethernet HWaddr 00:01:03:C5:2A:7B
> inet addr:134.153.37.83 Bcast:134.153.37.255
> Mask:255.255.254.0
> inet6 addr: fe80::201:3ff:fec5:2a7b/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:407960 errors:0 dropped:0 overruns:1 frame:0
> TX packets:105016 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:70312188 (67.0 Mb) TX bytes:22034895 (21.0 Mb)
> Interrupt:11 Base address:0x2000
>
> eth2 Link encap:Ethernet HWaddr 00:10:B5:E0:CC:C8
> 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:10 Base address:0x4000
>
> 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:79 errors:0 dropped:0 overruns:0 frame:0
> TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:5980 (5.8 Kb) TX bytes:5980 (5.8 Kb)
>
> sit0 Link encap:IPv6-in-IPv4
> NOARP MTU:1480 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)
>
Based on the above it looks like you have had or still have four NICs
installed? If you have only the two cards installed you can delete
everything except for the first entry and the one referencing the card
currently in the machine and change name to "eth1." So:

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
NAME="eth0"

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
NAME="eth1"


rmason at mun

Nov 28, 2009, 2:03 PM

Post #6 of 6 (241 views)
Permalink
Re: eth1 won't start [solved] [In reply to]

Hello John,

John Lowry <johnlowry [at] gmail> writes:

> If you have only the two cards installed you can delete
> everything except for the first entry and the one referencing the card
> currently in the machine and change name to "eth1." So:
>
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
> NAME="eth0"
>
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
> NAME="eth1"

Yes, that fixed it.

Many thanks,
Roger

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.