On 06/10/2016 10:38 AM, Chris Murphy wrote:
On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens ricks@alldigital.com wrote:
On 06/10/2016 09:42 AM, Chris Murphy wrote:
Hi,
How do I tell NetworkManager to default to wireless? The environment I'm in provides internet only via wireless, so that needs to be the default route, if that's the proper term. Right now it's defaulting to wired and since there's no internet via that route, the web browser hangs.
Hi Chris,
You could try a technique used by VPNs that avoids redefining the default route. The default route is used when nothing else matches so you create a "virtual" default route that takes precedence by splitting the ipv4 address space in two.
ip r a 0.0.0.0/1 via "wireless gateway ip" dev wireless_device ip r a 128.0.0.0/1 via "wireless gateway ip" dev wireless_device
That should accomplish what you want.
Mike Wright