I'm trying to get an internet connection from my laptop via my SGS2. The phone is rooted, and I've tried two different WiFi tethering apps. I don't have a tethering plan (they want to charge me more than my home broadband!) so that's why I'm not using the native tether.
When my laptop connects to the WiFi hotspot, it fails to get an IP address. I guess this is due to the phone not running a DHCP server. I've tried the following:
- Setting the IP of the interface to 192.168.1.99 and 10.0.0.99 (in case of standard /24 and /8 ranges) with
x.x.x.1
as the default gateway. - The same as above, except with the public 3G internet-facing IP as the default gateway.
- Setting the IP of the interface to the phone's public 3G internet-facing IP.
I've been unable to send ICMP pings to any IP address. I've also tried setting various DNS servers (private IPs, 8.8.8.8, etc.) but can't resolve any host names. It's like the traffic just gets black-holed at the phone.
Any ideas? I'd be happy to go with a USB tether, but my plan doesn't cover that and I've yet to find an app that'll allow me to get round it.
192.168.1.99
and10.0.0.99
addresses? OS Monitor is one of the apps showing you all interfaces and their current settings, when in doubt.192.168.1.0/24
and10.0.0.0/8
ranges, and you were 100% right - I got them wrong. Don't know why I never considered runningifconfig wlan0
on the device - it was running on192.168.43.0/24
. A little annoying that the app didn't tell me which IP to use though...