SSH into Freerunner

Yoann B. executionner at free.fr
Thu Jul 17 23:20:15 CEST 2008


Hello, here's what I did :

On freerunner /etc/network/interfaces I replaced by
iface usb0 inet static                         
        address 192.168.2.202                  
        netmask 255.255.255.0                  
        network 192.168.2.0                    
        gateway 192.168.2.200                  
        up echo nameserver 192.168.2.200 >/etc/resolv.conf

Reboot of freerunner, and then on my computer's /etc/network/interfaces :
auto usb0
iface usb0 inet static
   address 192.168.2.200
   netmask 255.255.255.0
   network 192.168.2.0
   up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.2.0/24 &
   up echo 1 > /proc/sys/net/ipv4/ip_forward &
   up iptables -P FORWARD ACCEPT &
   down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.2.0/24 &

And after that, a sudo /etc/init.d/networking restart
No response from a ssh root at 192.168.2.202, but works well after shutting
down network connection.

And when I try to ping (with network enabled) :
~$ ping 192.168.2.202
PING 192.168.2.202 (192.168.2.202) 56(84) bytes of data.
ping: sendmsg: Operation not permitted

Yoann


arne anka wrote:
> 
>> I tried to configure my freerunner under a 192.168.2.x network, but it's
> 
> what exactly did you do?
> 
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
> 
> 

-- 
View this message in context: http://n2.nabble.com/SSH-into-Freerunner-tp532402p534776.html
Sent from the Openmoko Support mailing list archive at Nabble.com.





More information about the support mailing list