* Re: [gentoo-user] Can't find eth0? [not found] <7797aa370704040030n6d080c60n1c39911be89c723c@mail.gmail.com> @ 2007-04-04 9:46 ` Benno Schulenberg 2007-04-04 9:56 ` Boyd Stephen Smith Jr. 1 sibling, 0 replies; 7+ messages in thread From: Benno Schulenberg @ 2007-04-04 9:46 UTC (permalink / raw To: gentoo-user Chuanwen Wu wrote: > I have a intel network device but my machine never reconize it. > > My network device is: > > # lspci | grep net > 01:0a.0 Ethernet controller: Intel Corporation 82540EM Gigabit > Ethernet Controller (rev 02) What does 'dmesg | grep -e 01:0a -e eth' report? Have you read /usr/src/linux/Documentation/networking/e1000.txt ? Benno -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't find eth0? [not found] <7797aa370704040030n6d080c60n1c39911be89c723c@mail.gmail.com> 2007-04-04 9:46 ` [gentoo-user] Can't find eth0? Benno Schulenberg @ 2007-04-04 9:56 ` Boyd Stephen Smith Jr. 2007-04-04 12:58 ` Chuanwen Wu 1 sibling, 1 reply; 7+ messages in thread From: Boyd Stephen Smith Jr. @ 2007-04-04 9:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 621 bytes --] On Wednesday 04 April 2007 02:30:32 Chuanwen Wu wrote: > # ifconfig eth0 > eth0: error fetching interface information: Device not found ifconfig -a Maybe it's a different name. You can, of course use custom udev rules to name it however you wish, but features like etherenet over USB and ethernet over firewire can cause your "only" NIC to show up with a different name. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss03@volumehost.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't find eth0? 2007-04-04 9:56 ` Boyd Stephen Smith Jr. @ 2007-04-04 12:58 ` Chuanwen Wu 2007-04-04 13:25 ` [gentoo-user] " Alexander Skwar 0 siblings, 1 reply; 7+ messages in thread From: Chuanwen Wu @ 2007-04-04 12:58 UTC (permalink / raw To: gentoo-user 2007/4/4, Boyd Stephen Smith Jr. <bss03@volumehost.net>: > On Wednesday 04 April 2007 02:30:32 Chuanwen Wu wrote: > > # ifconfig eth0 > > eth0: error fetching interface information: Device not found > > ifconfig -a > Maybe it's a different name. Yes!I got eth3. > You can, of course use custom udev rules to > name > it however you wish, but features like etherenet over USB and ethernet over > firewire can cause your "only" NIC to show up with a different name. How can I rename eth3 to eth0? Or if I use eth3,what do I need to do to fix it? Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to rc-update,when I boot up my machine,new error occur: Bringing up eth3 default No load modules provide "default" (default-start) Error:cannot start netmount as net.eth3.could not start Thank you! > > -- > Boyd Stephen Smith Jr. ,= ,-_-. =. > bss03@volumehost.net ((_/)o o(\_)) > ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' > http://iguanasuicide.org/ \_/ > > -- wcw -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Can't find eth0? 2007-04-04 12:58 ` Chuanwen Wu @ 2007-04-04 13:25 ` Alexander Skwar 2007-04-05 0:59 ` Chuanwen Wu 0 siblings, 1 reply; 7+ messages in thread From: Alexander Skwar @ 2007-04-04 13:25 UTC (permalink / raw To: gentoo-user Chuanwen Wu <wcw8410@gmail.com> wrote: > How can I rename eth3 to eth0? Modify the file /etc/udev/rules.d/70-persistent-net.rules to suit your needs. > Or if I use eth3,what do I need to do to fix it? > Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to > rc-update,when I boot up my machine,new error occur: > > Bringing up eth3 > default > No load modules provide "default" (default-start) I doubt that this is related to the fact that the interface is called "eth3" instead of "eth0". On my machine, I also have no "eth0", just a "tg3". What do you have in /etc/conf.d/net? Alexander Skwar -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Can't find eth0? 2007-04-04 13:25 ` [gentoo-user] " Alexander Skwar @ 2007-04-05 0:59 ` Chuanwen Wu 2007-04-05 11:00 ` Joost Roeleveld 0 siblings, 1 reply; 7+ messages in thread From: Chuanwen Wu @ 2007-04-05 0:59 UTC (permalink / raw To: gentoo-user 2007/4/4, Alexander Skwar <listen@alexander.skwar.name>: > Chuanwen Wu <wcw8410@gmail.com> wrote: > > > How can I rename eth3 to eth0? > > Modify the file /etc/udev/rules.d/70-persistent-net.rules to suit your needs. Yeah,I change eth3 to eth0 and it works!Thank you! > > > Or if I use eth3,what do I need to do to fix it? > > Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to > > rc-update,when I boot up my machine,new error occur: > > > > Bringing up eth3 > > default > > No load modules provide "default" (default-start) > > I doubt that this is related to the fact that the interface > is called "eth3" instead of "eth0". On my machine, I also > have no "eth0", just a "tg3". > > What do you have in /etc/conf.d/net? When I use eth3,my conf.d/net is: config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) config_eth3=( "default gw 192.168.83.254" ) Now every time in gentoo,I use the script to start the eth3: ifconfig eth3 192.168.83.123 broadcast 192.168.83.255 netmask 255.255.255.0 up route add default gw 192.168.83.254 > Alexander Skwar > > -- > gentoo-user@gentoo.org mailing list > > -- wcw -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Can't find eth0? 2007-04-05 0:59 ` Chuanwen Wu @ 2007-04-05 11:00 ` Joost Roeleveld 2007-04-06 13:12 ` Chuanwen Wu 0 siblings, 1 reply; 7+ messages in thread From: Joost Roeleveld @ 2007-04-05 11:00 UTC (permalink / raw To: gentoo-user > 2007/4/4, Alexander Skwar <listen@alexander.skwar.name>: >> Chuanwen Wu <wcw8410@gmail.com> wrote: >> <snip> >> > Or if I use eth3,what do I need to do to fix it? >> > Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to >> > rc-update,when I boot up my machine,new error occur: >> > >> > Bringing up eth3 >> > default >> > No load modules provide "default" (default-start) >> >> I doubt that this is related to the fact that the interface >> is called "eth3" instead of "eth0". On my machine, I also >> have no "eth0", just a "tg3". >> >> What do you have in /etc/conf.d/net? > When I use eth3,my conf.d/net is: > > config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) > config_eth3=( "default gw 192.168.83.254" ) Try changing that to: config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) routes_eth3=( "default gw 192.168.83.254" ) That should solve your problem, for comparison, this is what I have in my /etc/conf.d/net: config_dmz2=( "10.1.4.11 netmask 255.255.255.0 broadcast 10.1.4.255" ) routes_dmz2=( "default gw 10.1.4.1" ) Kind regards, Joost Roeleveld -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Can't find eth0? 2007-04-05 11:00 ` Joost Roeleveld @ 2007-04-06 13:12 ` Chuanwen Wu 0 siblings, 0 replies; 7+ messages in thread From: Chuanwen Wu @ 2007-04-06 13:12 UTC (permalink / raw To: gentoo-user 2007/4/5, Joost Roeleveld <joost@roeleveld.co.uk>: > > 2007/4/4, Alexander Skwar <listen@alexander.skwar.name>: > >> Chuanwen Wu <wcw8410@gmail.com> wrote: > >> > > <snip> > > >> > Or if I use eth3,what do I need to do to fix it? > >> > Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to > >> > rc-update,when I boot up my machine,new error occur: > >> > > >> > Bringing up eth3 > >> > default > >> > No load modules provide "default" (default-start) > >> > >> I doubt that this is related to the fact that the interface > >> is called "eth3" instead of "eth0". On my machine, I also > >> have no "eth0", just a "tg3". > >> > >> What do you have in /etc/conf.d/net? > > When I use eth3,my conf.d/net is: > > > > config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) > > config_eth3=( "default gw 192.168.83.254" ) > > Try changing that to: > config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) > routes_eth3=( "default gw 192.168.83.254" ) Thank you! I think I made a silly mistake! > > That should solve your problem, for comparison, this is what I have in my > /etc/conf.d/net: > config_dmz2=( "10.1.4.11 netmask 255.255.255.0 broadcast 10.1.4.255" ) > routes_dmz2=( "default gw 10.1.4.1" ) > > Kind regards, > > Joost Roeleveld > > -- > gentoo-user@gentoo.org mailing list > > The problem is solved,now. Thank you all! -- wcw -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-04-06 13:17 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <7797aa370704040030n6d080c60n1c39911be89c723c@mail.gmail.com> 2007-04-04 9:46 ` [gentoo-user] Can't find eth0? Benno Schulenberg 2007-04-04 9:56 ` Boyd Stephen Smith Jr. 2007-04-04 12:58 ` Chuanwen Wu 2007-04-04 13:25 ` [gentoo-user] " Alexander Skwar 2007-04-05 0:59 ` Chuanwen Wu 2007-04-05 11:00 ` Joost Roeleveld 2007-04-06 13:12 ` Chuanwen Wu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox