correction: it needs this to get wlan to work #!/bin/sh iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7 ifconfig wlan0 192.168.12.2/24 up iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7