2 Netgear MA311
I load hostap & hostap_pci in /etc/modules.
In /etc/network/interfaces i have these lines:
iface wlan0 inet static
When i boot the system wlan0 is still in "master mode" and doesnt connect to the AP
However, if these commands run at the end of the booting
iwconfig wlan0 mode managed
iwconfig wlan0 essid any
it connnects fine.
I think that hostap is being loaded after the ifs are up.
Is any way to check the boot sequence or to load hostap sooner?
/var/log/messages , /var/log/syslog and /var/log/debug doesnt show any errors!
--- edit ---
Anyone can move it to Wireless Networking?