LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   On board Yukon detected as eth1 on Asus mobo (https://www.linuxquestions.org/questions/slackware-14/on-board-yukon-detected-as-eth1-on-asus-mobo-549519/)

waftycrank 04-27-2007 12:46 PM

On board Yukon detected as eth1 on Asus mobo
 
Hi ,

New Asus P5PE mobo fitted and then spent hours trying to get the Marvell Yukon on board NIC to talk to anything. Turned out be eth1 instead of eth0. There is no eth0 :scratch: . ifconfig -a shows only eth1 and lo. Where and when is the port assigned ? ( Slack 11 btw ).

thanks,

osor 04-27-2007 08:58 PM

Interface names are assigned by the kernel pretty much arbitrarily (on some systems with eth0 and eth1, you might even notice them the two swapping upon a kernel upgrade). If you want full control over your interface names, however, you use something unique about them (most people use the MAC address).

One way to do this (which applies only to 2.6 kernels) is using udev. Another way (which also works with the 2.4 kernels that happen to be part of the default slack install) is to use a program such as ifrename or nameif in the boot sequence (before network initialization of course, but after any relevant module loading).

waftycrank 04-30-2007 05:51 AM

thanks, I'll have to do some research into udev. I didn't think there were any /dev/eth? links so not sure about that one. The confusion arose because dmesg showed it as eth0 but any attempts to set up the port failed ( because everything elses sees it as eth1 ).

osor 04-30-2007 11:00 AM

Quote:

Originally Posted by waftycrank
I didn't think there were any /dev/eth? links so not sure about that one.

There aren’t any device nodes such as /dev/eth1, but udev still controls naming, since there are entries in sysfs (remember, this is for 2.6 kernels).

osor 04-30-2007 11:06 AM

See here for an example.


All times are GMT -5. The time now is 03:10 PM.