Page 1 of 1

activate wifi

Posted: Mon Jan 15, 2018 9:00 am
by christine
I have a nanopi neo plus 2. I follow instructions on this page http://wiki.friendlyarm.com/wiki/index. ... _NEO_Plus2 to have it connect to my wifi network using "sudo nmcli dev wifi connect "SSID" password "PASSWORD"" with the right ssid and pw. It doesn't work, I get "Error: Connection activation failed: (7) Secrets were required, but not provided."
What can I do to make it work?

Re: activate wifi

Posted: Mon Jan 15, 2018 5:52 pm
by guidol
christine wrote:
I have a nanopi neo plus 2. I follow instructions on this page http://wiki.friendlyarm.com/wiki/index. ... _NEO_Plus2 to have it connect to my wifi network using "sudo nmcli dev wifi connect "SSID" password "PASSWORD"" with the right ssid and pw. It doesn't work, I get "Error: Connection activation failed: (7) Secrets were required, but not provided."
What can I do to make it work?


I didnt use nmcli (because it doesnt work for me).
I got better exerience with
nmtui
which has a "graphical" interface in ASCII-form

There you can "edit a connection"
You need to add a /24 to the IP of the NanoPi for the Netmask 255.255.255.0 ( like 192.168.6.113/24)
but you dont need this for the Gateway and the DNS IP.

Be sure to enable "Automatically connect" at the end of the screen.

If you cant activate the connection directly - you maybe have to reboot to automatically connect at restart.

Re: activate wifi

Posted: Tue Jan 16, 2018 3:58 pm
by christine
Thank you. It supplied the wpa password, it did ask for that again a couple of times, but now it's connected. Thank you.

I'll see if I can get it to work with dhcp now.

Re: activate wifi

Posted: Tue Jan 16, 2018 8:15 pm
by guidol
christine wrote:
I'll see if I can get it to work with dhcp now.


for DHCP you have to edit your IPV4-WiFi Connection from "Manual" to "Automatic"

Glad to here that it works :)