Search

atkdinosaurus

Category

Networking

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

$ nmcli device wifi connect wlan_ssid password your_password
Advertisements

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?”

How to accept passive DCC in irssi?

In active DCC, your client connects to the remote client that is serving the file.
In passive DCC, your client will open a port that the remote client connects to to send the file.

Continue reading “How to accept passive DCC in irssi?”

How to prefer IPv4 addressing instead of IPv6 in Linux ?

Edit /etc/gai.conf and uncomment the precedence lines:

Continue reading “How to prefer IPv4 addressing instead of IPv6 in Linux ?”

Blog at WordPress.com.

Up ↑