bardo wrote:
> I would, but I think it screwed a bit of things... one is ethernet
> interfaces name: on my laptop I had eth0 for the wired one and eth1
> for the wireless one, now they are swapped. Same for the desktop,
> which has three wired eth cards: they are all messed up, even if I
> specified the module order in rc.conf...
> Does someone know why?

You can give the devices persistant names. This is so bloody easy, all you have 
to know is the MAC
address of your NICs:

1) Create a file /etc/udev/rules.d/10-network.rules (feel free to choose 
another name)
2) Add the following rules to this file:

SUBSYSTEM=="net", SYSFS{address}=="00:11:22:33:44:55", NAME="wlan"
SUBSYSTEM=="net", SYSFS{address}=="00:12:23:34:45:56", NAME="lan0"
SUBSYSTEM=="net", SYSFS{address}=="00:12:23:c3:99:af", NAME="lan1"

Replace the SYSFS{address} value with your MAC address (be sure to write the 
letters in the MAC
address lowercase, because sysfs has them in lowercase and the comparison is 
case-sensitive).

In the NAME field, you can give the interfaces any name you want, the interface 
will now always have
the same name, which doesn't depend on any module loading order. The only thing 
left is to change
your rc.conf to the new names.

HTH

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to