Process of Connecting a Network

  1. Start up network interface by ip or ifconfig
ip link set wlan0 up
ifconfig wlan0 up  # apt install net-tools
  1. Ensure wireless is enabled using rfkill: The wireless capability is not disabled by a hardware switch. If the wireless device is listed as blocked, the user is proposed to unblock it.
rfkill list
rfkill unblock wifi
  1. Configure the network connection
    • Wired
    • Wireless
dhclient wlan0  # Get an IP address
nmcli device wifi list  # List available Wi-Fi networks
nmcli device wifi connect [SSID] password [password] ifname wlan0  # Connect to [SSID] network