<div dir="ltr">Seeing the passthrough comment reminded me I have a weird issue with my usb wlan nic doing something odd, might affect you doing much the same. I forget the flavor of nic, but once I plug it into linux, the drivers would kick in and start locking the device. My goal usually with it is to tend to a windoze instance that also runs some wireless spectrum analyzer tools, but I end up having to rmmod the driver prior to giving it to virtualbox or windows just sees it as a broken driver state with the angry (!).<div><br></div><div>Might be something like that why it doesn't always come and go?</div><div><br></div><div>-mb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 3:04 PM, Jerry Snitselaar <span dir="ltr"><<a href="mailto:dev@snitselaar.org" target="_blank">dev@snitselaar.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Stephen M @ 2017-04-13 04:45 GMT:<br>
<br>
I went and picked one of these up at Fry's since they were $10.<br>
Using usb passthrough from my fedora host to the ubuntu vm, I<br>
can get the device to come up with either the r8188eu driver that<br>
comes with Ubuntu, or the 8188eu driver that tp-link provides.<br>
<br>
One thing I had to do when rebooting the vm was remove and reinsert<br>
the device, but that could just be an issue with using it through<br>
usb passthrough.<br>
<br>
This is with 14.04.3 running 3.19.0-25-generic<br>
<br>
Perhaps if you want to use the tp-link provided one, maybe blacklist<br>
the Ubuntu driver.<br>
<br>
snits<br>
<br>
<br>
<br>
jsnitsel@ubuntu14-32:~$ lsmod | grep 8188<br>
jsnitsel@ubuntu14-32:~$ lsusb<br>
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.<br>
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
jsnitsel@ubuntu14-32:~$ find /lib/modules -type f -name 8188eu.ko<br>
jsnitsel@ubuntu14-32:~$ cd Downloads/Driver/<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ ls<br>
8188eu.ko 8188eu.o core include modules.order platform wpa_0_8.conf<br>
8188eu.mod.c bin hal Kconfig Module.symvers runwpa<br>
8188eu.mod.o clean ifcfg-wlan0 Makefile os_dep wlan0dhcp<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ sudo cp 8188eu.ko /lib/modules/`uname -r`/extra/<br>
[sudo] password for jsnitsel:<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ sudo depmod -a<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ sudo modprobe 8188eu<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ ip a show<br>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default<br>
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
inet <a href="http://127.0.0.1/8" rel="noreferrer" target="_blank">127.0.0.1/8</a> scope host lo<br>
valid_lft forever preferred_lft forever<br>
inet6 ::1/128 scope host<br>
valid_lft forever preferred_lft forever<br>
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_<wbr>UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000<br>
link/ether 52:54:00:e0:39:64 brd ff:ff:ff:ff:ff:ff<br>
inet6 fe80::5054:ff:fee0:3964/64 scope link<br>
valid_lft forever preferred_lft forever<br>
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_<wbr>UP> mtu 1500 qdisc mq state UP group default qlen 1000<br>
link/ether d4:6e:0e:19:87:a3 brd ff:ff:ff:ff:ff:ff<br>
inet <a href="http://192.168.1.163/24" rel="noreferrer" target="_blank">192.168.1.163/24</a> brd 192.168.1.255 scope global wlan0<br>
valid_lft forever preferred_lft forever<br>
inet6 fe80::d66e:eff:fe19:87a3/64 scope link<br>
valid_lft forever preferred_lft forever<br>
jsnitsel@ubuntu14-32:~/<wbr>Downloads/Driver$ cd /sys/class/net/wlan0/device<br>
jsnitsel@ubuntu14-32:/sys/<wbr>class/net/wlan0/device$ cat uevent<br>
DEVTYPE=usb_interface<br>
DRIVER=rtl8188eu<br>
PRODUCT=bda/8179/0<br>
TYPE=0/0/0<br>
INTERFACE=255/255/255<br>
MODALIAS=usb:<wbr>v0BDAp8179d0000dc00dsc00dp00ic<wbr>FFiscFFipFFin00<br>
jsnitsel@ubuntu14-32:/sys/<wbr>class/net/wlan0/device$ lsmod | grep 8188<br>
8188eu 933888 0<br>
cfg80211 450560 1 8188eu<br>
jsnitsel@ubuntu14-32:/sys/<wbr>class/net/wlan0/device$ ping -c 5 <a href="http://google.com" rel="noreferrer" target="_blank">google.com</a><br>
PING <a href="http://google.com" rel="noreferrer" target="_blank">google.com</a> (216.58.217.206) 56(84) bytes of data.<br>
64 bytes from <a href="http://lax17s05-in-f14.1e100.net" rel="noreferrer" target="_blank">lax17s05-in-f14.1e100.net</a> (216.58.217.206): icmp_seq=1 ttl=55 time=23.6 ms<br>
64 bytes from <a href="http://lax17s05-in-f14.1e100.net" rel="noreferrer" target="_blank">lax17s05-in-f14.1e100.net</a> (216.58.217.206): icmp_seq=2 ttl=55 time=29.9 ms<br>
64 bytes from <a href="http://lax17s05-in-f14.1e100.net" rel="noreferrer" target="_blank">lax17s05-in-f14.1e100.net</a> (216.58.217.206): icmp_seq=3 ttl=55 time=28.3 ms<br>
64 bytes from <a href="http://lax17s05-in-f14.1e100.net" rel="noreferrer" target="_blank">lax17s05-in-f14.1e100.net</a> (216.58.217.206): icmp_seq=4 ttl=55 time=22.0 ms<br>
64 bytes from <a href="http://lax17s05-in-f14.1e100.net" rel="noreferrer" target="_blank">lax17s05-in-f14.1e100.net</a> (216.58.217.206): icmp_seq=5 ttl=55 time=22.6 ms<br>
<br>
--- <a href="http://google.com" rel="noreferrer" target="_blank">google.com</a> ping statistics ---<br>
5 packets transmitted, 5 received, 0% packet loss, time 4005ms<br>
rtt min/avg/max/mdev = 22.064/25.314/29.975/3.209 ms<br>
jsnitsel@ubuntu14-32:/sys/<wbr>class/net/wlan0/device$ uname -r<br>
3.19.0-25-generic<br>
jsnitsel@ubuntu14-32:/sys/<wbr>class/net/wlan0/device$ find /lib/modules -type f -name 8188eu.ko<br>
/lib/modules/3.19.0-25-<wbr>generic/extra/8188eu.ko<br>
jsnitsel@ubuntu14-32:~$ cd /etc/modprobe.d/<br>
jsnitsel@ubuntu14-32:/etc/<wbr>modprobe.d$ cat blacklist-r8188eu.conf<br>
blacklist r8188eu<br>
<br>
------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.<wbr>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/<wbr>mailman/listinfo/plug-discuss</a></blockquote></div><br></div>