1 |
Mark Knecht <markknecht <at> gmail.com> writes: |
2 |
|
3 |
|
4 |
> > So now that only one ethernet shows up, how do I prevent |
5 |
> > udev from renaming eth0 to eth3? |
6 |
|
7 |
> Probably remove any net-persistent rules that are hanging around. That |
8 |
> should free up udev to do more of what you suspect. |
9 |
|
10 |
Yep, |
11 |
I did this to see if udev would build the new rules.. |
12 |
|
13 |
> mark <at> c2stable ~ $ ls -al /etc/udev/rules.d/ |
14 |
> total 24 |
15 |
> drwxr-xr-x 2 root root 4096 Jan 1 14:40 . |
16 |
> drwxr-xr-x 3 root root 4096 Nov 26 17:33 .. |
17 |
> -rw-r--r-- 1 root root 0 Nov 26 17:31 .keep_sys-fs_udev-0 |
18 |
> -rw-r--r-- 1 root root 79 Sep 26 06:19 51-android.rules |
19 |
> -rw-r--r-- 1 root root 166 Nov 3 2011 60-ipod.rules |
20 |
> -rw-r--r-- 1 root root 1196 May 5 2012 70-persistent-cd.rules |
21 |
> -rw-r--r-- 1 root root 627 Nov 26 17:33 70-persistent-net.rules |
22 |
|
23 |
Well is all works automatically, but udev did not create the |
24 |
files I thought it would upon reboot: |
25 |
|
26 |
|
27 |
rules.d # ls -alg |
28 |
total 12 |
29 |
drwxr-xr-x 2 root 192 Jan 2 14:37 . |
30 |
drwxr-xr-x 4 root 152 Dec 9 23:26 .. |
31 |
-rw-r--r-- 1 root 1896 Sep 30 08:13 70-persistent-cd.rules |
32 |
-rw-r--r-- 1 root 2652 Aug 20 2010 70-persistent-cd.rules.old |
33 |
-rw-r--r-- 1 root 948 Dec 3 03:52 70-persistent-net.rules.31dec2012.old |
34 |
|
35 |
After deleting the 70-persistent-net.rule file |
36 |
|
37 |
udev does not re-create it. All is now fine with rc-status |
38 |
only showing net.eth0 which is set up how I like it |
39 |
per /etc/conf.d/net. All services are fine |
40 |
|
41 |
|
42 |
Move on, or hand edit the '70-persistent-net.rules' file? |
43 |
|
44 |
TIA, |
45 |
James |