On Wed, 27 Aug 2008, nickd wrote: > Joel Newkirk wrote: > > Derick Rethans wrote: > > > >> I get a DHCP lease, with nameservers and all, the route is correct too. > >> However, I can't do any sort of connection - nor ping. > >> > >> Try "ip r" and see if it lists two default routes - one out usb0 and one > >> out eth0. If it does, try "ip r d default via 192.168.0.200" to delete the > >> route pointing out usb0, and see if that resolves it for you. (Linux > >> supports multiple default routes, but there should be a 'metric' specifying > >> priority, or advanced custom routing tables to support multiple > >> simultaneous uplinks - like load-balancing traffic on two DSL lines from > >> one network)
Yeah, I did this of course. Only one default route is left. > I've experienced the same thing as the OP. Running Windows as my hosts > means it's a pain to set it up as a router, so I connect via Wifi and > use it for everything. My solution is to put the following in my > /etc/network/interfaces under eth0: > > up route del default gw 192.168.0.200 > > This will remove your computer as the default gateway and use the > wireless one when the interface is brought up. Sometimes it fails so > I've had to put it in twice (yet to look into this). Okay, I'll see if that does the trick then -- but I am sure I only had one route left in the "route -n" output. regards, Derick -- HEAD before 5_3!: http://tinyurl.com/6d2esb http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community