[Openwrt] how to ssh OM?

Michael Zanetti michael_zanetti at gmx.net
Sat Jul 25 13:01:53 CEST 2009


On Saturday 25 July 2009 12:35:19 jumper dev wrote:
> hi,
>> how do I ssh OM using openwrt?
>> when I used om08 I used this script for ssh and internet access but it
> doesnt work with openwrt..
>> #!/bin/sh
>> > sudo ifconfig usb0 192.168.0.200
> > sudo /sbin/route add -host 192.168.0.202/32 dev usb0
> > sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
> > sudo iptables -P FORWARD ACCEPT
> > sudo sysctl -w net.ipv4.ip_forward=1
> > sudo scp /etc/resolv.conf root at 192.168.0.202:/etc/resolv.conf

Check out the wiki page:
http://wiki.openmoko.org/wiki/OpenWrt
See the bottom of the page on how to connect via usb.
Cheers,
Michael


More information about the community mailing list

AltStyle によって変換されたページ (->オリジナル) /