connection Trisquel-3.0 to Neo FreeRunner

Keine Antworten
ayobayo
Offline
Beigetreten: 09/22/2009

If you like to connect the Neo FreeRunner to your Trisquel-3.0 computer you can just follow the instructions for "Debian, Ubuntu and others" at the openmoko wiki:
http://wiki.openmoko.org/wiki/USB_Networking#Simple_Manual_Linux_Configuration
But when you ssh into the FreeRunner you may find it impossible to connect to the internet from it. So you will not be able to install, update programmes, browse or upgrade (which will most likely brake the installed OS anyway). You can however push data around from the computer to the Neo and back. Hardly what you want.
The problem lies with masquerading and luckily the fix is also available on the same wiki page:

sudo iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT
sudo iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPT
sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sudo bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'

After issuing these iptable commands in the terminal the connection to the internet through the computer worked fine with me.