Saturday, January 2, 2010

Tether Palm pre without apps

http://forums.precentral.net/web-os-development/191082-tethered-pre-without-any-apps-ssh-scripts.html

1) ssh to the phone, sudo to root and go to /usr/bin

2) cp PmNetConfigManager PmNetConfigManager.orig just in case you mess something up

3) stop PmNetConfigManager

4) vi PmNetConfigManager and do a find for "forward" (with vi you use / then the string you are looking for)

5) the fourth "forward" you find should say "Disabling IP Forwarding^@0^@^@^@"

6) change the 0 to a 1, save and quit

7) iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

8) echo 1 > /proc/sys/net/ipv4/ip_forward

8) start PmNetConfigManager

No comments: