lost the ability to ssh

jeremy jozwik jerjoz.forums at gmail.com
Mon Sep 6 05:36:59 CEST 2010


hello list, its been a while!

i recently re-installed my debian laptop. i have been trying to
connect via usb to my freerunner with no luck.
ive done it before on this system prior to the re-install.

its been over a year since i have had to manually connect to my
freerunner. i believe i have forgotten how....

normal daily access was done via a script on my desktop:
-------------------------------
#!/bin/sh

ip address add 192.168.0.200/24 dev eth0
ip link set dev eth0 up
ifconfig eth0 192.168.0.200 netmask 255.255.255.0 up
route add -host 192.168.0.202 dev eth0
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sysctl -w net.ipv4.ip_forward=1

------------------------------
when running

ip address add 192.168.0.200/24 dev eth0
ip link set dev eth0 up
ifconfig eth0 192.168.0.200 netmask 255.255.255.0 up
route add -host 192.168.0.202 dev eth0

$ ssh root at 192.168.0.202
ssh: connect to host 192.168.0.202 port 22: No route to host

and its not connecting as usb0

# ip address add 192.168.0.200/24 dev usb0
Cannot find device "usb0"
# ip link set dev usb0 up
Cannot find device "usb0"
# ifconfig usb0 192.168.0.200 netmask 255.255.255.0 up
SIOCSIFADDR: No such device
usb0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
usb0: ERROR while getting interface flags: No such device
# route add -host 192.168.0.202 dev usb0
SIOCADDRT: No such device

ive gone thought the usb networking page on the wiki and nothing seems
to be running.
http://wiki.openmoko.org/wiki/Usb_networking

anyone see errors in my methods? anyone know what i can check to make
freerunner connection back up?



More information about the community mailing list