How can I enable the wifi in CentOS 7?

Issues related to configuring your network
Post Reply
Carlos Cipriano
Posts: 4
Joined: 2017/06/09 16:31:15

How can I enable the wifi in CentOS 7?

Post by Carlos Cipriano » 2017/06/09 16:42:43

I just installed CentOS 7 and I came across the following problem: first his wifi was not activated (which I found really strange); And second, only airplane mode was activated; And third, when I tried to connect the wifi, the "on / off" button (both the network manager and the option that appears after we clicked on the upper right side of the gnome) seemed to be stuck. And just to avoid redundancies, I've already tried using the rfkill unblock command WirelessPathname - and it did not work. Even I tried to follow the resolution tutorial for this problem suggested by the distro itself (in "Help") and also did not solve it (it seemed that the commands do not work in this last distribution). Could someone give me a light to solve this problem? - because, until now, I can only connect via cable, and I need a lot of my wifi running.

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: How can I enable the wifi in CentOS 7?

Post by scottro » 2017/06/09 18:41:26

Does lspci or ip sh dev show the wireless card?

I like to disable NetworkManager and try with the basic tools. I have a somewhat dated page on it at http://srobb.net/wireless.html
New users should check the FAQ and Read Me First pages

Carlos Cipriano
Posts: 4
Joined: 2017/06/09 16:31:15

Re: How can I enable the wifi in CentOS 7?

Post by Carlos Cipriano » 2017/06/10 00:07:21

I use the lspci, e see the result:

[root@localhost leonardo]# lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: How can I enable the wifi in CentOS 7?

Post by scottro » 2017/06/10 10:21:16

Ok, that means it sees the card. Next, I would try what that page I linked mentions, disabling NetworkManager and seeing if that helps, running iwlist scan and so on.
(You will need to install wireless-tools package).

Code: Select all

06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)]
New users should check the FAQ and Read Me First pages

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How can I enable the wifi in CentOS 7?

Post by TrevorH » 2017/06/10 10:54:38

Could you please run lspci -nn | grep -i wireless and post that so we can see the PCI vendor:device id for this card. If it is 0x168c:0x0036 then it ought to be supported by the atk9k kernel module.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Carlos Cipriano
Posts: 4
Joined: 2017/06/09 16:31:15

Re: How can I enable the wifi in CentOS 7?

Post by Carlos Cipriano » 2017/06/10 14:18:32

[root@localhost sysconfig]# lspci -nn | grep -i wireless
06:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)

Carlos Cipriano
Posts: 4
Joined: 2017/06/09 16:31:15

Re: How can I enable the wifi in CentOS 7?

Post by Carlos Cipriano » 2017/06/10 14:21:37

Well, I figured out why the wifi was not working - it was because I did not "plug it in" through the correct laptop keyboard buttons. However, now I have a new problem: CentOS 7 turns on Wi-Fi, but when I ask to identify the available Wi-Fi networks, it keeps looking, and never finds any. And it repeats itself infinitely, without it seeing the WiFi network of my house. And one detail: I'm beside the Access Point. So, what can I do to make CentOS 7 able to see the wifi networks available in my neighborhood?

Post Reply