Ifrename
Upgraded my firewall to Ubuntu Dapper this morning and after that my network interfaces started taking random names (one being eth1 and the other eth2). Struggled or a while to try to get it to load the right card with adding module aliases but couldn’t get it to work.
In the end I found ifrename by the help of Richard which seemed to do the trick.
On a personal level things are rocking, Emma is getting bigger and we are just waiting for the day she takes her first steps without any support. After that, end of quiet life…
ifrename is ancient and not dependable. Better use udev:
$ cat /etc/udev/rules.d/sieciowki.rules
KERNEL=”eth*”, SYSFS{address}=”00:07:e9:15:0e:cb”, NAME=”ep0″
KERNEL=”eth*”, SYSFS{address}=”00:06:4f:00:e8:99″, NAME=”rl0″
KERNEL=”eth*”, SYSFS{address}=”00:50:8d:e9:ec:c1″, NAME=”nf”
try looking at /etc/iftab
see malone #33694 https://launchpad.net/distros/ubuntu/+source/udev/+bug/33694
Ah yes, I noticed that ifrename wasn’t needed and that Dapper already used /etc/iftab (which seems to be the ifrename config file).
Removed ifrename and kept my /etc/iftab and it all seemed to work nicely.
Thanks
I few weeks ago i had a similar problem, and it resolved editing /etc/iftab file.
Read the article: http://www.wikier.org/blog/el-fichero-iftab (only in spanish).
Regards