Getting TP-Link TL-WN722N usb wireless adapter working

Issues related to configuring your network
Locked
Transylvnian_Lottery
Posts: 4
Joined: 2015/12/13 02:58:43

Getting TP-Link TL-WN722N usb wireless adapter working

Post by Transylvnian_Lottery » 2015/12/13 03:19:55

Good evening,
I purchased a Dell Precision T1700 second hand a few months ago and I've been slowly trying to get it up and running with CentOS 7. I installed the DVD image by burning it to a disc and almost everything seems to be working hunky dory, aside from a TP-Link wireless adapter I purchased specifically for this computer. When I selected the TP-Link TL-WN722N adapter, I was under the impression that it worked in CentOS, but this doesn't appear to be the case for 7. I've spent a few hours trying to install by the various methods that come up when I google "TL-WN722N CentOS 7" but they all appear to be either for previous releases of CentOS or other Linux distros entirely(and none of the methods work on my Centos 7). In particular I found these instructions for debian: https://erickcion.wordpress.com/2012/05 ... i-antenna/, but I'm not familiar enough with CentOS and how to translate from debian instructions to centos.

Does anyone know how to get this up and working? I temporarily have it plugged into ethernet while I solve this, but I can't leave it here at my office for very long.

Thanks in advance everyone.

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

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by TrevorH » 2015/12/13 14:01:35

The ELRepo guys have a kmod-ath9k_htc package for CentOS 6 but not for CentOS 7. I don't know why there is not one for el7, perhaps because there is an ath9k module in the el7 kernel already but that doesn't support your chip. Perhaps an RFE on their bugtracker might get them to produce one for el7.
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

Transylvnian_Lottery
Posts: 4
Joined: 2015/12/13 02:58:43

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by Transylvnian_Lottery » 2015/12/14 22:25:58

After an embarassing display of my own knowledge of CentOS and operating systems( :oops: ), it was discovered that I hadn't run "yum update" after installing the CentOS 7. According to the kind administrator over at ElRepo's bug tracker, I should now ask this forum for help in configuring my NetworkManager. So how do I go about that? Here are results from running dmesg and cat /var/log/messages that seemed to indicate to the admin that it was book closed:
[Euclid@localhost ~]$ grep -i ath dmesg*txt
[ 1.394016] usb 4-1.5: Manufacturer: ATHEROS
[ 15.699952] usb 4-1.5: ath9k_htc: Firmware htc_9271.fw requested
[ 15.700161] usbcore: registered new interface driver ath9k_htc
[ 15.986624] usb 4-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
[ 16.226923] ath9k_htc 4-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
[ 16.694144] ath9k_htc 4-1.5:1.0: ath9k_htc: FW Version: 1.3
[ 16.694148] ath9k_htc 4-1.5:1.0: FW RMW support: Off
[ 16.694149] ath: EEPROM regdomain: 0x809c
[ 16.694150] ath: EEPROM indicates we should expect a country code
[ 16.694151] ath: doing EEPROM country->regdmn map search
[ 16.694152] ath: country maps to regdmn code: 0x52
[ 16.694153] ath: Country alpha2 being used: CN
[ 16.694154] ath: Regpair used: 0x52
[ 16.702460] ieee80211 phy0: Atheros AR9271 Rev:1
[Euclid@localhost ~]$ grep -i ath9 log_messages.txt
Dec 12 20:28:06 localhost kernel: usb 2-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 12 20:28:06 localhost kernel: usbcore: registered new interface driver ath9k_htc
Dec 12 20:28:06 localhost kernel: usb 2-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
Dec 12 20:28:06 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 12 20:28:07 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 12 20:28:07 localhost NetworkManager[1198]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
Dec 12 20:28:07 localhost NetworkManager[1198]: <info> (wlp0s29u1u5): new Generic device (driver: 'ath9k_htc' ifindex: 3)
Dec 12 20:39:08 localhost kernel: usb 2-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 12 20:39:08 localhost kernel: usbcore: registered new interface driver ath9k_htc
Dec 12 20:39:08 localhost kernel: usb 2-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
Dec 12 20:39:08 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 12 20:39:08 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 12 20:39:09 localhost NetworkManager[1132]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
Dec 12 20:39:09 localhost NetworkManager[1132]: <info> (wlp0s29u1u5): new Generic device (driver: 'ath9k_htc' ifindex: 3)
Dec 14 10:32:18 localhost kernel: usb 2-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 14 10:32:18 localhost kernel: usbcore: registered new interface driver ath9k_htc
Dec 14 10:32:18 localhost kernel: usb 2-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
Dec 14 10:32:19 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 14 10:32:19 localhost kernel: ath9k_htc 2-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 14 10:32:19 localhost NetworkManager[1118]: <info> (wlp0s29u1u5): new Generic device (driver: 'ath9k_htc' ifindex: 3)
Dec 14 10:32:19 localhost NetworkManager[1118]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
Dec 14 11:03:29 localhost kernel: usb 4-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 14 11:03:29 localhost kernel: usbcore: registered new interface driver ath9k_htc
Dec 14 11:03:29 localhost kernel: usb 4-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
Dec 14 11:03:30 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 14 11:03:30 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 14 11:03:30 localhost kernel: ath9k_htc 4-1.5:1.0: FW RMW support: Off
Dec 14 11:03:30 localhost NetworkManager[1336]: <info> (wlan0): new Generic device (carrier: OFF, driver: 'ath9k_htc', ifindex: 4)
Dec 14 11:03:30 localhost NetworkManager[1336]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
Dec 14 11:04:33 localhost kernel: usb 4-1.5: ath9k_htc: USB layer deinitialized
Dec 14 11:04:35 localhost kernel: usb 4-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 14 11:04:35 localhost kernel: usb 4-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
Dec 14 11:04:36 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 14 11:04:36 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 14 11:04:36 localhost kernel: ath9k_htc 4-1.5:1.0: FW RMW support: Off
Dec 14 11:04:36 localhost NetworkManager[1336]: <info> (wlan0): new Generic device (carrier: OFF, driver: 'ath9k_htc', ifindex: 5)
Dec 14 11:04:36 localhost NetworkManager[1336]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/ieee80211/phy1/rfkill1) (driver ath9k_htc)
Dec 14 11:04:57 localhost kernel: usb 4-1.5: ath9k_htc: USB layer deinitialized
Dec 14 11:04:59 localhost kernel: usb 4-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 14 11:05:00 localhost kernel: usb 4-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
Dec 14 11:05:00 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 14 11:05:00 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 14 11:05:00 localhost kernel: ath9k_htc 4-1.5:1.0: FW RMW support: Off
Dec 14 11:05:00 localhost NetworkManager[1336]: <info> (wlan0): new Generic device (carrier: OFF, driver: 'ath9k_htc', ifindex: 6)
Dec 14 11:05:00 localhost NetworkManager[1336]: <info> rfkill2: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/ieee80211/phy2/rfkill2) (driver ath9k_htc)
Dec 14 11:23:32 localhost kernel: usb 4-1.5: ath9k_htc: Firmware htc_9271.fw requested
Dec 14 11:23:32 localhost kernel: usbcore: registered new interface driver ath9k_htc
Dec 14 11:23:32 localhost kernel: usb 4-1.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
Dec 14 11:23:33 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 14 11:23:33 localhost kernel: ath9k_htc 4-1.5:1.0: ath9k_htc: FW Version: 1.3
Dec 14 11:23:33 localhost kernel: ath9k_htc 4-1.5:1.0: FW RMW support: Off
Dec 14 11:23:33 localhost NetworkManager[1338]: <info> (wlan0): new Generic device (carrier: OFF, driver: 'ath9k_htc', ifindex: 4)
Dec 14 11:23:33 localhost NetworkManager[1338]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/ieee80211/phy0/rfkill0) (driver ath9k_htc)
[Euclid@localhost ~]$ grep -i athe log_messages.txt
Dec 12 20:27:46 localhost kernel: usb 2-1.5: Manufacturer: ATHEROS
Dec 12 20:28:07 localhost kernel: ieee80211 phy0: Atheros AR9271 Rev:1
Dec 12 20:28:07 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 12 20:28:07 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 12 20:38:56 localhost kernel: usb 2-1.5: Manufacturer: ATHEROS
Dec 12 20:39:08 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 12 20:39:08 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 12 20:39:08 localhost kernel: ieee80211 phy0: Atheros AR9271 Rev:1
Dec 14 10:32:06 localhost kernel: usb 2-1.5: Manufacturer: ATHEROS
Dec 14 10:32:19 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 14 10:32:19 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 14 10:32:19 localhost kernel: ieee80211 phy0: Atheros AR9271 Rev:1
Dec 14 10:54:52 localhost yum[4662]: Updated: libgweather-3.14.1-1.el7.x86_64
Dec 14 10:55:29 localhost yum[4662]: Updated: libgweather-devel-3.14.1-1.el7.x86_64
Dec 14 10:56:46 localhost yum[4662]: Updated: gnome-weather-3.14.1-1.el7.noarch
Dec 14 10:59:06 localhost systemd: Stopping Hardware RNG Entropy Gatherer Daemon...
Dec 14 10:59:06 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 14 10:59:06 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 14 11:03:16 localhost kernel: usb 4-1.5: Manufacturer: ATHEROS
Dec 14 11:03:29 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 14 11:03:29 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 14 11:03:30 localhost kernel: ieee80211 phy0: Atheros AR9271 Rev:1
Dec 14 11:04:35 localhost kernel: usb 4-1.5: Manufacturer: ATHEROS
Dec 14 11:04:36 localhost kernel: ieee80211 phy1: Atheros AR9271 Rev:1
Dec 14 11:04:59 localhost kernel: usb 4-1.5: Manufacturer: ATHEROS
Dec 14 11:05:00 localhost kernel: ieee80211 phy2: Atheros AR9271 Rev:1
Dec 14 11:23:18 localhost kernel: usb 4-1.5: Manufacturer: ATHEROS
Dec 14 11:23:32 localhost systemd: Started Hardware RNG Entropy Gatherer Daemon.
Dec 14 11:23:32 localhost systemd: Starting Hardware RNG Entropy Gatherer Daemon...
Dec 14 11:23:33 localhost kernel: ieee80211 phy0: Atheros AR9271 Rev:1


