DevHeads.net

setting the network interface

I do remember that some time ago Ubuntu stopped using a static
resolv.conf but I just can't figure out how to set it up now.
I read the manual and it suggests using pre-up and ethtool but I
remember that there is a way of defining the interface by editing
a file, just can't figure out which one.

bill

Comments

Re: setting the network interface

By Xen at 10/14/2017 - 15:32

william drescher schreef op 14-10-2017 20:55:
I thought /etc/resolv.conf was a symlink?

What version of Ubuntu do you mean?

Stuff has changed in 16.10.

NetworkManager uses a stripped down version of dnsmasq but...

I think you can just remove the symlink and replace it?

Re: setting the network interface

By bill at 10/15/2017 - 06:59

On 10/14/2017 3:32 PM, Xen wrote:
16.04
There used to be a conf file. Now I believe the conf is generated
on the fly, but there is a place to put the defaults you want...I
think.
bill

Re: setting the network interface

By Jay Ridgley at 10/15/2017 - 07:57

On 10/15/2017 05:59 AM, william drescher wrote:
Cheers,
Jay

Re: setting the network interface

By bill at 10/15/2017 - 11:08

On 10/15/2017 7:57 AM, Jay Ridgley wrote:
Thanks Jay, that was it.
bill

Re: setting the network interface

By compdoc at 10/14/2017 - 15:12

I add 'dns-nameservers'  to /etc/network/interfaces