I am using a T-Mobile G1 with a wifi tether mode (Ad-Hoc) for internet. My connection drops out every 20 seconds or so.
Also when connecting to my phone's ad-hoc from a vista box a notification will show on my phone letting me know someones connected...what is weird is I am getting a connection but no notification on the phone. Sometimes while using firefox to browse it will show me the no connection page I wait a few and hit reload and it works.


to get my internet connection i typed this in shell ( probably not the best way to get it to work lol)

root@bt:~# ifconfig wlan0 up
root@bt:~# iwconfig wlan0 essid "G1Tether"
root@bt:~# ifconfig wlan0 down
root@bt:~# iwconfig wlan0 mode Ad-Hoc
root@bt:~# ifconfig wlan0 up
root@bt:~# ifconfig wlan0 192.168.1.123 netmask 255.255.255.0
root@bt:~# route add default gateway 192.168.3.0
SIOCADDRT: No such process
root@bt:~# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 8695
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:24:2b:2b:88:9d
Sending on LPF/wlan0/00:24:2b:2b:88:9d
Sending on Socket/fallback
DHCPREQUEST of 192.168.3.103 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.3.103 from 192.168.3.254
bound to 192.168.3.103 -- renewal in 19005 seconds.
root@bt:~#


So I'm using an atheros 5007 chipset driver is the ath5k driver.

Please advise if my connection dropping is user error or if anyone has a android phone and has a better way.
Thanks