How to install USB WIFI Network Adapter Driver in Qubes ?

2,972 views
Skip to first unread message

Bernie

unread,
Aug 7, 2016, 6:58:46 AM8/7/16
to qubes-users
How can I install a USB WIFI Network Adapter Driver ?

I bought an external usb wifi adapter and sticked it inside the usb slot.
dom0 does not give me any notification.

I do see an unnamed device listed once I type in "lsusb" in the dom0 terminal.


drivers are downloaded how and where to install them now ?

Andrew David Wong

unread,
Aug 7, 2016, 8:39:22 AM8/7/16
to Bernie, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Please read this page:

https://www.qubes-os.org/doc/usb/

The drivers should be installed in the TemplateVM on which your USB qube is
based. In this case, it might make sense for your USB qube to be the same as
your NetVM (sys-net).

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXpyvuAAoJENtN07w5UDAw2pgQAIyP7ovGv7mz5cebi/jQd+Sd
CSVJHjiuos4zzz2OhwSgnzaW1aAZrgf1vl+rwSsAWYgjzWCdcLIfqCIqr3qVl8pG
Yvc/1ns14yhUWb41myMXeDLmhhb90mds8WdGn2xVYAHMr/5oPiSpu9pWo8abggiu
X6uxY60QMLx0HurGdBCvga6Q6S851Ra9HNaTJvNEIp67wVBB2Y+/2IQwodguTTrK
GRpEfJfCVnFVwBwDsuYB2cSZ8QQQqDxWxMZRumwsAoHUFK7Pe+/ptEjVkGHyW8N6
UUBgle8GJpkjfu+VywgPANPnoK7msdXgb92UuChCTUKyPLxrqRx3PrM20kg2oTLA
IIpj8jSsMHoCfr7raktalp5UblwjqBUo63+zxWGhfP7ZmPfFLB1zMV3m1EaSuwVA
rHMje5Bd0ZnM4oSJnN8MPuJEjMlisvE05pZe/8kIY4xWUU+dYZ3SAehoC2D3YSXI
Svujz7yXPXwOdQJaHr4MSYpSI7njt9jVNdeIIkcj6h3liJ124uPLfiJBVfmxLjA+
JGHZQUED7iQxQT9jCQ7z2dilvhpm2AfcXbW/7dj9UWVQ7PiSg+6WvfhBWcjyu13F
/3v+70twy7C6MzOLmUM6o/bOGMUVpAfSygrqCvszZEeEE/UtP7hkZZsYUXWF4Uey
10AnCwg61aomtZU6TTOQ
=aLm9
-----END PGP SIGNATURE-----

vincent.ma...@gmail.com

unread,
Aug 9, 2016, 11:22:51 AM8/9/16
to qubes-users, vincent.ma...@gmail.com

how can i install the driver into the template pm ?

Andrew David Wong

unread,
Aug 10, 2016, 4:13:09 AM8/10/16
to vincent.ma...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-08-09 08:22, vincent.ma...@gmail.com wrote:
> how can i install the driver into the template pm ?
>

I suppose that depends on the drivers. If they're available as packages from
the yum/dnf repos, then you can install them that way. If not, then you can
enable network access from the TemplateVM and download them from wherever
they're available (e.g., your device manufacturer's website), then install
them according to the instructions provided by your device manufacturer. This
part (installing drivers) isn't really related to Qubes. You can almost think
of it as installing the drivers on a standard Linux machine.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXquINAAoJENtN07w5UDAwoeEP/iYFgJR0eMpFmN+bnJVxpTcf
K6vYRfCM8OFgu/151J6web6UJuddFhQdoL1pdOzZQZgdmXbF9hb+FjuGKiDrJSrw
HW6/Z25JDrIngzs/XoOI6KFIlL0qOWJ7kcTl7+j+/4LGMR2Q33YdyZJPsR6wmwvW
UPAu7z0ttgQq8oL8Rrv7w4ghTPmG3mqe6m3eGle230/aMXYxqlv2vbJcwjCGo4Hx
tnvC6vCNAzaFMDn8PG0Vd3HjiY37MamOvGjy40ODTj4GIxNns+r6HJYOViqRW2bk
82jIMvJwSEd1J694d/NKHZJ8kgqy2LtvYaPjB6xkzMdP9FNUkVCw37aBbLbjjNaO
vBpuMtkzCMAiDbvPC5EPPK16N+DPjVNVqTmwCYA5oyap1y9Gbo9jyoNgIlHCj3Nt
MPDdym+IryMRjpo5QxoFCchnRnpztZYxvmBhmhxOFNBwQjrjpEPlDrtzdv3S4J3T
xy4SUW7tkNsH63HABvldnf3I2/MpFX5M2adm3kP9wJiLudXjWc0Gsh3BvYGsTKIu
tNcn14jiPuIWjGNIJPNYklOyr1mJ7hAc1KvkJEvHOGBBjzT7m0gHDiRJ0QnjsmaA
JHO6FY7PvwIUbyujHMPLBK9TwyCMnL/Z2v9nEIr5yFcqET+JDsZq4TieK+HuP11C
4SSrp+3wTxCCHGqDMSm8
=U57f
-----END PGP SIGNATURE-----

