[default] no route past ssh'd computer

William Kenworthy billk at iinet.net.au
Sun Dec 28 01:29:23 CET 2008


Just configure the freerunner for a different IP and have the linux box
nat it out onto the network.

On my network, I subnet the 192.168.0 into 192.168.0.0/30 and
192.168.0.192/27 so they stay separate and I dont have to worry about
the ADSL modem - more problematic than the FR to stay configured.

Permanent fix is to move your network away from 192.168.0 altogether and
curse the stupidity of whoever chose 192.168.0 in the first place :)

BillK



On Sat, 2008-12-27 at 16:08 -0800, Rodney Myers wrote:
> Debian stable & OM default w/updates. OM is not my daily phone, yet.
> 
> My debian machine is 192.168.0.101, the default GW is 192.168.0.1
> 
> Was able to get the default install onto the net, and grab updates a  
> few weeks ago. Right after I did the update, now I am not able to get  
> back onto the net.
> 
> my OM /etc/network/interfaces, options, ifconfig, & netstat -er
> 
> cat /etc/network/interfaces
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> 
> # The loopback interface
> auto lo
> iface lo inet loopback
> 
> # Wireless interfaces
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_essid any
> iface atml0 inet dhcp
> 
> # Wired or wireless interfaces
> iface eth0 inet dhcp
> iface eth1 inet dhcp
> 
> # Ethernet/RNDIS gadget (g_ether)
> # ... or on host side, usbnet and random hwaddr
> auto usb0
> iface usb0 inet static
> 	address 192.168.0.202
> 	netmask 255.255.255.0
> 	network 192.168.0.0
> 	gateway 192.168.0.1
> 	up echo nameserver 192.168.0.1 >/etc/resolv.conf
> 
> cat /etc/network/options
> ip_forward=no
> spoofprotect=yes
> syncookies=no
> 
> ifconfig
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>            RX packets:29 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:3120 (3.0 KiB)  TX bytes:3120 (3.0 KiB)
> 
> usb0      Link encap:Ethernet  HWaddr 4A:2B:DF:D4:5C:14
>            inet addr:192.168.0.202  Bcast:192.168.0.255  Mask: 
> 255.255.255.0
>            inet6 addr: fe80::482b:dfff:fed4:5c14/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:1201 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:740 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:95353 (93.1 KiB)  TX bytes:91729 (89.5 KiB)
> 
> 
> 
> netstat -er
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref     
> Use Iface
> 192.168.0.0     *               255.255.255.0   U     0      0         
> 0 usb0
> default         192.168.0.1     0.0.0.0         UG    0      0         
> 0 usb0
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy <billk at iinet.net.au>
Home in Perth!





More information about the community mailing list