Sounds like you have power manager installed and when you connect the G1 to computer power, it's switching profiles and disabling WiFi. I would manually edit that out.
Windows XP Desktop
D-Link Wireless Adapter
When I plug my G1 into my computer (for charging) wireless gets disconnected. Im forced to unplug my USB Wireless Adapter and plug it back in to get wireless working.
Sounds like you have power manager installed and when you connect the G1 to computer power, it's switching profiles and disabling WiFi. I would manually edit that out.
Bookmarks