vincent.ma...@gmail.com

unread,
Aug 11, 2016, 9:15:47 AM8/11/16
to qubes-users, vincent.ma...@gmail.com

I try to install the driver into my debian template vm but I always get the same error with many different installation options:

Installation

Ensure you have the necessary prerequisites:

sudo apt-get install linux-headers-generic build-essential dkms

Clone this repository:

git clone https://github.com/pvaret/rtl8192cu-fixes.git

Set it up as a DKMS module:

sudo dkms add ./rtl8192cu-fixes

Build and install it (this version number may change, it is .10 as of october 19 2015

sudo dkms install 8192cu/1.10

Refresh the module list:

sudo depmod -a

Ensure the native (and broken) kernel driver is blacklisted:

sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/

And reboot. You're done.

this command always gives me an error: (dkms)
sudo dkms install 8192cu/1.10

Error! Your kernel headers for kernel 4.1.13-9.pvops.qubes.x86_64 cannot be found. Please install the linux-headers-4.1.13-9.pvops.qubes.x86_64 package, or use the --kernelsourcedir option to tell DKMS where it's located

Andrew David Wong

unread,
Aug 11, 2016, 3:17:41 PM8/11/16
to vincent.ma...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

And have you tried to install the linux-headers-4.1.13-9.pvops.qubes.x86_64
package?

Perhaps you should also try the Fedora template?

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXrM9KAAoJENtN07w5UDAw9GwP/A3EpBEEtzCwnRXtKq9mpTP3
T0P9/F0Yait1oq8sasMbLgjftB3JkfzXu7fpfHK0q7YGeds//lVX75CkKJJA9Ft6
TUR7s3/qq9GaAWpsp7QeIdPuK1pEcQUMrNlYTrea+0jKlHNzQqr7IJmBrRSSoW/y
lC6gbTS/zCiNhVbiXwQaqsDX7YaF46k6gxGZH7VJ141tTN/zkpWhEusj8yKRLgv0
6G2tv2Cbm4fuxzwG+KsqRsbwXXScWVOqLcuzodpualsllObzeOos1YgQweBN+QvO
LMRGex8OH4Rua/WZpIT3rAzWIia03VGtEuQAK6ubGBqWsjiFBGzXle3qd4eAQ5Td
AILJuTxPSVgo0jUeIdq7EOwUE+R859ehKZ1sr4F3c5jBQajXwmNYDUqt5VaZU6/N
U9ea13n7xogRwwgtZ80/YUy5s/0AAQIvyOoJxVyfOdT3ypdgzBKn1PQbA7LH5aaf
vo2oeanq5HMzqYcBwVyQmSzsMJr3tDRXzZyvrUKi8/jPSpMQE8vz0HMCUG9tTeM8
F78zLQiM4pw9pAIPnrSw+PFGAhmvAy4Apky9xRntoE67T86aX1Pcfzz7pKRTFmo7
zJzC5Gl3K5MiQTGZgmU8FGjQ1MVCySQ4RHPe2sjXigeUbk9xP/p1R4mdyZB1wssV
3LGCRpGCZm5e2GLCQkYA
=JzP/
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages