blumph at gmail.com
Wed Aug 27 02:08:32 CEST 2008
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).
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)
More information about the community