[Solved] No Wi-Fi adapter found on CentOS 7.9

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
I installed CentOS 7.9 on my machine yesterday. I installed "Server with GUI". Before installing "Server with GUI", I installed 'Minimal installation'. But in either case I can't connect to the internet via wirelessly. I tried a lot of solution, but nothing works!!
When I run ip a, it shows my wifi adapter. But not connected. Wi-Fi option is hashed on my menu bar.
When I run nmcli conn, it only shows ehternet device.
When I run nmcli d, it listed my wi-fi adapters as "unavailable".
How can I solve this problem?
Any help will be highly appreciated!
Thank you.
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,717
Reaction score
3,176
Credits
35,070
but nothing works!!
could be more than one solution, is it an internal or external [usb] adapter
do you know which make/model the adapter is [some are not supported out of the box]
Did it work on any other previous Linux installation?
can you submit the full make and model of the box your running? [there may be a known problem with the hardware]
Bwiz
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Share the output of the following.
Code:
nmcli dev show
nmcli con show
ip a
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
could be more than one solution, is it an internal or external [usb] adapter
do you know which make/model the adapter is [some are not supported out of the box]
Did it work on any other previous Linux installation?
can you submit the full make and model of the box your running? [there may be a known problem with the hardware]
Bwiz
It worked fine with Ubuntu 20.04 LTS
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
Share the output of the following.
Code:
nmcli dev show
nmcli con show
ip a
nmcli dev show
GENERAL.DEVICE: enp0s20u2
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 02:51:40:29:4C:CA
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/4
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.42.241/24
IP4.GATEWAY: 192.168.42.129
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.42.129, mt = 100
IP4.ROUTE[2]: dst = 192.168.42.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]: 192.168.42.129
IP6.ADDRESS[1]: fe80::7836:8462:403e:1bd6/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255

GENERAL.DEVICE: virbr0
GENERAL.TYPE: bridge
GENERAL.HWADDR: 52:54:00:A4:B7:63
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: virbr0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]: 192.168.122.1/24
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 192.168.122.0/24, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --

GENERAL.DEVICE: virbr0-nic
GENERAL.TYPE: tun
GENERAL.HWADDR: 52:54:00:A4:B7:63
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: virbr0-nic
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2

GENERAL.DEVICE: p4p2
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 14:18:77:D4:58:39
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off

GENERAL.DEVICE: wlp0s20u1
GENERAL.TYPE: wifi
GENERAL.HWADDR: AA:AC:A8:86:E6:17
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --

GENERAL.DEVICE: wlp6s0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 8A:38:2E:5F:13:D8
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --

GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY:

nmcli con show
NAME UUID TYPE DEVICE
Wired connection 1 5b1c1ea8-2d1e-3756-964c-4a2e7f3960a2 ethernet enp0s20u2
virbr0 2246d95f-1c14-4850-a677-6b3d85384664 bridge virbr0
virbr0-nic 343a9e48-af18-46b7-8cdb-52f0b3b7ffdd tun virbr0-nic
p4p2 54f6dba7-e36f-44a7-bb7c-63de7e5effc1 ethernet --

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: p4p2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 14:18:77:d4:58:39 brd ff:ff:ff:ff:ff:ff
3: wlp0s20u1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether aa:ac:a8:86:e6:17 brd ff:ff:ff:ff:ff:ff
4: wlp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 8a:38:2e:5f:13:d8 brd ff:ff:ff:ff:ff:ff
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:a4:b7:63 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
6: virbr0-nic: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:a4:b7:63 brd ff:ff:ff:ff:ff:ff
8: enp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 02:51:40:29:4c:ca brd ff:ff:ff:ff:ff:ff
inet 192.168.42.241/24 brd 192.168.42.255 scope global noprefixroute dynamic enp0s20u2
valid_lft 2883sec preferred_lft 2883sec
inet6 fe80::7836:8462:403e:1bd6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Can you please put CODE tags around the output to prevent certain letter and punctuation combinations to turn into smilies. Do you have NetworkManager-wifi installed, if not install it and then restart NetworkManager and then share the output of these again.
Code:
nmcli con show
nmcli dev show
 
