Anyone got Wifi working with WPA2?

I tried running wpa_supplicant after generating the /etc/wpa_supplicant.conf but it keep saying the key is wrong. I double checked with my current wifi setup it seems to be correct. Is there any specific flag I need to use for wlan0? My current wifi is on WPA2-personal . When I setup for other stuff usually I only need the ssid and password so not sure what I am missing here.

Welcome to Armbian Bionic with Linux 4.4.210-rockchip64

System load:   0.00 0.01 0.00  	Up time:       15 min		
Memory usage:  2 % of 3874MB 	IP:            xx.x.xx.108 xx.x.xx.113
CPU temp:      57°C           	
Usage of /:    4% of 30G    	

[ General system configuration (beta): armbian-config ]

Last login: Thu Jan 16 16:47:14 2020

root@rockpi:~# iwconfig 
lo        no wireless extensions.

wlan0     IEEE 802.11  ESSID:"MYHOMEAP"  
      Mode:Master  Frequency:5.24 GHz  Access Point: xx:xx:xx:xx:xx:xx   
      Bit Rate=195 Mb/s   Tx-Power:32 dBm   
      Retry min limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Managementmode:All packets received
      Link Quality=4/5  Signal level=-60 dBm  Noise level=-90 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

Connected with Network manager (nmtui-connect) My AP is WPA2 only.

root@rockpi:~# cat /etc/armbian-release 
# PLEASE DO NOT EDIT THIS FILE
BOARD=rockpi-4b
BOARD_NAME="RockPi-4B"
BOARDFAMILY=rockchip64
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=baf55cd9
DISTRIBUTION_CODENAME=bionic
DISTRIBUTION_STATUS=supported
VERSION=19.11.8
LINUXFAMILY=rockchip64
BRANCH=legacy
ARCH=arm64
IMAGE_TYPE=user-built
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image

Speed test (cca. 10m from router):

[  4]   0.00-1.00   sec  18.0 MBytes   151 Mbits/sec    0   2.68 MBytes
[  4]   1.00-2.00   sec  17.4 MBytes   146 Mbits/sec    0   2.68 MBytes
[  4]   2.00-3.00   sec  17.1 MBytes   143 Mbits/sec    0   2.68 MBytes
[  4]   3.00-4.00   sec  17.7 MBytes   148 Mbits/sec    0   2.68 MBytes
[  4]   4.00-5.02   sec  18.3 MBytes   150 Mbits/sec    0   2.68 MBytes
[  4]   5.02-6.00   sec  16.6 MBytes   142 Mbits/sec    0   2.68 MBytes
[  4]   6.00-7.00   sec  18.5 MBytes   155 Mbits/sec    0   2.68 MBytes
[  4]   7.00-8.00   sec  17.7 MBytes   148 Mbits/sec    0   2.68 MBytes
[  4]   8.00-9.00   sec  17.6 MBytes   148 Mbits/sec    0   2.68 MBytes

Yeah that is so odd… if possible can you show me your full wpa_supplican call syntax? I am not doubting someone can do it but I just don’t understand why it doesn’t work for me…

any btw it is a model 4B before anyone asking if it is a model B v1.3 I can see that on the MB

I don’t use WPA but Network manager (nmtui-connect “SSID” + password is all I do) … which is even less resilient for troubles.

The same as mine.