Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199512 - No need for udev to rename interface with net-wireless/iwlwifi-1.1.21
Summary: No need for udev to rename interface with net-wireless/iwlwifi-1.1.21
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-18 11:54 UTC by Codo
Modified: 2008-02-10 12:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Codo 2007-11-18 11:54:35 UTC
/etc/udev/rules.d/70-persistent-net.rules shipped with udev-115-r1 is doing the following:

# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:22:b5:d3", NAME="eth1"

There is no need to do this anymore as iwlwifi-1.1.21 provides a proper named interface calles wlan0.  In fact, the rename is not working properly and renames wmaster0.  The ebuild needs to either communicate the user, or make a RDEPEND on a newer fixed version of udev.

Reproducible: Always

Steps to Reproduce:
1. Make sure you are running sys-fs/udev-115-r1 (stable on amd64)
2. USE="ipw3945" emerge iwlwifi
3. modprobe iwl3945
Actual Results:  
Your interface eth1 has no wireless extensions, and this is the one you need to configure.  eth1 is in fact low-level wmaster0.

Expected Results:  
Your interface should have wireless extensions.  iwlwifi provides now wlan0 and there is no need to make the rename.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-18 11:59:53 UTC
That rule is generated, not shipped w/ udev or iwlwifi. If you don't want that any more, then delete the rule from the file. What exactly are you requesting here? iwlwifi shouldn't create the bogus wmaster0 device in the first place.
Comment 2 Codo 2007-11-18 12:06:16 UTC
I was just replying now...   see below...

Sorry guys, I'm talking crap.  The problem was when upgrading straight from
ipw3945 to iwlwifi via rmmod ipw3945/modprobe iwl3945.  The persistent rules
made the rename confused.

If you delete the rules and do the process all over again it works as
expected...  Shall the ebuild make sure/communicate this to the user???  I
leave to you to reject or leave as new...
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-11-22 21:05:04 UTC
Added an elog message.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-10 12:59:27 UTC
*** Bug 209513 has been marked as a duplicate of this bug. ***