Ubuntu – How to connect to WiFi from Lubuntu

lubuntunetwork-managernetworkingwireless

After add the Manage Networks icon into the panel, I can see my Wi-Fi network on the list. So I click on the SSID and it prompt for a password. I enter the right or wrong password but nothing happens.

The access point is working fine, I have others devices connected to it working properly.

I've tried to compile the RTL8191SE driver but they have syntax errors.


More information:

lsmod

dmesg | tail -n 30

$ uname -a
Linux lucio-net 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lspci -nn | grep 0280
Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller [10ec:8172] (rev 10)

$ nmcli d
DEVICE TYPE             STATE
wlan0  802-11-wireless  disconnected

$ nm-tool
NetworkManager Tool

State: disconnected

- Device: wlan0
Type: 802.11 WiFi
Driver: rtl8192se
State: disconnected
Default: no

Capabilities:

Wireless Properties
 WEP Encryption: yes
 WAP Encryption: yes
 WAP2 Encryption: yes

Wireless Access Points
 [SSID]: Infra, [MAC], Freq 2462 MHz, Rate 54 Mb/s, Strength 100 WPA WPA2

Best Answer

  • I'm not sure you are using the network manager applet. I would recommend typing nm-applet and use that. In case you need a workaround with the command line, you can configure network manager using nmcli tool. The syntax for wireless connections is as follows:

    nmcli dev wifi connect <(B)SSID> [password <password>] [wep-key-type key|phrase] [iface <iface>] [bssid <BSSID>] [name <name>] [--private] [--nowait] [--timeout <timeout>]
    

    Just remove the things that you don't need and change the ones that you need. If you don't have a WEP network, just don't use the wep-key-type option. This should be enough for a simple WPA/2 connection:

    nmcli dev wifi connect mynetwork password my-password