Changer Carte Ethernet
Récupéré sur la Wayback Machine (capture du 27/11/2012)
En cas de changement de carte ethernet ou d'ajout d'une carte ethernet une info s'ajoute dans :
/etc/udev/rules.d/XX-persistent-net.rules XX pouvant varier .On y trouve :
- This file was automatically generated by the /lib/udev/write_net_rules
- program run by the persistent-net-generator.rules rules file.
- You can modify it, as long as you keep each rule on a single line.
- USB device 0x9710:0x7830 (MOSCHIP usb-ethernet driver)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:c2:76:b0:be", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"- USB device 0x9710:0x7830 (MOSCHIP usb-ethernet driver)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:04:02:d0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"- USB device 0x0b95:0x1780 (asix)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:c6:88:09:43", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"Si l'on veut inverser 2 cartes, il faut donc modifier ce fichier .