tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
connecting to a phone running android-wifi-tether
I have android-wifi-tether.googlecode.com on my HTC phone to provide a
wifi hotspot for my laptop and thought I'd give it a spin with NetBSD.
I'm using the following scrip which works fine, but I can't seem to
get it working under wpa_supplicant. Does anyone have any thoughts?
#!/bin/sh
/etc/rc.d/wpa_supplicant stop
/etc/rc.d/dhcpcd stop
ifconfig ath0 ssid absTether mediaopt adhoc
while ! ifconfig ath0 | grep 'status: active' ; do
echo -n .
sleep 1
done
/etc/rc.d/dhcpcd start
network={
ssid="absTether"
mode=1
key_mgmt=NONE
}
Home |
Main Index |
Thread Index |
Old Index