Hi qubes-users,

I'm using Qubes OS for my pentests at work, I have some issues trying to 
connect my Alfa network wireless USB card in my Kali AppVM though.

I chose to install kali manually as explained here : 
https://www.qubes-os.org/doc/pentesting/kali/#templatevm-from-debian3_2

It works fine ! However, when I plug & add the wireless device to my kali AppVM 
I can't make it works.

Here the lsusb result in my kali-rolling Template, I had to blacklist the 
rt2800usb module :

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 
Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Both firware-ralink and firmware-misc-nonfree are installed. Build-essential 
too.

When I try to install the driver from the official website 
(https://www.alfa.com.tw/files/?dir=%5B1%5D%20WiFi%20USB%20adapter/AWUS036H/Linux),
 here the feedback :

$ make
make[1]: Entering directory '/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
make[1]: *** No rule to make target 'WiFi'.  Stop.
make[1]: Leaving directory '/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
make: *** [Makefile:15: all] Error 2


$ uname -r
4.14.74-1.pvops.qubes.x86_64

$ sudo dmesg
[   12.078758] Netfilter messages via NETLINK v0.30.
[   12.106149] nf_tables: (c) 2007-2009 Patrick McHardy <ka...@trash.net>
[   12.242556] nf_tables_compat: (c) 2012 Pablo Neira Ayuso 
<pa...@netfilter.org>
[   12.521504] nf_conntrack version 0.5.0 (2560 buckets, 10240 max)
[   12.887695] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   30.487105] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[   30.487171] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 
1
[   30.487501] vhci_hcd: created sysfs vhci_hcd.0
[   30.487556] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   30.487575] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[   30.487597] usb usb1: Product: USB/IP Virtual Host Controller
[   30.487616] usb usb1: Manufacturer: Linux 4.14.74-1.pvops.qubes.x86_64 
vhci_hcd
[   30.487637] usb usb1: SerialNumber: vhci_hcd.0
[   30.489603] hub 1-0:1.0: USB hub found
[   30.489628] hub 1-0:1.0: 8 ports detected
[   30.490953] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[   30.491249] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 
2
[   30.491298] usb usb2: We don't know the algorithms for LPM for this host, 
disabling LPM.
[   30.491356] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[   30.491375] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[   30.491397] usb usb2: Product: USB/IP Virtual Host Controller
[   30.491415] usb usb2: Manufacturer: Linux 4.14.74-1.pvops.qubes.x86_64 
vhci_hcd
[   30.491436] usb usb2: SerialNumber: vhci_hcd.0
[   30.491552] hub 2-0:1.0: USB hub found
[   30.491582] hub 2-0:1.0: 8 ports detected
[   30.640047] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(0)
[   30.640073] vhci_hcd vhci_hcd.0: devid(196611) speed(3) speed_str(high-speed)
[   30.858179] usb 1-1: new high-speed USB device number 2 using vhci_hcd
[   30.976353] usb 1-1: SetAddress Request (2) to port 0
[   31.015322] usb 1-1: New USB device found, idVendor=148f, idProduct=3070
[   31.015404] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   31.015489] usb 1-1: Product: 802.11 n WLAN
[   31.015534] usb 1-1: Manufacturer: Ralink
[   31.015578] usb 1-1: SerialNumber: 1.0
[ 1854.054576] blkfront: xvdd: empty flush op failed
[ 1854.054599] blkfront: xvdd: barrier or flush: disabled; persistent grants: 
enabled; indirect descriptors: enabled;
[ 1974.675502] vhci_hcd: connection closed
[ 1974.675558] vhci_hcd: stop threads
[ 1974.675584] vhci_hcd: release socket
[ 1974.675597] vhci_hcd: disconnect device
[ 1974.675640] usb 1-1: USB disconnect, device number 2
[ 1978.730922] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(0)
[ 1978.730950] vhci_hcd vhci_hcd.0: devid(196611) speed(3) speed_str(high-speed)
[ 1978.954198] usb 1-1: new high-speed USB device number 3 using vhci_hcd
[ 1979.072270] usb 1-1: SetAddress Request (3) to port 0
[ 1979.110312] usb 1-1: New USB device found, idVendor=148f, idProduct=3070
[ 1979.110397] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1979.110478] usb 1-1: Product: 802.11 n WLAN
[ 1979.110612] usb 1-1: Manufacturer: Ralink
[ 1979.110656] usb 1-1: SerialNumber: 1.0

Thank you for your help !

Regards,
Mathew










-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1d238b96-207c-4092-8141-87c7766e9ef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to