USB WİRELESS ADAPTER HELP

Discussions related to using VirtualBox on Linux hosts.
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

USB WİRELESS ADAPTER HELP

Post by gokhan »

I use virtualbox on manjaro for kali virtualisation. I mustt add usb wireless adapter to usewifi on kali
but it doesn't appear on virtualbox. Please help me.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

Linux host USB is probably the easiest of all distros supported. There needs to be 3 things to achieve success.
  • 1) Matching extension pack installed.
    2) ( host requirement ) user name added to the vboxusers group followed with a logout and login or a reboot of the host to enable the new permission.
    3) You need to be using the official version of VirtualBox and the official version of the extension pack.
Note: the repo version of the extension pack does not have USB support because VirtualBox USB is closed source and you must use and accept the license for the official version.
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

Can you tell me how to do please?

for 1) Matching extension pack installed.
2) ( host requirement ) user name added to the vboxusers group followed with a logout and login or a reboot of the host to enable the new permission.

I have offical version of virtualbox

That's very important for me.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

First you need to post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

I installed extension pack and add virtualbox and add vboxusers
but not resolved. Maybe there is no wn722n driver. How to setup driver on manjaro?
Attachments
driver.png
driver.png (27.05 KiB) Viewed 3263 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

You still need to provide the information requested. If you do not want to that is of course your choice but without that not much can be done to diagnose the issue.
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

VBoxManage list extpacks

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.24
Revision:     117012
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 
VBoxManage usbhost

Code: Select all

Host USB Devices:

<none>
VBoxManage usbfilters

Code: Select all

Global USB Device Filters:

<none>
id

Code: Select all

uid=1000(gokhan) gid=1000(gokhan) groups=1000(gokhan),3(sys),7(lp),10(wheel),56(bumblebee),90(network),91(video),93(optical),95(storage),96(scanner),98(power)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

In a host terminal run this:

Code: Select all

sudo usermod -aG vboxusers <your username>
Replace <your username> with the name you use to log in. Type your user password when prompted.


Be sure to log off and back in to finalize the change in permissions
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

i did and added usb device Realtek 802.11 n NIC but i don't see wlan in kali.
i used 'iwconfig' in manjaro and result :

Code: Select all

wlp0s20u3  IEEE 802.11bgn  ESSID:"G2_8114"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: C4:9A:02:65:98:A8   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=87/100  Signal level=-44 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

enp4s0f1  no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"G2_8114"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: C4:9A:02:65:98:A8   
          Bit Rate=72.2 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:39   Missed beacon:0
Attachments
screen.png
screen.png (20.82 KiB) Viewed 3204 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

post the results of "id" again
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

id result :

Code: Select all

uid=1000(gokhan) gid=1000(gokhan) groups=1000(gokhan),3(sys),7(lp),10(wheel),56(bumblebee),90(network),91(video),93(optical),95(storage),96(scanner),98(power),108(vboxusers)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB WİRELESS ADAPTER HELP

Post by Perryg »

Now post the results of the following from the guest terminal:

lsusb
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

lsusb result :

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:57b4 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 13d3:3408 IMC Networks 
Bus 001 Device 006: ID 2357:010c  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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: USB WİRELESS ADAPTER HELP

Post by Perryg »

Bus 001 Device 003: ID 0bda:57b4 Realtek Semiconductor Corp.

OK so the guest sees the adapter. This now becomes an OS issue and for that you will need to contact the vendor. I suspect it might have something to do with the firmware or the adapter is not supported by the OS but that is something they will need to tell you.
gokhan
Posts: 12
Joined: 28. Jun 2017, 14:33

Re: USB WİRELESS ADAPTER HELP

Post by gokhan »

hi again :)
lsusb result :

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:57b4 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 13d3:3408 IMC Networks 
Bus 001 Device 005: ID 2357:010c  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
usb wireless adapter's name is unnamed. (Bus 001 Device 005: ID 2357:010c)
and when i want to connect to wifi in manjaro it looks like Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
but when i want to add in virtualbox it looks like Realtek 802.11n NIC, also when i start the virtualbox it stops wifi adapter
Post Reply