Re: wandering network inferfaces
On Tuesday 25 April 2006 16:24, Digby Tarvin wrote:
> I am having a small problem with the networking on the Debian Etch
> system I have installed on my Fujitsu P7120 notebook...
>
> The notebook has both wired and a wireless, with the wireless interface
> sometimes showign up as eth1, and sometimes as eth2.
>
[...]
If you have udev installed, you can solve this problem by creating a udev rule
to fix the network device names. My notebook has the same three eth*
interfaces as yours, and my rule consists of a file in /etc/udev called
local.rules containing this:
KERNEL=="eth*", SYSFS{address}=="00:40:ca:c0:d9:a6", NAME="ethernet"
KERNEL=="eth*", SYSFS{address}=="00:0c:f1:15:c6:e3", NAME="wireless"
KERNEL=="eth*", SYSFS{address}=="00:40:ca:01:17:00:0b:69", NAME="firewire"
Look in /sys/class/net to find out the addresses for your system, or ifconfig
will tell you (but use lowercase); the names can be anything you want, as
long as you use the same names in /etc/network/interfaces and any other
configs.
Make a link to this file at /etc/udev/rules.d/025_local.rules and your
interface names should stay put.
HTH,
John
Reply to: