SSH into Freerunner

shawn sullivan shelbydz at gmail.com
Tue Jul 22 23:11:19 CEST 2008


Hi Able,

You'll not only need to be able to USB into the FR, but the device will
need an internet connection. As arne said, please elaborate on the
problem and we'll help out!

Abel Chang wrote:
> 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 
> <mailto: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 <mailto: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
>         <mailto:executionner at free.fr>> wrote:
> 
> 
>             Ok, I finally made it work !!!!!
> 
>             So, for those who are under 192.168.0. <http://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 <http://192.168.2.202>
>                    netmask 255.255.255.0 <http://255.255.255.0>
>                    network 192.168.2.0 <http://192.168.2.0>
>                    gateway 192.168.2.200 <http://192.168.2.200>
>                    up echo nameserver 192.168.2.200
>             <http://192.168.2.200> >/etc/resolv.conf
> 
>             In /etc/resolv.conf, replace "nameserver 192.168.0.200
>             <http://192.168.0.200>" by "nameserver
>             192.168.2.202 <http://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 <http://192.168.2.200>
>               netmask 255.255.255.0 <http://255.255.255.0>
>               network 192.168.2.0 <http://192.168.2.0>
>               up iptables -A POSTROUTING -t nat -j MASQUERADE -s
>             192.168.2.0/24 <http://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 <http://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 <http://192.168.2.202>
>             - autorize service SSH port 22 for 192.168.2.202
>             <http://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
>             <mailto: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 <http://192.168.2.202>
>              >> PING 192.168.2.202 <http://192.168.2.202> (192.168.2.202
>             <http://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
>             <mailto: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 <mailto:support at lists.openmoko.org>
>             https://lists.openmoko.org/mailman/listinfo/support
> 
> 
> 
>         _______________________________________________
>         support mailing list
>         support at lists.openmoko.org <mailto:support at lists.openmoko.org>
>         https://lists.openmoko.org/mailman/listinfo/support
> 
> 
> 
>     _______________________________________________
>     support mailing list
>     support at lists.openmoko.org <mailto:support at lists.openmoko.org>
>     https://lists.openmoko.org/mailman/listinfo/support
> 
> 
> 
> 
> -- 
> Best regards,
> 
> Abel Chang - 張東龍
> Graphic & Product Designer
> http://coroflot.com/changzer
> ---





More information about the support mailing list