Making an Android phone use your ISP/Linux Desktop for Internet
I am feeling a bit geeky. Why pay my phone company for internet at home? Why buy a wireless router? Use the USB cable as a network device 
On Android Home Screen:
Menu / Settings / Wireless Controls / Internet Tethering / tick
You should now have a usb0 network device on Linux.
Linux Desktop/Server Terminal:

Android Terminal:

Gmail works, Browsers work.
Not working: App Store and GTalk

On Android Home Screen:
Menu / Settings / Wireless Controls / Internet Tethering / tick
You should now have a usb0 network device on Linux.
Linux Desktop/Server Terminal:
Code:
# "...make br0 bridge then add eth0 and usb0" sudo brctl addbr br0 sudo brctl addif br0 eth0 sudo brctl addif br0 usb0 # "...start eth0 and usb0" sudo ifconfig eth0 0.0.0.0 promisc up sudo ifconfig usb0 0.0.0.0 promisc up # "...config br0" sudo ifconfig br0 192.168.1.10 netmask 255.255.255.0 # "...br0 up" sudo ifconfig br0 up # "...add route" sudo route add default gw 192.168.1.1 # "...can we reach 192.168.1.1 gateway router?" wget http://192.168.1.1 -o /dev/null

Android Terminal:
Code:
ifconfig usb0 #to check if usb0 network device is working ifconfig usb0 192.168.1.50 netmask 255.255.255.0 wget http://192.168.1.1 -o /dev/null #check access to gateway route add default gw 192.168.1.1 dev usb0 setprop ro.kernel.android.ndns 2 setprop net.usb0.dns1 8.8.8.8 #google's dns setprop net.usb0.dns2 192.168.1.1 #your dns, maybe router? wget http://google.com -o >/dev/null # success

Gmail works, Browsers work.
Not working: App Store and GTalk
Total Comments 5
Comments
-
For Windows users:
Download pdanet or EasyTether Lite from the Android Marketplace but for those it's better to get the paid version though since both of those free apps don't work on secure websites. Pdanet is available for iPhones, Palm and Windows Mobile phones. EasyTether is being worked on to be able to be used with Macs as well.
Posted 02-25-2010 at 10:59 PM by Edav Nomad
-
Posted 02-26-2010 at 06:22 AM by Psyke Phaeton
-
Posted 02-26-2010 at 06:25 AM by Psyke Phaeton
-
Posted 02-28-2010 at 12:24 AM by Edav Nomad
-
Posted 03-03-2010 at 02:59 PM by Psyke Phaeton



