As the title says, I use an adhoc wireless connection between 2 laptops (Win7x64 and WinXP32 both with Eset Smart Security 6) with ICS. Internet is connected directly to the Windows 7 laptop via LAN. ICS goes through WLAN. I mostly use it for file sharing, and have been doing that for sometime now, though the WinXP laptop didn't connect to the internet via internet browsers (Opera, Firefox or Internet Explorer), though Eset Smart Security 6 would update on the WinXP laptop. So, I had given up for sometime. By the way, Windows 7's WLAN has these settings on its WLAN IPV4: IP (192.168.137.1) and subnet mask (255.255.255.0)
On the WinXP machine, I put these settings: IP (192.168.137.2), same subnet mask and default gateway (192.168.137.1). Both laptops have the same workgroup.
Then, one day while tinkering with my WinXP laptop, I put these settings on my browser: I turned on proxy and put this as IP (192.168.0.2) with port 80 (or 8080) on Opera, IE and Firefox. And, wallah, the WinXP laptop connected to the internet. I have no idea how. I had thought that I had entered 192.168.137.1 and thought, oh well, I see why it's working. Then, I put in 192.168.137.1 instead of 192.168.0.2 and the internet stopped working on the WinXP machine.
I have no idea how the internet worked with 192.168.0.2, nor do I know anything about networking. I was hoping someone could explain why my WinXP machine was able to connect to the internet when it did. Thanks!