How to create a network bridge interface? (Ubuntu)

There’s a 5 minute timeout for bringing up network interfaces that you might run into if you configure your network interface in /etc/network/interfaces. Here’s a way to configure the bridge interface br0 in /etc/network/interfaces so that you won’t run into this timeout.

Continue reading “How to create a network bridge interface? (Ubuntu)”


How to configure your WLAN interface in the interfaces file?(take 2)

Getting back to the topic of wireless interface configuration in /etc/network/interfaces, I wrote this blog post earlier in 2015:

Continue reading “How to configure your WLAN interface in the interfaces file?(take 2)”

How to configure a new wireless connection through the CLI? (Ubuntu)

$ nmcli device wifi connect wlan_ssid password your_password

How to activate a previously defined wireless connection through cli?

$ nmcli --ask conn up id wlan_ssid

How to configure the Windows NTP client?

Set your time zone in Control panel/Date and time

Continue reading “How to configure the Windows NTP client?”

My samba configuration

Disable offloading for the network interface eth1:

# /sbin/ethtool -K eth1 tso off
# /sbin/ethtool -K eth1 gso off

Continue reading “My samba configuration”

How to list DNS servers that network-manager uses? (Ubuntu 14.04/16.04)

On Ubuntu 14.04:

$ nmcli dev list | grep -i dns

On Ubuntu 16.04, first list all the connections:

$ nmcli con show
NAME                UUID                                  TYPE             DEVICE  
docker0             19d065fc-b97f-4421-b839-127d95c07c51  bridge           docker0 

Then list the settings of one connection:

$ nmcli con show docker0 | grep -i dns

Using Xnest to start another Xorg session (Kubuntu)

You can enable xdmcp access to the local Xorg login manager.

Continue reading “Using Xnest to start another Xorg session (Kubuntu)”

How to mount network shares with autofs?

1) Install cifs-utils and autofs packages
# apt-get install cifs-utils autofs

Continue reading “How to mount network shares with autofs?”

Blog at

Up ↑