Results 1 to 2 of 2

Thread: Virtualbox kali to control usb wireless adapter

  1. #1
    Join Date
    2015-Dec
    Posts
    2

    Virtualbox kali to control usb wireless adapter

    Hello, as the title says I have installed Kali into a veritualbox environment. I am now trying to control a usb wireless adapter but Kali doesn't seem to be able to do this.

    Kali sees it connected as follows:

    lsusb
    [code]
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    [code]

    lsusb -v
    Code:
    Bus 001 Device 003: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x13b1 Linksys
      idProduct          0x003f WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
      bcdDevice            0.00
      iManufacturer           1 Linksys
      iProduct                2 WUSB6300
      iSerial                 3 34
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           53
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              500mA
        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              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x03  EP 3 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x04  EP 4 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x85  EP 5 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               1
    Device Qualifier (for other device speed):
      bLength                10
      bDescriptorType         6
      bcdUSB               2.00
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      bNumConfigurations      1
    Device Status:     0x0002
      (Bus Powered)
      Remote Wakeup Enabled
    I installed the driver for te adapter with ndiswrapper.
    Here you see that it is already installed
    Code:
    root@kali:~# ndiswrapper -i /media/cdrom/adapter/driver/Win81X64/netrtwlanu.inf 
    driver netrtwlanu is already installed
    root@kali:~# ndiswrapper -m
    module configuration already contains alias directive
    I disconnected the adapter and then reconnected. demsg doesn't show any issues:
    Code:
    [ 1802.328376] usb 1-2: USB disconnect, device number 3
    [ 1806.735177] usb 1-2: new high-speed USB device number 4 using xhci_hcd
    [ 1806.866243] usb 1-2: New USB device found, idVendor=13b1, idProduct=003f
    [ 1806.866251] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1806.866255] usb 1-2: Product: WUSB6300
    [ 1806.866258] usb 1-2: Manufacturer: Linksys
    [ 1806.866260] usb 1-2: SerialNumber: 34
    But when I look at the loaded modules I cannot find it. What am I doing wrong?

    Thank you in advance for your help.
    Last edited by maiki; 2016-10-24 at 09:03. Reason: Merge posts

  2. #2
    Join Date
    2015-Dec
    Posts
    2
    OK, I downloaded the driver from git and compiled it. It looks to be working need to do some more testing to be 100% sure its working now.

Similar Threads

  1. Replies: 1
    Last Post: 2014-03-19, 23:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •