Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Ethernet Machination
Date: Wed, 02 Jan 2013 22:05:29
Message-Id: CADPrc80Ah0J-PjooTiGCSkRtscev8iMQaf+zBCjbfeoRugw_Ug@mail.gmail.com
In Reply to: [gentoo-user] Re: Ethernet Machination by james
1 On Wed, Jan 2, 2013 at 2:57 PM, james <wireless@×××××××××××.com> wrote:
2 > Mark Knecht <markknecht <at> gmail.com> writes:
3 >
4 >
5 >> > So now that only one ethernet shows up, how do I prevent
6 >> > udev from renaming eth0 to eth3?
7 >
8 >> Probably remove any net-persistent rules that are hanging around. That
9 >> should free up udev to do more of what you suspect.
10 >
11 > Yep,
12 > I did this to see if udev would build the new rules..
13 >
14 >> mark <at> c2stable ~ $ ls -al /etc/udev/rules.d/
15 >> total 24
16 >> drwxr-xr-x 2 root root 4096 Jan 1 14:40 .
17 >> drwxr-xr-x 3 root root 4096 Nov 26 17:33 ..
18 >> -rw-r--r-- 1 root root 0 Nov 26 17:31 .keep_sys-fs_udev-0
19 >> -rw-r--r-- 1 root root 79 Sep 26 06:19 51-android.rules
20 >> -rw-r--r-- 1 root root 166 Nov 3 2011 60-ipod.rules
21 >> -rw-r--r-- 1 root root 1196 May 5 2012 70-persistent-cd.rules
22 >> -rw-r--r-- 1 root root 627 Nov 26 17:33 70-persistent-net.rules
23 >
24 > Well is all works automatically, but udev did not create the
25 > files I thought it would upon reboot:
26 >
27 >
28 > rules.d # ls -alg
29 > total 12
30 > drwxr-xr-x 2 root 192 Jan 2 14:37 .
31 > drwxr-xr-x 4 root 152 Dec 9 23:26 ..
32 > -rw-r--r-- 1 root 1896 Sep 30 08:13 70-persistent-cd.rules
33 > -rw-r--r-- 1 root 2652 Aug 20 2010 70-persistent-cd.rules.old
34 > -rw-r--r-- 1 root 948 Dec 3 03:52 70-persistent-net.rules.31dec2012.old
35 >
36 > After deleting the 70-persistent-net.rule file
37 >
38 > udev does not re-create it. All is now fine with rc-status
39 > only showing net.eth0 which is set up how I like it
40 > per /etc/conf.d/net. All services are fine
41 >
42 >
43 > Move on, or hand edit the '70-persistent-net.rules' file?
44
45 I would move on. The idea is that everything "just works".
46
47 Regards.
48 --
49 Canek Peláez Valdés
50 Posgrado en Ciencia e Ingeniería de la Computación
51 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] Re: Ethernet Machination William Kenworthy <billk@×××××××××.au>