From: Nick Khamis <symack@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Eth0 interface not found - udev that little slut!!!!!
Date: Sat, 6 Apr 2013 22:55:16 -0400 [thread overview]
Message-ID: <CAGWRaZaEJK5xPpHQNtVHZBSpOkFZbnLqe6cYFKtZtWGGNwOW9g@mail.gmail.com> (raw)
In-Reply-To: <5160DD69.2080106@gmail.com>
ifconfig -a and ifconfig eth0 etc.. lists the interfaces correctly.
When trying to start net.eth0 the error that struck me as odd was:
/lib64/rc/net/wpa_supplicant.sh: line 68: _is_wireless: command not found
/etc/init.d/net.eth0: line 548: _exists: command not found
Sorry I can't paste stuff directly. I am literally taking phone pics
and communicating through my laptop.
N.
On 4/6/13, Michael Mol <mikemol@gmail.com> wrote:
> It's probably not a module issue.
>
> Are these interfaces supposed to be DHCP-configured, or are they
> supposed to be statically and locally configured?
>
> If they're supposed to be configured via DHCP, try "dhclient
> $interface_name". If they're supposed to be statically configured, try
> using ifconfig to configure them manually.
>
> Also, ipmaddr is *not* the command you should be using. That deals
> strictly in multicast addresses, not unicast addresses. I presume you're
> trying to get your unicast addresses working properly.
>
> ifconfig -a
>
> On 04/06/2013 10:35 PM, Nick Khamis wrote:
>> Sorry I did mean /sbin/ip... Long day. Regardless, /sbin/ipmaddr does
>> now show any ipv4 related material. Other than the network card
>> driver, what module should I ensure is loaded for ipv4 related stuff.
>> As for /etc/conf.d/net, net.eth0/eth1 these were untouched and still
>> point to eth0 and eth1.
>>
>> As for /sbin/ip. I have no such command.
>>
>> N.
>>
>>
>> On 4/6/13, Michael Mol <mikemol@gmail.com> wrote:
>>> /sbin/ip, not /etc/ip
>>>
>>> Those inet6 addresses beginning with ff02 are link-local addresses.
>>> Those are automatically configured on a link simply by the link being
>>> up.
>>>
>>> Something is failing to configure your interfaces' ipv4 settings.
>>>
>>> The culprit is almost certainly somewhere in one of these places, its
>>> lack of being in these places it part of your problem:
>>>
>>> /etc/conf.d/net
>>> /etc/init.d/net.*
>>> /etc/runlevels/*/net.*
>>>
>>> Otherwise, try those find/grep lines I offered.
>>>
>>> On 04/06/2013 10:01 PM, Nick Khamis wrote:
>>>> I do not have /etc/ip however, I do have /etc/ipmaddr show:
>>>>
>>>> 1: lo
>>>> inet6 ff02::1
>>>> 2: sit0
>>>> inte6 ff02::1
>>>> 3: eth0
>>>> link 33:33:00:00:00:01
>>>> inet6 ff02:1
>>>> 4: eth1
>>>> link 33:33:00:00:00:01
>>>> inet6 ff02:1
>>>>
>>>> Too much inte6 for my liking... Did I somehow get rid of ipv4?
>>>>
>>>> N.
>>>>
>>>> On 4/6/13, Michael Mol <mikemol@gmail.com> wrote:
>>>>> On 04/06/2013 08:53 PM, Nick Khamis wrote:
>>>>>> I took a closer look at /etc/udev/70-something-rules-net and
>>>>>> /sys/class/net/eth0/ and all the ATTR (i.e., address, type, dev_id)
>>>>>> line up fine. I did not find a "name" file in /sys/class/net/eth0
>>>>>> however,
>>>>>> name=eth0 in etc/udev/70-something-rules-net.
>>>>>>
>>>>>> Ifconfig alone returns nothing. Ifconfig eth0/1 and lo returns the
>>>>>> interface
>>>>>> with no tx and rx traffic. And no ip address as set in conf.d/net.
>>>>>>
>>>>>> Please help guys. Server room is numbing......
>>>>>
>>>>> /sbin/ip link addr show
>>>>>
>>>>> That will tell you the names of your interfaces, as they currently
>>>>> exist.
>>>>>
>>>>> You cannot reliably use 70-persistent-net-rules to assign interfaces
>>>>> names which the kernel may chose. This means things like 'eth0' and
>>>>> 'wlan0' are unreliable in principle.
>>>>>
>>>>> Once you know what the interface name will be, rename
>>>>> /etc/init.d/net.eth0 to /etc/init.d/net.$YOUR_INTERFACE_NAME_HERE ,
>>>>> remove /etc/runlevels/net.eth0 and create a symlink in /etc/runlevels
>>>>> pointing at your new /etc/init.d/net.$WHATEVER file.
>>>>>
>>>>> Then /etc/init.d/net.$WHATEVER restart ... and things should come up,
>>>>> at
>>>>> least partially. To find anything else that might be broken:
>>>>>
>>>>> find /etc|grep eth0
>>>>> find /etc -print0|xargs -0 grep eth0|egrep -v ':#'
>>>>>
>>>>> and rename 'eth0' there to your new interface name.
>>>>>
>>>>> I just went through this entire process on one of my machines...but I
>>>>> wiped all the files out of /etc/udev/rules.d/ and went with udev's new
>>>>> defaults, rather than set up my on persistent net rules for this
>>>>> machine. (That's a task for another day.)
>>>>>
>>>>> Frankly, the process is a PITA...and I'm going to go back to a
>>>>> persistent-net.rules file in the future; having to go through that
>>>>> entire process because of a NIC swap or an upstream behavior tweak is
>>>>> not something I care to have to do.
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>
next prev parent reply other threads:[~2013-04-07 2:55 UTC|newest]
Thread overview: 111+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-06 14:51 [gentoo-user] Eth0 interface not found - udev that little slut!!!!! Nick Khamis
2013-04-06 15:57 ` Alan Mackenzie
2013-04-06 16:36 ` Alan McKinnon
2013-04-06 17:10 ` Alan Mackenzie
2013-04-06 17:50 ` Jarry
2013-04-06 19:11 ` [gentoo-user] " Jörg Schaible
2013-04-07 13:01 ` Heiko Zinke
2013-04-07 13:38 ` Nick Khamis
2013-04-07 14:01 ` Nick Khamis
2013-04-07 14:04 ` Michael Mol
2013-04-07 14:15 ` Neil Bothwick
2013-04-07 14:20 ` Nick Khamis
2013-04-07 14:22 ` Nick Khamis
2013-04-07 14:25 ` Michael Mol
2013-04-07 14:32 ` Nick Khamis
2013-04-07 17:42 ` Michael Hampicke
2013-04-07 17:48 ` Nick Khamis
2013-04-07 17:55 ` Tanstaafl
2013-04-07 18:00 ` Nick Khamis
2013-04-07 18:04 ` Nick Khamis
2013-04-07 18:08 ` Nick Khamis
2013-04-07 18:15 ` Michael Hampicke
2013-04-07 18:46 ` Nick Khamis
2013-04-07 18:48 ` Nick Khamis
2013-04-07 19:00 ` Mick
2013-04-07 20:21 ` Neil Bothwick
2013-04-07 20:44 ` William Hubbs
2013-04-07 18:14 ` Mick
2013-04-07 20:25 ` Neil Bothwick
2013-04-07 21:20 ` Mick
2013-04-07 22:01 ` Neil Bothwick
2013-04-08 16:16 ` Bruce Hill
2013-04-08 18:36 ` Pandu Poluan
2013-04-08 19:46 ` Michael Hampicke
2013-04-08 19:56 ` Bruce Hill
2013-04-08 20:10 ` Michael Hampicke
2013-04-08 21:07 ` Bruce Hill
2013-04-09 10:02 ` Tanstaafl
2013-04-09 10:40 ` Michael Mol
2013-04-09 18:56 ` Walter Dnes
2013-04-11 12:35 ` [gentoo-user] Eth0 interface not found - udev Stroller
2013-04-12 16:48 ` [gentoo-user] " Grant Edwards
2013-04-16 16:43 ` Bruce Hill
2013-04-16 16:51 ` Michael Mol
2013-04-07 15:00 ` [gentoo-user] Re: Eth0 interface not found - udev that little slut!!!!! Neil Bothwick
2013-04-07 16:00 ` Nick Khamis
2013-04-07 16:11 ` Mick
2013-04-07 16:18 ` Nick Khamis
2013-04-07 16:37 ` Tanstaafl
2013-04-07 16:41 ` Mick
2013-04-07 17:18 ` Tanstaafl
2013-04-07 17:29 ` Nick Khamis
2013-04-08 16:20 ` Bruce Hill
2013-04-08 22:11 ` Neil Bothwick
2013-04-08 22:44 ` Bruce Hill
2013-04-06 21:14 ` [gentoo-user] " Tanstaafl
2013-04-07 10:55 ` Neil Bothwick
2013-04-07 16:03 ` Tanstaafl
2013-04-07 16:18 ` Jarry
2013-04-07 17:16 ` Tanstaafl
2013-04-07 17:00 ` [gentoo-user] " Grant Edwards
2013-04-07 17:16 ` Tanstaafl
2013-04-07 20:31 ` Neil Bothwick
2013-04-08 16:04 ` Bruce Hill
2013-04-08 16:11 ` Michael Mol
2013-04-08 16:00 ` Bruce Hill
2013-04-07 20:29 ` [gentoo-user] " Neil Bothwick
2013-04-07 1:12 ` William Kenworthy
2013-04-07 1:26 ` Nick Khamis
2013-04-07 10:52 ` Neil Bothwick
2013-04-08 1:32 ` Pandu Poluan
2013-04-08 15:52 ` Bruce Hill
2013-04-06 19:03 ` Volker Armin Hemmann
2013-04-06 19:33 ` Mick
2013-04-06 20:15 ` Volker Armin Hemmann
2013-04-06 20:27 ` [gentoo-user] " Jörg Schaible
2013-04-06 21:10 ` Nick Khamis
2013-04-06 21:19 ` Nick Khamis
2013-04-06 21:28 ` Volker Armin Hemmann
2013-04-06 21:33 ` Michael Hampicke
2013-04-06 21:37 ` Nick Khamis
2013-04-06 22:17 ` Nick Khamis
2013-04-07 0:53 ` Nick Khamis
2013-04-07 1:40 ` Michael Mol
2013-04-07 2:01 ` Nick Khamis
2013-04-07 2:09 ` Michael Mol
2013-04-07 2:35 ` Nick Khamis
2013-04-07 2:43 ` Michael Mol
2013-04-07 2:55 ` Nick Khamis [this message]
2013-04-07 3:13 ` Michael Mol
2013-04-07 3:19 ` Nick Khamis
2013-04-07 3:23 ` Michael Mol
2013-04-07 11:23 ` Marc Joliet
2013-04-07 2:58 ` Randy Barlow
2013-04-07 3:02 ` Nick Khamis
2013-04-08 16:28 ` Bruce Hill
2013-04-08 17:19 ` Michael Mol
2013-04-08 17:30 ` Jarry
2013-04-08 18:35 ` Pandu Poluan
2013-04-08 19:17 ` Bruce Hill
2013-04-07 2:08 ` Matthew Marlowe
2013-04-07 3:06 ` [gentoo-user] Eth0 interface not found - udev Stroller
2013-04-07 6:00 ` Joseph
2013-04-07 8:55 ` Stroller
2013-04-07 15:35 ` Pandu Poluan
2013-04-07 16:30 ` Joseph
2013-04-08 4:11 ` Walter Dnes
2013-04-08 3:36 ` Stroller
2013-04-08 18:12 ` Joseph
2013-04-08 22:15 ` Neil Bothwick
2013-04-08 16:43 ` Bruce Hill
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=CAGWRaZaEJK5xPpHQNtVHZBSpOkFZbnLqe6cYFKtZtWGGNwOW9g@mail.gmail.com \
--to=symack@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