SSH into Freerunner

Jim Colton jimcolt at gmail.com
Sat Jul 19 17:18:43 CEST 2008


The instructions in the wiki have always worked fine for me...

On Sat, Jul 19, 2008 at 9:12 AM, Spencer Raymond <skraymond at gmail.com>
wrote:

> It might be worth while to add these steps somewhere on the wiki.
>
> -SR
>
> On Sat, Jul 19, 2008 at 5:34 AM, Yoann B. <executionner at free.fr> wrote:
>
>>
>> Ok, I finally made it work !!!!!
>>
>> So, for those who are under 192.168.0.* network, and ubuntu, here's what
>> I
>> did :
>>
>> ** disconnect from network
>> 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
>>
>> In /etc/resolv.conf, replace "nameserver 192.168.0.200" by "nameserver
>> 192.168.2.202"
>> * not very useful, but give it a try
>> Still in freerunner, but on the device : "/etc/init.d/networking restart"
>>
>> 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 &
>>
>> On computer's, "/etc/init.d/networking/restart".
>> Then, in Firestarter (System -> Administration -> Firestarter), this
>> configuration :
>> - in politic, entry trafic, autorize connections from 192.168.2.202
>> - autorize service SSH port 22 for 192.168.2.202
>>
>> And the most important, in Preferences -> Firewall -> Network
>> configuration
>> :
>> Set local network device to "Unknown device (usb0)", and tick "Authorize
>> internet connection sharing"
>>
>> Then "Accept", on my computer it display an error message, but no matter.
>>
>> In a console, ssh root at 192.168.2.202 ... and it works !!!
>>
>> Thanks for your help all !
>>
>>
>> arne anka wrote:
>> >
>> >> 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
>> >
>> > we got that earlier today on the list and it turned out to be the
>> > firewall's fault -- probably your firewall ist shut down when you
>> shutdown
>> > your network.
>> > have a look at the firewall's configuration if so and add a rule for the
>> > openmoko.
>> >
>> > _______________________________________________
>> > 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-tp532402p551018.html
>> Sent from the Openmoko Support mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> support mailing list
>> support at lists.openmoko.org
>> https://lists.openmoko.org/mailman/listinfo/support
>>
>
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080719/0dc5b15b/attachment.htm 


More information about the support mailing list