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".
Asked
Active
Viewed 2.0k times
1 Answers
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"
Sergiy Kolodyazhnyy
- 105,154
- 20
- 279
- 497
wlan0or any wlan show up when you runiwconfig? What does it say ? What doessudo lshw -c networksay ? – Sergiy Kolodyazhnyy May 16 '15 at 18:27sudo lshw -c networkcorrectly ? this program is supposed to show what kind of hardware you have, so to at least start troubleshooting, we need to know which wireless card you have. – Sergiy Kolodyazhnyy May 16 '15 at 18:47lsusb– Sergiy Kolodyazhnyy May 16 '15 at 19:16lspci -nnk | grep -iA2 net; lshw -c net; rfkill list allYou can copy the command by highlighting with mouse/touchpad and copy, then click in the terminal window, then right click and select paste, then highlight the terminal results and right click and select copy. Edit your question to include this information – Jeremy31 May 17 '15 at 22:04