Networking

Network Managers

The #connman could be a good choice if you want cli manager with fast connection speed and stable work.
Nevertheless there are other options for internet connection, you can check the full list here.
If you want something with GUI you could use #NetworkManager or Wicd.
You could use native systemd-networkd if you don't need wireless connection.

WARNING

If you enabled services before, make sure to disable everything that can be in conflict:

systemctl --type=service                # to check services that are running
systemctl disable service_name.service  # and disable active networkmanager.service / connman.service / et.c.

NetworkManager

Some desktop environments like GNOME that are using NetworkManager by default has a built-in tools, check network settings.

yay -S networkmanager

WARNING

By default, WIFI password are stored in clear text, see Encrypted passwords.

Front-ends

yay -S network-manager-applet
  • For KDE: E.g. if you have KDE you can install it's applet instead.
yay -S plasma-nm
  • Script: Also there is a good lightweight alternative I'm using with #xmonad, which is a small script to manage NetworkManager connections with dmenu/rofi instead of nm-applet:
yay -S networkmanager-dmenu-git
        You can

Connman

Connman itself is a command-line network manager. Check connman-notify readme to findout why you could use it.

yay -S connman

TIP

You may want to install connman_dmenu to have connman applet:

yay -S connman_dmenu 

Wired connection supported out of the box.

Config

For wireless setup you will need to do few more things.

connmanctl                       # Should enter connmanctl> shell
connmanctl> enable wifi          # Lets make sure that wifi is enabled.
connmanctl> scan wifi            # Scan for any Wi-Fi technologies.
connmanctl> services             # List of services.
connmanctl> agent on             # Register the agent to handle user requests.

You now need to connect to one of the protected services. You can use tab completion for the wifi_ service.

connmanctl> connect wifi_*****   # The agent will then ask you to provide any information the daemon needs to complete the connection.
connmanctl> quit                 # Exiting

If the information you provided is correct you should now be connected to the wifi.

VPN

Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.

yay -S wireguard-tool

#NetworkManager VPN support is based on a plug-in system:

yay -S networkmanager-wireguard-git

WARNING

VPN support could be unstable.

SSH

You can install ssh client with:

yay -S openssh
Last Updated: 12/30/2018, 10:56:45 PM