On Sun, Jun 19, 2011 at 11:13 AM, Rémy Oudompheng <remy@archlinux.org> wrote:
Hello,
wpa_supplicant is supposed to provide most of the wireless_tools functionality. I have set up a branch of netcfg that replaces all uses of wireless_tools by wpa_supplicant.
http://projects.archlinux.org/users/remy/netcfg.git/log/?h=no-iwconfig
iwconfig is still used by the deprecated IWCONFIG option, but there is still one thing I don't really understand.
In src/connections/wireless, there is block that calls "iwconfig mode Managed" before starting wpa_supplicant. The log is not really explicit about why this was added (it merely says it was necessary for iwl3945), and wpa_supplicant man page only says it's necessary for the hostap driver, which we do not use. Does anybody knows the reason why it is needed?
I think some drivers don't (didn't?) support switching modes if the interface is up, or something like that? -Dan