Mark Knecht <markknecht <at> gmail.com> writes:

> > So now that only one ethernet shows up, how do I prevent
> > udev from renaming eth0 to eth3?

> Probably remove any net-persistent rules that are hanging around. That
> should free up udev to do more of what you suspect.

Yep,
I did this to see if udev would build the new rules..

> mark <at> c2stable ~ $ ls -al /etc/udev/rules.d/
> total 24
> drwxr-xr-x 2 root root 4096 Jan  1 14:40 .
> drwxr-xr-x 3 root root 4096 Nov 26 17:33 ..
> -rw-r--r-- 1 root root    0 Nov 26 17:31 .keep_sys-fs_udev-0
> -rw-r--r-- 1 root root   79 Sep 26 06:19 51-android.rules
> -rw-r--r-- 1 root root  166 Nov  3  2011 60-ipod.rules
> -rw-r--r-- 1 root root 1196 May  5  2012 70-persistent-cd.rules
> -rw-r--r-- 1 root root  627 Nov 26 17:33 70-persistent-net.rules

Well is all works automatically, but udev did not create the
files I thought it would upon reboot:


rules.d # ls -alg
total 12
drwxr-xr-x 2 root  192 Jan  2 14:37 .
drwxr-xr-x 4 root  152 Dec  9 23:26 ..
-rw-r--r-- 1 root 1896 Sep 30 08:13 70-persistent-cd.rules
-rw-r--r-- 1 root 2652 Aug 20  2010 70-persistent-cd.rules.old
-rw-r--r-- 1 root  948 Dec  3 03:52 70-persistent-net.rules.31dec2012.old

After deleting the 70-persistent-net.rule file

udev does not re-create it. All is now fine with rc-status
only showing net.eth0 which is set up how I like it
per /etc/conf.d/net. All services are fine


Move on, or hand edit the '70-persistent-net.rules' file?

TIA,
James



Reply via email to