09-01-2017, 08:13 AM
(This post was last modified: 09-01-2017, 02:14 PM by MarkHaysHarris777.)
Greetings,
I ran into a small glitch while trying to manage wifi connection on my new xenial image using the i3wm tiling window manager; my ubuntu-mate image connected fine ( same hardware ) but I could not get the connection to work using the cli wpa_supplicant that I am used to.
The solution is really simple , as it turns out; use the cli version of Network-Manager !
First, I reinstalled Network-Manager; you may not need to do this step :
sudo apt isntall network-manager --reinstall
Then bring up the wlan0 interface :
sudo ip link set wlan0 up (optional)
and lastly start the connection with the nmcli tool :
nmcli d wifi connect <ssid> password <passphrase>
That's it.
use these commands to monitor the connections:
nmcli -p d
nmcli -p c
Notes:
nmcli d wifi
The above command is similar to scanning; will show the available SSID in the area.
Once a connection is established the connection is persistent; when you reboot the system it will attempt to establish that same connection again; similar to the gui nm.
I ran into a small glitch while trying to manage wifi connection on my new xenial image using the i3wm tiling window manager; my ubuntu-mate image connected fine ( same hardware ) but I could not get the connection to work using the cli wpa_supplicant that I am used to.
The solution is really simple , as it turns out; use the cli version of Network-Manager !
First, I reinstalled Network-Manager; you may not need to do this step :
sudo apt isntall network-manager --reinstall
Then bring up the wlan0 interface :
sudo ip link set wlan0 up (optional)
and lastly start the connection with the nmcli tool :
nmcli d wifi connect <ssid> password <passphrase>
That's it.
use these commands to monitor the connections:
nmcli -p d
nmcli -p c
Notes:
nmcli d wifi
The above command is similar to scanning; will show the available SSID in the area.
Once a connection is established the connection is persistent; when you reboot the system it will attempt to establish that same connection again; similar to the gui nm.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )