Am 19.06.2011 18:13, schrieb Rémy Oudompheng:
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.
You can use iw to configure wireless options. You can also use iw instead of iwconfig for the wep-old and open-old modes.
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?
This isn't needed, this looks like a workaround for very early linux wireless drivers.