SOLED -> Virtualbox Linux Guest error: ath9k_htc: Failed to initialize the device

When adding the usb wifi TP Link WN722N (Atheros AR9271) to the vitualbox guest the following error is raised:

ath9k_htc 1-2:1.0: >ath9k_htc: Target is unresponsive
ath9k_htc: Failed to initialize the device
usb 1-2: >ath9k_htc: USB layer deinitialized

To solve this issue follow this steps:

  • apt-get update
  • apt-get upgrade
  • apt-get dist-upgrade
  • apt-get install linux-headers-$(uname -r)
  • Shutdown Linux guest OS
  • Download VirtualBox Extension Pack (https://www.virtualbox.org/wiki/Downloads)
  • Apply extension at: File -> Preferences -> Extensions
  • Configure the Linux guest OS and enable USB 2.0 Controller
  • Connect and enable device

If this is still not working try to unplug the usb device or delete or the usb devices and readd them on virtualbox.