From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: confused by netbase/udev
Date: Tue, 09 Feb 2010 12:23:17 +0100 [thread overview]
Message-ID: <4B7145A5.70808@dresearch.de> (raw)
I'm a bit confused about netbase and udev use im Angstrom.
Here's what i see:
I connect an USB-NIC.
/etc/udev/rules.d/70-persistent-net.rules is created:
# This file was automatically generated by the /lib/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.
# USB device 0x:0x (MOSCHIP usb-ethernet driver)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:04:02:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
But the NIC is not comming up (no ip assigned via DHCP). :(
I disconnect the USB-NIC and reboot.
/etc/udev/rules.d/70-persistent-net.rules still exists with
the mentioned content. Why?
I connect another USB-NIC.
/etc/udev/rules.d/70-persistent-net.rules is extended:
# This file was automatically generated by the /lib/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.
# USB device 0x:0x (MOSCHIP usb-ethernet driver)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:04:02:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# USB device 0x:0x (pegasus)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e8:00:0f:e0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
This NIC is also not coming up. :(
And for each new NIC another name is created?! :(
And here's what i like to see:
* Connect an USB-NIC should result in an DHCP-configured interface.
* Disconnect the USB-NIC remove all traces from the system.
Hope you can clear the mist in my head.
Steffen
next reply other threads:[~2010-02-09 11:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 11:23 Steffen Sledz [this message]
2010-02-09 11:59 ` confused by netbase/udev Paul Menzel
2010-02-09 13:18 ` Steffen Sledz
2010-02-09 13:29 ` Petr Štetiar
2010-02-09 13:38 ` Steffen Sledz
2010-02-09 13:47 ` Petr Štetiar
2010-02-09 15:38 ` Steffen Sledz
2010-02-09 22:58 ` Paul Menzel
2010-02-09 21:14 ` Cliff Brake
2010-02-10 7:43 ` Steffen Sledz
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=4B7145A5.70808@dresearch.de \
--to=sledz@dresearch.de \
--cc=openembedded-devel@lists.openembedded.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