Summary: | net-misc/netifrc: switch from using net-wireless/wireless-tools to net-wireless/iw | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Alexander E. Patrakov <patrakov> |
Component: | netifrc | Assignee: | netifrc Team <netifrc> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | axiator, flow, grknight, nikoli, wolf31o2, zerochaos |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | netifrc:iw | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 469296 |
Description
Alexander E. Patrakov
2009-03-08 08:52:50 UTC
Reassigning to base-system, CCing maintainer. (In reply to comment #0) > However, the kernel queries the > regulatory domain asynchronously over the air (yes, there is an access point > nearby that supplies wrong information) and then asks udev to call iw, but the > iwconfig.sh script doesn't wait for this to complete. > udev calls crda, not iw. You should use wpa_supplicant instead of iwconfig. I'm not that interested in fixing what I see as a kernel driver issue in openrc. not an option if the user wants to set a fixed speed random david # emerge -vp iw wireless-regdb crda These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-wireless/wireless-regdb-20091125 0 kB [ebuild R ] net-wireless/iw-0.9.21 0 kB [ebuild R ] net-wireless/crda-1.1.1 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB The wireless.kernel is moving away from wireless-tools. (iwconfig is part of wireless-tools) http://wireless.kernel.org/en/users/Documentation/iw "iw is a new nl80211 based CLI configuration utility for wireless devices. It supports almost all new drivers that have been added to the kernel recently. iw is still under development. Features are added 'as we go'. The only documentation that exists for iw is this page. Please help expand it. There is a page listing use cases with iwconfig and iw: replacing iwconfig." iw, crda - so #emerge -vp iw wireless-regdb crda wpa_supplicant are preferred by the wireless-kernel team turn off the iwconfig modules! in your conf.d/.net !iwconfig in the modules section if it is working for you now should be only minor adjustments in my experience this configuration does not work with networkmanager or any of the current gui tools There are ways to set bitrate with iw openrc team, looking over this bug, it looks like we might need to deprecate wireless-tools in favor of iw and wpa_supplicant. What does everyone else think? Take a look and comment on this bug. Thanks, William WilliamH++ to updating for usage of iw. This all works for me. Using p54pci and ath5 and -Dnl80211 the latter loads via cardbus This bug hasn't seen any love in a while so I'll just add the point that we almost certainly don't need to call iw directly for 99% of use cases wpa_supplicant gets the job done. Even if we want to run in AP mode by default that would be calling hostapd (which likely should be done by the hostapd init script not the common net init scripts). I've posted an iw.sh module to https://gitweb.gentoo.org/proj/netifrc.git/log/?h=iw Feel free to merge that branch support for iw has been added. Closing |