public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Lars Madson <rwx700@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] del.uged want to start on net.eth1, only eth0 is there
Date: Sun, 4 Sep 2011 16:55:24 +0200	[thread overview]
Message-ID: <CAB6h_EBEjEa_UB1i9gjCBLE5Qn5=P_Wizxxz8AvO5O_vZFKO7Q@mail.gmail.com> (raw)
In-Reply-To: <4E63874B.4010805@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2177 bytes --]

hm there's only one line in my /etc/udev/rules.d/70-persistent-net.rules:

# This file was automatically generated by the /lib64/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1c:c0:5a:81:dc",
KERNEL=="eth*", NAME="eth0"


2011/9/4 Dale <rdalek1967@gmail.com>

> Lars Madson wrote:
>
>> Hi,
>>
>> After upgrading world, I might have gone a bit fast on the last conf files
>> that I update with etc-update.
>> Now that I restart deluged, the init script brings up eth1 but I only have
>> eth0 correctly setup.
>> It should use eth0. In rc-update list I see net.eth1, no net.eth0, if it
>> can help.
>>
>> My question is when this net.eth1 is called so that I could fix this wrong
>> routing?
>>
>> thx
>> Laurent
>>
>
> If I understand this correctly, it sounds like udev has created a new nic
> for some reason.  Your file should be here and look something like this:
>
> root@fireball / # cat /etc/udev/rules.d/70-**persistent-net.rules
> # This file was automatically generated by the /lib64/udev/write_net_rules
> # program, run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single
> # line, and change only the value of the NAME= key.
>
> # PCI device 0x10ec:0x8168 (r8169)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="1c:6f:65:4c:**91:c7", ATTR{dev_id}=="0x0",
> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
> root@fireball / #
>
> If you only have one nic but have two lines there, I would just delete the
> whole file and reboot.  When you do and udev comes back up, it will create a
> new file and it resets its naming and such which should get you back to
> net.eth0 again.
>
> I think you can kill udev and restart it if you don't want to reboot for
> some reason.
>
> Again, this is if I understand the problem correctly.  If this makes sense,
> I may on track.  If not, I may be missing something and you may want to wait
> on someone else to chime in.
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 3056 bytes --]

  reply	other threads:[~2011-09-04 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-04 13:27 [gentoo-user] del.uged want to start on net.eth1, only eth0 is there Lars Madson
2011-09-04 14:12 ` Dale
2011-09-04 14:55   ` Lars Madson [this message]
2011-09-04 16:10     ` Dale
2011-09-04 16:29 ` Mark Knecht
2011-09-04 16:38 ` [gentoo-user] " walt
2011-09-05 15:14   ` Lars Madson
2011-09-05 18:24     ` [gentoo-user] " walt
2011-09-06 12:40       ` Lars Madson
2011-09-06 14:18         ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB6h_EBEjEa_UB1i9gjCBLE5Qn5=P_Wizxxz8AvO5O_vZFKO7Q@mail.gmail.com' \
    --to=rwx700@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox