SSH into Freerunner

Abel Chang changzer at gmail.com
Tue Jul 22 05:15:27 CEST 2008


hi!

i followed these steps, and the wiki's as well... still couldnt get my
freerunner to "opkg upgrade" or "opkg update"
could anyone tell me in a very easy step-by-step way?
thanks a lot.

On Sat, Jul 19, 2008 at 12:18 PM, Jim Colton <jimcolt at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>
>


-- 
Best regards,

Abel Chang - 張東龍
Graphic & Product Designer
http://coroflot.com/changzer
---

NOTICE: The information contained in this e-mail is confidential or may
otherwise be legally privileged. It is intended for the named recipient
only. If you have received it in error, please notify us immediately by
reply or by calling the telephone number above and delete this message and
all its attachments. Please note that any unauthorized review, copying,
disclosing or otherwise making use of the information is strictly
prohibited. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080722/09387dd9/attachment.htm 


More information about the support mailing list