I've got a Netgear WNA3100 wireless USB adapter [Broadcom BCM43232]. As far as I have been able to determine, the only drivers available are from Windows.
On boot I use /opt/bootsync.sh with the following lines:
#!/bin/sh
# put other system startup commands here, the boot process will wait until they complete.
# Use bootlocal.sh for system startup commands that can run in the background
# and therefore not slow down the boot process.
/usr/bin/sethostname box
modprobe ndiswrapper
ndiswrapper -i /opt/mybootstuff/bcmn43xx32.inf
wpa_passphrase "myessid" mypassword > /etc/wpa_supplicant.conf
wpa_supplicant -Dwext -iwlan1 -c/etc/wpa_supplicant.conf -B
iwconfig wlan1 essid "myessid"
ifconfig wlan1 192.168.1.3 netmask 255.255.255.0
/opt/bootlocal.sh &
I think I have the right commands, but it doesn't look like the adapter is "recognized" on boot.
What I mean is that if I look at dmesg just after boot, I don't see that the adapter was recognized or registered. If I unplug the adapter and then replug, dmesg shows the adapter registered and recognized.
Am I just not doing something in the right order? It seems I need to get the drivers installed at the beginning of the boot in so that the adapter is recognized in time during the boot.
Once I get logged I get everything working fine, but I'd like everthing to be working once the machine boots.
Any ideas?
Wireless-N 300 [Broadcom BCM43231]