View Single Post
Posts: 44 | Thanked: 277 times | Joined on Dec 2005
#803
Originally Posted by ggabriel View Post
Has anybody managed to use The Jolla as a USB modem (or bluetooth)? In other words, has anybody used it to access the internet using teethering?
With developer mode and ip forwarding it works great.

Set up the network, set the device ip as gateway, make sure your pc has a valid dns set (if not set 8.8.8.8) And put this in a script you execute after devel-su on the phone.

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
/sbin/iptables -A FORWARD -i rmnet0 -o rndis0 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i rndis0 -o rmnet0 -j ACCEPT
 

The Following 25 Users Say Thank You to Philippe For This Useful Post: