Cannot ssh to Freerunner
Nicolas Linkert
linkert at fastmail.fm
Mon Oct 6 23:43:59 CEST 2008
The following entry in /etc/network/interfaces allows me to log into the
FR - but then I have no access to the internet ...
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.100
dns-nameservers 192.168.0.100
dns-search gamma.vz
auto usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
On Mon, 06 Oct 2008 21:28:21 +0200, "Nicolas Linkert"
<linkert at fastmail.fm> said:
>
> On Mon, 6 Oct 2008 14:53:32 -0400, "Joel Newkirk"
> <freerunner at newkirk.us> said:
> > On Mon, 06 Oct 2008 20:42:41 +0200, "Nicolas Linkert"
> > <linkert at fastmail.fm>
> > wrote:
> > > Hi,
> > >
> > > no, that does not change anything.
> > >
> > > ifconfig usb0 192.168.0.200 netmask 255.255.255.0
> > > route add -host 192.168.0.202 gw 192.168.0.200
> > >
> >
> > >> > Host IP: 192.168.0.101
> > >> > DNS: 192.168.0.100
> > >> >
> > >> > On the host I do as root:
> > >> > ifconfig usb0 192.168.0.200 netmask 255.255.255.0
> > >> > ssh root at 192.168.0.202
> > >> >
> > >> > No route to host ... ?
> >
> > can you post the output of "ip a" and "ip r" on the host?
>
> ip a
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 00:1f:29:7f:4e:a5 brd ff:ff:ff:ff:ff:ff
> inet 192.168.0.101/24 brd 192.168.0.255 scope global eth0
> inet6 fe80::21f:29ff:fe7f:4ea5/64 scope link
> valid_lft forever preferred_lft forever
> 3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN qlen 1000
> link/ether 6e:6d:ef:52:f2:5b brd ff:ff:ff:ff:ff:ff
>
> ip r
>
> 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.101
> 169.254.0.0/16 dev eth0 scope link metric 1000
> default via 192.168.0.100 dev eth0
>
> >
> > What OS on the host? (well, OS presumably is 'linux' if you're able to
> > use
> > ifconfig usb0, but what distro?)
>
> Debian Lenny
>
> cu,
> Nick
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
More information about the community
mailing list