Difference between revisions of "Ubuntu"

From wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
The few things I needed to tweak are listed here.
 
The few things I needed to tweak are listed here.
  
===DNS resolving===
+
===NetworkManager===
  
In bionic-beaver (release 18.04) in  /etc/NetworkManager/NetworkManager.conf put the line <code>set dns=default</code> in the [main] section.
+
Networkmanager is a bad idea, just disable it and use /etc/network/interfaces to configure your network.
  
Since 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).
+
<syntaxhighlight lang=bash>
This local server sometimes is not working properly so disable it.
+
apt-get purge network-manager
 
+
vi /etc/network/interfaces
In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq"
+
auto <interface>
/etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that).
+
iface <interface> inet dhcp
 +
    wpa-ssid <ssid>
 +
    wpa-psk <password>
 +
</syntaxhighlight>

Revision as of 23:39, 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.

NetworkManager

Networkmanager is a bad idea, just disable it and use /etc/network/interfaces to configure your network.

apt-get purge network-manager
vi /etc/network/interfaces
auto <interface>
iface <interface> inet dhcp
    wpa-ssid <ssid>
    wpa-psk <password>