You are not logged in.

#1 2009-12-04 15:30:03

fini_fly
Member
From: Georgetown, Ontario
Registered: 2009-11-20
Posts: 71
Website

eth1 and eth0 switch [SOLVED]

When my computer boots up, eth1 and eth0 will randomly switch even after I followed these instructions: http://wiki.archlinux.org/index.php/Ude … _Each_Boot.

It seems to happen like 1 out of 10 times I boot up, so I'm not sure what's going on here. Any thoughts?

Last edited by fini_fly (2009-12-11 14:24:15)


Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel.

Offline

#2 2009-12-04 16:01:12

Square
Member
Registered: 2008-06-11
Posts: 435

Re: eth1 and eth0 switch [SOLVED]

root@localhost$ mv /etc/udev/rules.d/75-persistent-net-generator.rules.optional /etc/udev/rules.d/75-persistent-net-generator.rules && echo "Success!"

Last edited by Square (2009-12-04 16:01:56)


 

Offline

#3 2009-12-04 16:32:25

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: eth1 and eth0 switch [SOLVED]

Ihad the same problem, until I noticed that I had not only lowercase characters, as the wiki says clearly. Sure you followed the instructions to the letter?

Offline

#4 2009-12-04 17:09:28

fini_fly
Member
From: Georgetown, Ontario
Registered: 2009-11-20
Posts: 71
Website

Re: eth1 and eth0 switch [SOLVED]

zenlord wrote:

Ihad the same problem, until I noticed that I had not only lowercase characters, as the wiki says clearly. Sure you followed the instructions to the letter?

Yes, all of the characters are lower case.

Square wrote:

root@localhost$ mv /etc/udev/rules.d/75-persistent-net-generator.rules.optional /etc/udev/rules.d/75-persistent-net-generator.rules && echo "Success!"

Did this, I'll have to report back later to see how this works. Thanks for the help.


Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel.

Offline

#5 2009-12-04 17:12:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: eth1 and eth0 switch [SOLVED]

If those interfaces are two network cards and you only need one, you may simply unplug the other.

Offline

#6 2009-12-04 18:42:07

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: eth1 and eth0 switch [SOLVED]

Probably not, my old laptop's wireless card was named "eth1".

Well, I only created the udev network rules and everything worked fine.

Offline

#7 2009-12-04 19:03:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: eth1 and eth0 switch [SOLVED]

tvale - fyi, eth1 is the second ethernet interface created by the kernel and the appropriate driver, eth0 being the first. The device name does not refer to a specific item of hardware, but to the order in which the interfaces are created.

Offline

#8 2009-12-04 19:05:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: eth1 and eth0 switch [SOLVED]

@ tvale
Your laptop probably had a wired network interface too - it could be named eth0.

Offline

#9 2009-12-04 20:57:15

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: eth1 and eth0 switch [SOLVED]

Yeah, I see.
I (wrongly) assumed that you meant he had two wired network cards. I was just saying that the device being called "eth1" didn't mean it was a wired card.

By the way, not wanting to start an off-topic, why did my old laptop had the wireless card named "ethX" and this one has "wlanX"?

Offline

#10 2009-12-04 21:04:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: eth1 and eth0 switch [SOLVED]

I did suggest that if he doesn't use the other card he can simply remove it. If it's a laptop it probably won't fly, but if it's a desktop - why not? :-)

Offline

#11 2009-12-04 21:24:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: eth1 and eth0 switch [SOLVED]

tvale - the driver determines the name. Current wireless drivers use the kernel's mac80211 subsystem, which creates wlanX devices. Legacy drivers often used ethX.

Offline

#12 2009-12-04 23:58:53

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: eth1 and eth0 switch [SOLVED]

Ah, I see. Thank you. smile

Offline

#13 2009-12-11 14:24:02

fini_fly
Member
From: Georgetown, Ontario
Registered: 2009-11-20
Posts: 71
Website

Re: eth1 and eth0 switch [SOLVED]

Square wrote:

root@localhost$ mv /etc/udev/rules.d/75-persistent-net-generator.rules.optional /etc/udev/rules.d/75-persistent-net-generator.rules && echo "Success!"

This seemed to do the trick as there hasn't been a switch, so I'll mark this thread as solved! Thanks!


Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel.

Offline

Board footer

Powered by FluxBB