How to manage Wifi in xenial-i3 i3wm image UPDATE
#1
Information 
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.

Shy

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    Cool

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! )
#2
nmtui also worked well for me if you want something terminal based but more friendly - its more gui-like than cli-like.

I didn't have to install anything - it seemed to be included with my system which was i3 installed on the stock Mate image.

Andy
#3
(09-01-2017, 02:49 PM)AndyK Wrote: nmtui also worked well for me if you want something terminal based but more friendly - its more gui-like than cli-like.


thanks AndyK !

... ncurses based looks like;  its on my system and I tried it out;  thanks a lot/

Shy
marcushh777    Cool

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! )
#4


I installed the mate-terminal ( i3wm standard terminal and font are just too small for my eyes ).

... anyway,  the  nmtui  looks much better on the mate-terminal ( when using a larger font ) using a full sized window for the terminal IMHO.

... especially when editing connections !

Wink
marcushh777    Cool

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! )
#5
(09-01-2017, 02:49 PM)AndyK Wrote: nmtui also worked well for me if you want something terminal based but more friendly - its more gui-like than cli-like.

i think tui is the word you're looking for ;-)

Quote:I didn't have to install anything - it seemed to be included with my system which was i3 installed on the stock Mate image.
nmtui belongs to networkmanager, as the name suggests.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Write image to eMMC - Pinebook 11.6" irongarment 4 4,879 01-04-2022, 09:22 PM
Last Post: irongarment
  Wifi doesn't work correctly Fredric92 1 4,307 08-10-2021, 08:39 AM
Last Post: Jean-Marc LACROIX
Question Ran apt update on my Pinebook.. ford442 0 3,183 12-25-2020, 04:40 PM
Last Post: ford442
  Flakey WIFI (problems authenticating, etc.) robbiemacg 6 10,392 12-15-2019, 04:31 AM
Last Post: matze79
  KDE Neon Image - Where can i find the Kernel Source ? matze79 4 6,862 08-14-2019, 04:27 AM
Last Post: matze79
  Armbian - Xenial Desktop (Pinebook) pineadmin 83 126,432 07-17-2019, 01:22 PM
Last Post: catsmile
  Adding coherent_pool to boot.cmd on Xenial Mate by Ayufan causes boot loop k_mp 0 2,208 06-11-2019, 01:36 PM
Last Post: k_mp
  Wifi I/F on Pinebook 11.6" eblot 2 4,820 05-19-2019, 04:53 PM
Last Post: Shoananas
  KDE Neon Pinebook remix edition RC image bshah 67 134,066 05-18-2019, 11:44 AM
Last Post: rookieone
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 15,892 05-01-2019, 12:09 PM
Last Post: frank-zappa

Forum Jump:


Users browsing this thread: 1 Guest(s)