WIFI USB Adapter not seen by VBox Kali Linux

Discussions about using Linux guests in VirtualBox.
Post Reply
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

Hello,

I'm new to the whole Linux and virtualization environment.

So I have the latest Kali Linux image for Vbox installed on my Windows 10 64bit.

In one of the USB 2.0 ports I have an wifi adapter plugged in (CISCO DPW632 802.11N USB Wireless Adapter ).

So the Network adapter is set to Bridged Adapter with my LAN Card.
On USB I have the USB Controller enabled on USB 2.0 with the device selected.

Now when I run the Kali Linux I'm not able to see any wifi network neither seeing wlan0 or wlan1 in ifconfig

Code: Select all

root@kali:~# modinfo wmi | head
filename:       /lib/modules/4.6.0-kali1-amd64/kernel/drivers/platform/x86/wmi.ko
license:        GPL
description:    ACPI-WMI Mapping Driver
author:         Carlos Corbacho
alias:          acpi*: pnp0c14:*
alias:          acpi*: PNP0C14:*
depends:        
intree:         Y
vermagic:       4.6.0-kali1-amd64 SMP mod_unload modversions 
parm:           debug_event:Log WMI Events [0/1] (bool)


root@kali:~# lsmod
Module                  Size  Used by
nls_utf8               16384  1
isofs                  40960  1
udf                    90112  0
crc_itu_t              16384  1 udf
fuse                   98304  3
appletalk              36864  0
ax25                   57344  0
ipx                    28672  0
p8023                  16384  1 ipx
p8022                  16384  1 ipx
psnap                  16384  2 ipx,appletalk
llc                    16384  2 p8022,psnap
nfnetlink_queue        20480  0
nfnetlink_log          20480  0
nfnetlink              16384  2 nfnetlink_log,nfnetlink_queue
bluetooth             516096  0
rfkill                 24576  3 bluetooth
vboxsf                 45056  0
vboxvideo              53248  3
vboxguest             278528  8 vboxsf,vboxvideo
binfmt_misc            20480  1
joydev                 20480  0
ppdev                  20480  0
battery                16384  0
pcspkr                 16384  0
acpi_cpufreq           20480  0
evdev                  24576  17
serio_raw              16384  0
ttm                    94208  1 vboxvideo
sg                     32768  0
drm_kms_helper        147456  1 vboxvideo
parport_pc             28672  0
parport                49152  2 ppdev,parport_pc
drm                   360448  6 ttm,drm_kms_helper,vboxvideo
8250_fintek            16384  0
snd_intel8x0           40960  4
video                  40960  0
snd_ac97_codec        126976  1 snd_intel8x0
snd_pcm               106496  2 snd_ac97_codec,snd_intel8x0
snd_timer              32768  1 snd_pcm
snd                    81920  12 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm
soundcore              16384  1 snd
ac                     16384  0
tpm_tis                20480  0
tpm                    45056  1 tpm_tis
ac97_bus               16384  1 snd_ac97_codec
button                 16384  0
processor              36864  1 acpi_cpufreq
autofs4                40960  2
ext4                  593920  1
ecb                    16384  0
crc16                  16384  2 ext4,bluetooth
jbd2                  106496  1 ext4
crc32c_generic         16384  0
mbcache                16384  2 ext4
hid_generic            16384  0
usbhid                 49152  0
hid                   118784  2 hid_generic,usbhid
sd_mod                 45056  3
sr_mod                 24576  1
cdrom                  57344  1 sr_mod
ata_generic            16384  0
ohci_pci               16384  0
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  2
ghash_clmulni_intel    16384  0
jitterentropy_rng      16384  0
hmac                   16384  1
drbg                   24576  1
ansi_cprng             16384  0
ahci                   36864  2
ata_piix               36864  1
libahci                32768  1 ahci
fjes                   28672  0
aesni_intel           167936  0
ehci_pci               16384  0
ohci_hcd               49152  1 ohci_pci
ehci_hcd               77824  1 ehci_pci
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
libata                233472  4 ahci,libahci,ata_generic,ata_piix
usbcore               241664  5 ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common             16384  1 usbcore
i2c_piix4              24576  0
scsi_mod              233472  4 sg,libata,sd_mod,sr_mod
e1000                 135168  0
psmouse               126976  0
I also tried the Compat method but after the 'make load' command I get to see the wlan0 but unable to see any wireless networks and neither able to scan anything.

