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 r...@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@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community