Gentoo Archives: gentoo-user

From: Lars Madson <rwx700@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] del.uged want to start on net.eth1, only eth0 is there
Date: Sun, 04 Sep 2011 14:56:35
Message-Id: CAB6h_EBEjEa_UB1i9gjCBLE5Qn5=P_Wizxxz8AvO5O_vZFKO7Q@mail.gmail.com
In Reply to: Re: [gentoo-user] del.uged want to start on net.eth1, only eth0 is there by Dale
1 hm there's only one line in my /etc/udev/rules.d/70-persistent-net.rules:
2
3 # This file was automatically generated by the /lib64/udev/write_net_rules
4 # program run by the persistent-net-generator.rules rules file.
5 #
6 # You can modify it, as long as you keep each rule on a single line.
7
8 # PCI device 0x10ec:0x8168 (r8169)
9 SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1c:c0:5a:81:dc",
10 KERNEL=="eth*", NAME="eth0"
11
12
13 2011/9/4 Dale <rdalek1967@×××××.com>
14
15 > Lars Madson wrote:
16 >
17 >> Hi,
18 >>
19 >> After upgrading world, I might have gone a bit fast on the last conf files
20 >> that I update with etc-update.
21 >> Now that I restart deluged, the init script brings up eth1 but I only have
22 >> eth0 correctly setup.
23 >> It should use eth0. In rc-update list I see net.eth1, no net.eth0, if it
24 >> can help.
25 >>
26 >> My question is when this net.eth1 is called so that I could fix this wrong
27 >> routing?
28 >>
29 >> thx
30 >> Laurent
31 >>
32 >
33 > If I understand this correctly, it sounds like udev has created a new nic
34 > for some reason. Your file should be here and look something like this:
35 >
36 > root@fireball / # cat /etc/udev/rules.d/70-**persistent-net.rules
37 > # This file was automatically generated by the /lib64/udev/write_net_rules
38 > # program, run by the persistent-net-generator.rules rules file.
39 > #
40 > # You can modify it, as long as you keep each rule on a single
41 > # line, and change only the value of the NAME= key.
42 >
43 > # PCI device 0x10ec:0x8168 (r8169)
44 > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
45 > ATTR{address}=="1c:6f:65:4c:**91:c7", ATTR{dev_id}=="0x0",
46 > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
47 > root@fireball / #
48 >
49 > If you only have one nic but have two lines there, I would just delete the
50 > whole file and reboot. When you do and udev comes back up, it will create a
51 > new file and it resets its naming and such which should get you back to
52 > net.eth0 again.
53 >
54 > I think you can kill udev and restart it if you don't want to reboot for
55 > some reason.
56 >
57 > Again, this is if I understand the problem correctly. If this makes sense,
58 > I may on track. If not, I may be missing something and you may want to wait
59 > on someone else to chime in.
60 >
61 > Dale
62 >
63 > :-) :-)
64 >
65 >

Replies

Subject Author
Re: [gentoo-user] del.uged want to start on net.eth1, only eth0 is there Dale <rdalek1967@×××××.com>