From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Fri, 21 Jul 2006 02:35:04 +0000 Subject: Re: howto keep fixed name for the usbnet interface? Message-Id: <200607210635.08697.arvidjaar@mail.ru> List-Id: References: <44BFD599.4050005@cc.jyu.fi> In-Reply-To: <44BFD599.4050005@cc.jyu.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org -----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=20 (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= ;=20 the effect in current udev is, one interface is left as ath0_renamed while = in=20 previous versions it simply failed to rename but was left usable :) It looks like MAC alone is not sufficient to uniquely identify and name=20 interface. - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEwD1cR6LMutpd94wRAkIqAJ4ks/efk6O2tOoPbK0RjgpCPA/0kACfShv3 LW250IU/kOM7HBvCpa9MbZ8=CExE -----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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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