Le Thu, 12 Feb 2009 21:40:09 +0100, Joan <[email protected]> a écrit :
> The easyest way is to use udev. > If you edit the file /etc/udev/rules.d/70-persistent-net.rules > You will see the ethernet interfaces that the system has detected. > Just change the interface names in there and on next reboot the names > will be as you wish. > Note: I cannot confirm it's the same on voyage, but it certainly works > on Debian, so it should work there too. Thank you Joan but when I saw the way the file is written, I got scared! I had a more precise look at the boot message and it appeared that the e1000 driver (for the minipci MP541D2) is loaded before the via_rhine driver (inboard LAN). What is strange is that the e1000 driver gets eth0 and eth2 and not eth0 and eth1. What i did is to include the via_rhine driver into the initial ramdisk so it's loaded before any other net driver. Just had to modify the /etc/initramfs-tools/modules file and included via_rhine, mii and crc32. Then ran the command "update-initramfs -u -v" to update the ramdisk image and reboot the system. Now the inboard lan is eth0. And I'm happy! :) -- Stéphane ACOUNIS SUBATECH Nantes - Service d'Électronique Tél: 02-51-85-84-28 06-64-62-99-20 «Faut pas se laisser abattre» devise Kennedy _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
