If you want to connect to a wireless network on Ubuntu or any other Debian based Linux distro, one of the many ways to do it is by editing the /etc/network/interfaces
file with your Wi-Fi network info.
This is a companion discussion topic for the original entry at https://linuxconfig.org/etcnetworkinterfacesto-connect-ubuntu-to-a-wireless-network