at office i need to connect to local resources through wired network and internet thought wifi. I had tried enabling settings/network/ethernet/advanced settings/IPv4/Routes/Use this connection only for resources on its network. and i got the lan conection but the internet connection sometimes work and sometimes not, then i just need to unplug the cable, reload the browser and when i get back internet connection, replug the cable. Also i had tried looking for the ip route getting only the wireless conection as default:

default via dev wlp3s0  proto static  metric 600 dev wlp3s0  proto kernel  scope link  src  metric 600 dev enp2s0  proto kernel  scope link  src  metric 100 

In ubuntu-gnome 16.10 i got this working but in elementary loki i got this problem.

Some ideas about it?

Thanks in advance!

PD: Sorry for my bad english


1 Answer 1


i had solved this by adding some lines to /etc/network/interfaces

auto enp2s0
iface enp2s0 inet dhcp
metric 601

where enp2s0 is my wired interface and 601 is the new metric having wifi 600 metric.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.