Problem in logging in freerunner through ssh
Andy Green
andy at openmoko.com
Thu Jul 17 21:53:22 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| pay attention that if you ssh to that other computer you'll get the same
| warning.
|
| note: 192.168.0.202 is IANA private use, so it's normal to have
| duplicates of that IP among different
| network
My local network is 192.168.0.0/24, so it makes a problem to route to
Freerunner default IP... I use this script as root on my Fedora host
laptop to take care of assigning an IP and hst route and whenever I hook
a Freerunner up
#!/bin/sh
while [ 1 ] ; do
~ sleep 5s
~ if [ ! -z "`ifconfig usb0`" ] ; then
~ if [ -z "`ifconfig usb0 | grep "inet addr"`" ] ; then
~ ifconfig usb0 192.168.0.200
~ route add 192.168.0.202 usb0
~ route del -net 192.168.0.0 netmask 255.255.255.0 usb0
~ fi
~ fi
done
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkh/oxMACgkQOjLpvpq7dMqjCQCeOSkqqK3uX46zbVcrXyECJgZO
39cAnRmvEXzE+Bonil+Nb6+IwbBHt1mv
=sSqR
-----END PGP SIGNATURE-----
More information about the community
mailing list