I have got a 3G contract plan of Vodafone (not T-Mobile, lol) here and it is quite fast enough to watch HD youtube. The problem is that I have only 1 SIM card and want to access the Internet using my laptop as well.
I came up with using Tethering Bot (http://graha.ms/androidproxy), which is a sock server daemon running on G1. I could do tethering via “adb forward” through USB cable, but the problem is that it is unstable (It kept disconnecting my IM clients all the time).
Today, I have found this article (http://www.gotontheinter.net/node/515) explaining how to setup Bluetooth PAN server on G1 and now I am able to forward all kind of requests through Bluetooth connection. Can’t wait to have its next version, which is going to support DHCP.
Preparation:
– Download binary from http://www.gotontheinter.net/system/files/tether-1.0.zip and extract files to your microSD.
– Use DroidSans Tweak Tools (choice 1) to enable read/write of your /system
– Copy files
cat bnep.ko > /system/lib/modules/bnep.ko
cat iptables > /system/bin/iptables
cat pand > /system/bin/pand
– Change mode to executable
chmod 755 /system/bin/iptables
chmod 755 /system/bin/pand
– Enable Bluetooth on PC
– Pair them up
Step so far for every reboot:
insmod /system/lib/modules/bnep.ko
pand –listen –role NAP
-> stop here; connect your PC to your G1
ifconfig bnep0 10.0.1.1 netmask 255.255.255.0 up
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.0.1.5 -j MASQUERADE
iptables -t nat -A POSTROUTING -j ACCEPT
hi, how do write those on G1? Should I use a software, if so, what software should be?
thanks!
– Copy files
cat bnep.ko > /system/lib/modules/bnep.ko
cat iptables > /system/bin/iptables
cat pand > /system/bin/pand
– Change mode to executable
chmod 755 /system/bin/iptables
chmod 755 /system/bin/pand