Page 1 of 1

cannot connect to wifi

Posted: 2018/06/05 11:50:56
by archsupport
I'm running a CentOS7 server in multi-user target and thus do not have a GUI.

Code: Select all

[root@host ~]# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
ap_scan=1

network={
	ssid="bmw216"
	#psk="PASSWORD"
	psk=3b44fbdcbcf06e6d1388e1781d3c54f49e2d7bfe1cbcbc998fb3b134c546954c
}

Code: Select all

[root@host ~]# wpa_supplicant -B -i  wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf dhclient wlp1s0
Successfully initialized wpa_supplicant
nl80211: Could not set interface 'p2p-dev-wlp1s0' UP
nl80211: deinit ifname=p2p-dev-wlp1s0 disabled_11b_rates=0
p2p-dev-wlp1s0: Failed to initialize driver interface
P2P: Failed to enable P2P Device interface


Re: cannot connect to wifi

Posted: 2018/06/05 12:25:02
by TrevorH
Are you using NetworkManager? If you are (it's the default) then you should probably set the connection up using either nmcli or nmtui.

Re: cannot connect to wifi

Posted: 2018/06/05 18:59:03
by archsupport
Thanks for your reply Trevor. I needed to install NetworkManager-wifi and now I'm able to attempt to connect, but the connection fails. It keeps prompting me for the password via nmtui which I've double checked and is correct.

Image