I have windows 10 on my laptop and I run Oracle VirtualBox with ubuntu 14.04.5 LTS 64 bit on it.
I bought tp-link usb to wifi adapter – TL-WN821N v5.
I am try to connect the usb to the vm so it have wifi and wireless functionality in it.
in vbox there is option to connect the usb direcly to the machine so the the windows 10 dont detect the usb.
lsusb detect the adapter:
Bus 001 Device 002: ID 2357:0107
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
but lshw -C network
network
*-network
description: Ethernet interface
product: 82540EM Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
logical name: eth0
version: 02
serial: 08:00:27:bc:0d:35
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=10.0.0.13 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 memory:f0000000-f001ffff ioport:d010(size=8)
and iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wont seem to identify the new hardware:
I thought the problem is that need some driver – so I tried to install the driver:
http://www.tp-link.com/en/download/TL-WN821N.html#Driver
but make give me syntax errors (and i think there easier way)
I followed this link
DLink DWA 131 wireless adapter not working on ubuntu 15.10
and when i run apt-get install rtl8192eu-dkms
I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
rtl8192eu-dkms is already the newest version.
The following packages were automatically installed and are no longer required:
culmus linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
and it still dont work.
The laptop (and vm) connected to ethernet directly.
kernal version- 4.4.0-45-generic
thank you for help!
Best Answer
I was unable to use TL-WN812N on ubuntu 14.04 (not vbox). Attempted to download the driver from tp-link website but pt-br tp-link website version have no driver link there. Tried google and found your question.
I could find the driver following the link http://www.tp-link.com/en/download/TL-WN821N.html#Driver you mention but I faced the same makefile issue. But I could fix it: the guy who wrote the Makefile did a great job but the guy who created the driver zip root folder I was not aware of what he was doing. He named the driver folder
TL-WN821N(EU)_V5_160315_Linux
then when you run:Bash gives error because the path name of driver makefile is not escaped. I renamed the folder to
tl-wn821n-v5-160315-linux
and it worked from building to connecting to internet.Hope this help.