[Openwrt] how to ssh OM?

jumper dev dev.jumper at gmail.com
Sat Jul 25 14:57:20 CEST 2009


the problem is my router uses that address (192.168.1.1) ..


On Sat, Jul 25, 2009 at 2:01 PM, Michael Zanetti <michael_zanetti at gmx.net>wrote:

> 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
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090725/2fed18d5/attachment.htm 


More information about the community mailing list