system

Ubuntu Wifi Settings

A short technical note outlining the basic approach and applicable steps on Ubuntu Wifi Settings.

In step 1, let’s check the existing network hardware and find out its name.

$ ls /sys/class/net
  eth0 lo wlan0
  1. Let’s check the network config file

$ ls /etc/netplan
  50-cloud-init.yaml

  1. Let’s register the wifi network

$ sudo edit /etc/netplan/50-cloud-init.yaml

addition to file content

network:
    wifis:
        wlan0:
            optional: true
            dhcp4: true
            access-points:
                "<WIFI SSID>":
                    password: "<WIFI Password>"
            

We apply the settings

$ sudo netplan apply
$ sudo reboot

After restarting, if your wifi information is correct and wifi access point is on, the connection will be established.

Detailed Information