2

I have been trying to get Wi-Fi to work on Ubuntu 14.04 (I just don't and can't get ethernet) I have been trying too follow the guidline here: ubuntu 14.04 connect to a wifi network using command line but it wouldn't scan because it said "Interface doesn't support scanning".

Turon
  • 33

1 Answers1

2

You might be better off using nmcli instead of the method described in the answer you followed. To list available wifi access points (aka routers ) in range:

nmcli dev wifi

To connect to a network for the first time, follow the example in the man nmcli:

nmcli dev wifi con "Cafe Hotspot 1" password caffeine name "My cafe"

To check if you are connected , use nmcli device status or nmcli dev list (14.04) , or nmcli dev show for 15.04

If you already have a connection established, nmcli con list for 14.04 or nmcli con show for 15.04.

If you want to connect to one of those connections listed by nmcli con lsit, do nmcli con up id "My Network Name"