Any help would be appreciated ! I'm pretty desperate :(
Last edited by socratis on 23. Mar 2017, 12:25, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

Moving to Linux guest as you host is Windows and not Linux.

Do you have the Extension Pack installed on your host and can you see the USB device in the guest?

Note: using the USB device for wireless networking you will not need the bridged adapter enabled in the guest settings. In fact it may conflict if enabled.
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

Hello,

And ty for the quick answer, I changed the adapter to NAT.

The Extension pack is installed and yes I can see the device in USB - I unplugged it to make sure if it was the one.

i.imgur. com/BdUdzxT.png

This is what you mean by seeing the usb device ,no?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

I don't do off site links. Attach here if you want me to see it.
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

I can't ... ->
*You must be a member for 1 days and have 1 posts before you can post urls.*
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

Use the Upload attachment below the reply window.
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

Done
Attachments
look.PNG
look.PNG (48.36 KiB) Viewed 7979 times
Martin
Volunteer
Posts: 2560
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Martin »

Does the adapter appear in the "lsusb" list in Kali?
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

Yea it does

Code: Select all

root@kali:~# lsusb
Bus 001 Device 002: ID 0b05:166a ASUSTek Computer, Inc. 
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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

I don't see the "CISCO DPW632 802.11N USB Wireless Adapter" in this mix.
Post the following from the host.

Code: Select all

VBoxManage list usbhost
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

It is the AsusTek

Code: Select all

root@kali:~# lsusb -v

Bus 001 Device 002: ID 0b05:166a ASUSTek Computer, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x166a 
  bcdDevice            1.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 Pegatron
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 DPW632 802.11N Wireless USB Adapter
EDIT: Requested usbhost

Code: Select all

C:\Program Files\Oracle\VirtualBox>Vboxmanage list usbhost
Host USB Devices:

UUID:               637c54c5-a9a2-4074-af3c-801a2e934420
VendorId:           0x1532 (1532)
ProductId:          0x0203 (0203)
Revision:           2.0 (0200)
Port:               0
USB version/speed:  2/High
Manufacturer:       Razer USA, Ltd
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0019
Current State:      Busy

UUID:               a4d75d79-73cc-417d-9945-14eea92c892c
VendorId:           0x1532 (1532)
ProductId:          0x003e (003E)
Revision:           2.0 (0200)
Port:               0
USB version/speed:  2/High
Manufacturer:       Razer
Product:            Razer Naga Epic Chroma
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0024
Current State:      Busy

UUID:               9dfc64db-7794-4d89-b487-671e5f3f5fc6
VendorId:           0x0b05 (0B05)
ProductId:          0x166a (166A)
Revision:           1.1 (0101)
Port:               0
USB version/speed:  2/High
Manufacturer:       ASUSTek Computer, Inc.
Address:            \\?\usb#vid_80ee&pid_cafe#5&27095923&0&4#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State:      Captured
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

So this places this as a guest issue. Not all devices are supported by kali so you may need to seek their assistance. Do you see anything listed when running ifconfig -a in the guest that would show the device?
Gxm13
Posts: 7
Joined: 23. Mar 2017, 11:29

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Gxm13 »

Nothing relevant...only eth0 and lo.
On my CentOS the adapter works...so it is strange...

So I'll better buy a new adapter... Thank you for the support thus far.

If you have any ideas on what else to try I'm open to it :)

Cheers.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: WIFI USB Adapter not seen by VBox Kali Linux

Post by Perryg »

Before you buy a new adapter you really should ask the kali folks for advice. If for no other reason than to see which brand you should get.
I know my linksys device works but beyond that I have not tested.
Post Reply