FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-27-2009, 07:46 PM
John Lowry
 
Default eth1 won't start

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
 
Old 11-27-2009, 07:56 PM
walt
 
Default eth1 won't start

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.
 
Old 11-28-2009, 04:36 PM
Roger Mason
 
Default eth1 won't start

Hello John & Walt,

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

John Lowry <johnlowry@gmail.com> 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
 
Old 11-28-2009, 05:27 PM
John Lowry
 
Default eth1 won't start

Roger Mason wrote:

Hello John & Walt,

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

John Lowry <johnlowry@gmail.com> 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"
 

Thread Tools




All times are GMT. The time now is 07:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org