From: Andrey Borzenkov <arvidjaar@mail.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: howto keep fixed name for the usbnet interface?
Date: Fri, 21 Jul 2006 02:35:04 +0000 [thread overview]
Message-ID: <200607210635.08697.arvidjaar@mail.ru> (raw)
In-Reply-To: <44BFD599.4050005@cc.jyu.fi>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 20 July 2006 23:12, lamikr wrote:
> I am using Mandriva's development version (cooker) and I am used to
> connect my ipaq to desktop computer by using usb-cable and then
> boot the iPAQ to Linux in a way that usbnet connection is created.
>
> With the udev 0.94 Mandriva is using, the usb interface name does not
> stay anymore as a usb0, instead it is changing everytime I boot the iPAQ
> to Linux.
> (usb1 in second boot, usb2 in third boot). This probably happens because
> in the kernel's usbnet.c, the MAC address for usbnet is randomly generated
> by not initializing an array. In mandriva, there is following bug entry
> describing the details.
> http://qa.mandriva.com/show_bug.cgi?id!717
>
> Is this something that could be fixed to upstream udev rules and could
> already know howto handle this there?
>
The same problem exists for irda
(http://qa.mandriva.com/show_bug.cgi?id#663) and we also have report about
Atheros driver creating two interfaces (ath0 and wifi0) with identical MACs;
the effect in current udev is, one interface is left as ath0_renamed while in
previous versions it simply failed to rename but was left usable :)
It looks like MAC alone is not sufficient to uniquely identify and name
interface.
- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEwD1cR6LMutpd94wRAkIqAJ4ks/efk6O2tOoPbK0RjgpCPA/0kACfShv3
LW250IU/kOM7HBvCpa9MbZ8ÎxE
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2006-07-21 2:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-20 19:12 howto keep fixed name for the usbnet interface? lamikr
2006-07-21 2:35 ` Andrey Borzenkov [this message]
2006-07-21 7:26 ` Marco d'Itri
2006-07-21 11:57 ` Olivier Blin
2006-07-24 11:36 ` lamikr
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=200607210635.08697.arvidjaar@mail.ru \
--to=arvidjaar@mail.ru \
--cc=linux-hotplug@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.