first, confirm the version of the network card
Lspci | grep Network
Lspci | grep Network 19.0:00.0Qualcomm Atheros ar242x/ar542x on
Second, download the driver of the network card, download the address which is OK.
1. By http://elrepo.org/linux/elrepo/el7/x86_64/RPMS/
2. By https://pkgs.org/centos-7/elrepo-x86_64/kmod-ath5k-0.0-9.el7.elrepo.x86_64.rpm.html
[Email protected] ~]#wget http://elrepo.org/linux/elrepo/el7/x86_64/rpms/kmod-ath5k-0.0-9.el7.elrepo.x86_64.rpm-- .- ,- - A:Wuyi: Wu--http://elrepo.org/linux/elrepo/el7/x86_64/rpms/kmod-ath5k-0.0-9.el7.elrepo.x86_64.rpmParsing host elrepo.org (elrepo.org) ...69.195.83.87connecting elrepo.org (elrepo.org)|69.195.83.87|: the... is connected. An HTTP request has been made and is waiting for a response ... $OK Length:88656(87K) [application/x-rpm] Saving to: "Kmod-ath5k-0.0-9. el7.elrepo.x86_64.rpm " -%[======================================>] the,656 About.6kb/s spents1. 5s .- ,- - A:Wuyi: $(56.6KB/S)-Saved "kmod-ath5k-0.0-9. el7.elrepo.x86_64.rpm "[88656/88656])
Third, install the driver
[Email protected] ~]# RPM-IVH kmod-ath5k-0.0-9. el7.elrepo.x86_64.rpm
My computer performance may not be very good, installed for several minutes.
Four, restart
Reference
Https://wiki.centos.org/zh/HowTos/Laptops/Wireless
https://www.centos.org/forums/viewtopic.php?t=50112
http://blog.163.com/yang_jianli/blog/static/1619900062012912115552188/
CentOS 7 Installation Wireless driver