Where do I go from here to get this wireless adapter up and running?
Thanks for the help in advance

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

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by TrevorH » 2015/12/14 23:24:33

Do you have the NetworkManager-wifi package installed?
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

Transylvnian_Lottery
Posts: 4
Joined: 2015/12/13 02:58:43

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by Transylvnian_Lottery » 2015/12/14 23:40:59

I ran "yum install NetworkManager-wifi.x86_64" and it installed the package.

*** Edited because I ran yum on my laptop instead of the tower

Transylvnian_Lottery
Posts: 4
Joined: 2015/12/13 02:58:43

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by Transylvnian_Lottery » 2015/12/14 23:49:17

After rebooting, the wifi manager popped up and I was able to connect. Thanks so much!

cosnk
Posts: 25
Joined: 2019/02/16 03:51:04
Location: Pathum Thani, THAILAND

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by cosnk » 2019/03/01 16:50:31

Transylvnian_Lottery wrote:
2015/12/14 23:40:59
I ran "yum install NetworkManager-wifi.x86_64" and it installed the package.
Your notebook could not connect Wi-Fi. Can you please tell me how you could install NetworkManager-wifi.x86_64?

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

Re: Getting TP-Link TL-WN722N usb wireless adapter working

Post by TrevorH » 2019/03/01 16:53:54

Please do not hijack ancient threads. You already have one running about wireless access, use that.

Locked.
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

Locked