Lubuntu connect to wifi

sudo apt-get install network-manager-gnome

By default, NetworkManager does not manage interfaces that appear in /etc/network/interfaces. You can change this behaviour.

backup the current interfaces file:

sudo cp /etc/network/interfaces /etc/network_interfaces_backup Then open the file:

sudo nano /etc/network/interfaces Delete everything in that file and copy and paste the following:

auto lo iface lo inet loopback Save, stop and start network manager:

sudo service network-manager restart reboot