cannot connect to wifi

Issues related to configuring your network
Post Reply
archsupport
Posts: 4
Joined: 2018/05/03 23:43:18

cannot connect to wifi

Post by archsupport » 2018/06/05 11:50:56

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


User avatar
TrevorH
Forum Moderator
Posts: 23032
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: cannot connect to wifi

Post by TrevorH » 2018/06/05 12:25:02

Are you using NetworkManager? If you are (it's the default) then you should probably set the connection up using either nmcli or nmtui.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

archsupport
Posts: 4
Joined: 2018/05/03 23:43:18

Re: cannot connect to wifi

Post by archsupport » 2018/06/05 18:59:03

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

Post Reply