Ubuntu: Difference between revisions

From wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[https://www.ubuntu.com/ Ubuntu] is a linux distribution derived from [https://www.debian.org/ debian]. It's a very nice plug&play OS with all features I need. The few things I needed to tweak are listed here.
[https://www.ubuntu.com/ Ubuntu] is a linux distribution derived from [https://www.debian.org/ debian]. It's a very nice plug&play OS with all features I need.
 
;cat /etc/os-release
;cat /etc/lsb-release
;lsb_release -a
:Show the currently installed version. os-release has most information.
 
==Modfications made==
 
The few things I needed to tweak are listed here.


===Disable dnsmasq===
===Disable dnsmasq===
The NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf).
In release 14 the NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf).
This local server sometimes is not working properly so disable it.
This local server sometimes is not working properly so disable it.


In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq"
In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq"
/etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that).
/etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that).
In bionic set dns=default in networkmanager.conf

Revision as of 19:10, 15 September 2018

Ubuntu is a linux distribution derived from debian. It's a very nice plug&play OS with all features I need.

cat /etc/os-release
cat /etc/lsb-release
lsb_release -a
Show the currently installed version. os-release has most information.

Modfications made

The few things I needed to tweak are listed here.

Disable dnsmasq

In release 14 the NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf). This local server sometimes is not working properly so disable it.

In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq" /etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that).

In bionic set dns=default in networkmanager.conf