Last edited:
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
Can you please put CODE tags around the output to prevent certain letter and punctuation combinations to turn into smilies. Do you have NetworkManager-wifi installed, if not install it and then restart NetworkManager and then share the output of these again.
Code:
nmcli con show
nmcli dev show
Yes, I have NetworkManager-wifi installed
Code:
nmcli con show
NAME                UUID                                  TYPE      DEVICE     
Wired connection 1  5b1c1ea8-2d1e-3756-964c-4a2e7f3960a2  ethernet  enp0s20u2  
virbr0              2246d95f-1c14-4850-a677-6b3d85384664  bridge    virbr0     
virbr0-nic          343a9e48-af18-46b7-8cdb-52f0b3b7ffdd  tun       virbr0-nic 
p4p2                54f6dba7-e36f-44a7-bb7c-63de7e5effc1  ethernet  --         

nmcli dev show
GENERAL.DEVICE:                         enp0s20u2
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         02:51:40:29:4C:CA
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/4
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.42.241/24
IP4.GATEWAY:                            192.168.42.129
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.42.129, mt = 100
IP4.ROUTE[2]:                           dst = 192.168.42.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]:                             192.168.42.129
IP6.ADDRESS[1]:                         fe80::7836:8462:403e:1bd6/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[2]:                           dst = ff00::/8, nh = ::, mt = 256, table=255

GENERAL.DEVICE:                         virbr0
GENERAL.TYPE:                           bridge
GENERAL.HWADDR:                         52:54:00:A4:B7:63
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     virbr0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]:                         192.168.122.1/24
IP4.GATEWAY:                            --
IP4.ROUTE[1]:                           dst = 192.168.122.0/24, nh = 0.0.0.0, mt = 0
IP6.GATEWAY:                            --

GENERAL.DEVICE:                         virbr0-nic
GENERAL.TYPE:                           tun
GENERAL.HWADDR:                         52:54:00:A4:B7:63
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     virbr0-nic
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2

GENERAL.DEVICE:                         p4p2
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         14:18:77:D4:58:39
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               off

GENERAL.DEVICE:                         wlp0s20u1
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         AA:AC:A8:86:E6:17
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         wlp6s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         8A:38:2E:5F:13:D8
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            --
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
It sounds more like you have your is Wifi disabled, either with a key combination or through the NetworkManager applet you can enable/disable wireless devices.
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
It sounds more like you have your is Wifi disabled, either with a key combination or through the NetworkManager applet you can enable/disable wireless devices.
How can I enable wireless devices?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
To show you, here's my wireless device when I have wifi disabled.
Code:
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         66:16:40:AD:0A:00
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
Here's the same device when I have it enabled.
Code:
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         FA:2D:67:68:B6:BD
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
[/COD]
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
How can I enable wireless devices?
With a key combination or through the NetworkManager applet you can enable/disable wireless devices.
Right click on the NetworkManager applet in your notification area and then check "Enable Wi-Fi" or a key combination if it's a laptop which would be a combination of FN+(One of the f1-f12) keys.
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
It sounds more like you have your is Wifi disabled, either with a key combination or through the NetworkManager applet you can enable/disable wireless devices.
I can't see any option like "Enable Wi-Fi" in my notification area. In my notification area, NetworkManager applet shows wifi adapter, but they are hashed!!
By the way, I tried to enable wifi by, nmcli radio wifi on. But it's not working!
1621692068826.png
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Click on "PCI Wi-Fi Off" and I suspect there should be an option to turn it on. I'm assuming your wireless network interface is internal so pci and not usb?
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
Click on "PCI Wi-Fi Off" and I suspect there should be an option to turn it on. I'm assuming your wireless network interface is internal so pci and not usb?
I click there to turn it on. But nothing happened. It didn't turn on.
Yes, I have an internal wifi adapter.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Is it a laptop?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Then it's probably either a physical switch on the laptop or a key combination to turn it on. What's the exact brand and model of your laptop?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,261
Reaction score
4,732
Credits
46,000
Try pressing the FN key + F2(the key that has a wireless icon on it), it maybe that on your laptop the it's located on a different F key.
q90vy.jpg


On some laptops there may also be a physical switch to turn the wireless device on/off that may look like this.
Q360I.png
 
OP
S

shawkot

New Member
Joined
May 22, 2021
Messages
10
Reaction score
4
Credits
98
Try pressing the FN key + F2(the key that has a wireless icon on it), it maybe that on your laptop the it's located on a different F key.
q90vy.jpg


On some laptops there may also be a physical switch to turn the wireless device on/off that may look like this.
Q360I.png
It works!!
Thank you very much!! You are so helpful! Really appreciate your time and effort!!
Thanks again!!
 


Top