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 netmask
root@bt:~# route add default gateway
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 on wlan0 to port 67
DHCPACK of from
bound to -- renewal in 19005 seconds.

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.