Jump to content

I have Kali Linux running inside Virtual Box and the other day I was trying to use the built in blue tooth dongle (on a Lenovo y410p) but Kali said that the device was not found. I figured that I'd have to set it up through Virtual Box. I tried using a COM port but it always said that it couldn't find the dongle so I looked through the USB settings but I couldn't figure out how those settings worked. Does Virtual Box support internal blue tooth dongles and if it does, how do I set it up?

 

Note: I'm not using Kali for any malicious purposes but rather to learn more about the Linux environment and computers in general. If I do use any of the pen testing tools Kali provides, it's used on devices that I own.

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/
Share on other sites

Link to post
Share on other sites

normally you mount usb devices in the usb menu on the vm, do you have the addon installed? Also you can try booting kali from a usb and seeing if it works at all. You might find it doesn't have drivers for it.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9354238
Share on other sites

Link to post
Share on other sites

3 minutes ago, vorticalbox said:

normally you mount usb devices in the usb menu on the vm, do you have the addon installed? Also you can try booting kali from a usb and seeing if it works at all. You might find it doesn't have drivers for it.

I do have the addon installed. Should I just look up a video on how to mount a USB?

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9354254
Share on other sites

Link to post
Share on other sites

1 minute ago, Xeno26 said:

I do have the addon installed. Should I just look up a video on how to mount a USB?

when you have the machine running click devices at the top then usb and see if it is in the list.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9354258
Share on other sites

Link to post
Share on other sites

6 minutes ago, vorticalbox said:

when you have the machine running click devices at the top then usb and see if it is in the list.

Kali-Linux-1.1.0-System-Settings.jpg

These is the settings in Kali and when I select blue tooth it says "No blue tooth found. Plug in dongle to use blue tooth"

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9354305
Share on other sites

Link to post
Share on other sites

are the virtual box drivers installed?

some features won't work without them, e.g. shared folders

****SORRY FOR MY ENGLISH IT'S REALLY TERRIBLE*****

Been married to my wife for 3 years now! Yay!

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9354657
Share on other sites

Link to post
Share on other sites

49 minutes ago, Xeno26 said:

I've downloaded the expansion pack, if that's what you mean.

no, guest addonations:

https://www.virtualbox.org/manual/ch04.html

that's what i mean..

when virtualizing a opereating go to

"devices" then the last option "insert guest additions cd"

thats what i mean

****SORRY FOR MY ENGLISH IT'S REALLY TERRIBLE*****

Been married to my wife for 3 years now! Yay!

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9355284
Share on other sites

Link to post
Share on other sites

1 hour ago, samiscool51 said:

no, guest addonations:

https://www.virtualbox.org/manual/ch04.html

that's what i mean..

when virtualizing a opereating go to

"devices" then the last option "insert guest additions cd"

thats what i mean

I will follow the directions on the website, thanks.

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9355684
Share on other sites

Link to post
Share on other sites

21 minutes ago, BurningSmile said:

sudo apt install virtualbox-guest-additions-iso

I did that and it downloaded but then it said "Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?". When I ran apt-get update it said " Err:1 http://http.kali.org/kali kali-rolling InRelease Could not resolve 'http.kali.org'" then says that it's reading packing lists then it basically says it couldn't resolve the URL again. When I ran the --fix-missing with the command you gave me and it did what it normally does but at it returned "Internal error, ordering was unable to handle the media swap"

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9355778
Share on other sites

Link to post
Share on other sites

1 hour ago, Xeno26 said:

sudo apt install virtualbox-guest-additions-iso

it's sudo apt-get install virtualbox-guest-additions-iso

you forgot "-get"

that should work and if it doesn't then just use the method i told you in my post

****SORRY FOR MY ENGLISH IT'S REALLY TERRIBLE*****

Been married to my wife for 3 years now! Yay!

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9356091
Share on other sites

Link to post
Share on other sites

13 hours ago, Xeno26 said:

These is the settings in Kali and when I select blue tooth it says "No blue tooth found. Plug in dongle to use blue tooth"

You have to mount it from virtual box no in the guest OS

Untitled.png

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9357367
Share on other sites

Link to post
Share on other sites

12 hours ago, samiscool51 said:

it's sudo apt-get install virtualbox-guest-additions-iso

you forgot "-get"

that should work and if it doesn't then just use the method i told you in my post

Works both ways on some OSes.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9358456
Share on other sites

Link to post
Share on other sites

15 hours ago, samiscool51 said:

it's sudo apt-get install virtualbox-guest-additions-iso

you forgot "-get"

that should work and if it doesn't then just use the method i told you in my post

Apt should work on modern distros. Try apt-get to see that does anything. I have never messed with kali. So it may not be in the repos. In which case do it manually. 

 

First insert the virtualbox guest additions cd image. You can do this from the devices menu.

 

Next open a terminal

sudo mount /dev/cdrom /mnt

cd /mnt

sh ./VBoxLinuxAdditions.run

 

Also just an fyi bluetooth under linux is finicky at best.

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9359284
Share on other sites

Link to post
Share on other sites

Just a heads up, if it's not a USB dongle you have added then it likely won't show up in USB devices. 

Main System: Phobos

AMD Ryzen 7 2700 (8C/16T), ASRock B450 Steel Legend, 16GB G.SKILL Aegis DDR4 3000MHz, AMD Radeon RX 570 4GB (XFX), 960GB Crucial M500, 2TB Seagate BarraCuda, Windows 10 Pro for Workstations/macOS Catalina

 

Secondary System: York

Intel Core i7-2600 (4C/8T), ASUS P8Z68-V/GEN3, 16GB GEIL Enhance Corsa DDR3 1600MHz, Zotac GeForce GTX 550 Ti 1GB, 240GB ADATA Ultimate SU650, Windows 10 Pro for Workstations

 

Older File Server: Yet to be named

Intel Pentium 4 HT (1C/2T), Intel D865GBF, 3GB DDR 400MHz, ATI Radeon HD 4650 1GB (HIS), 80GB WD Caviar, 320GB Hitachi Deskstar, Windows XP Pro SP3, Windows Server 2003 R2

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9361160
Share on other sites

Link to post
Share on other sites

9 hours ago, Xeno26 said:

It is indeed an internal card but is there anyway I could make it appear as a USB?

If it doesn't appear as a USB device to the host, you probably won't. I can, for instance, connect my webcam to a VM because the host sees it as USB (although it's built into the laptop). But I can't forward my Wi-FI card. 

Main System: Phobos

AMD Ryzen 7 2700 (8C/16T), ASRock B450 Steel Legend, 16GB G.SKILL Aegis DDR4 3000MHz, AMD Radeon RX 570 4GB (XFX), 960GB Crucial M500, 2TB Seagate BarraCuda, Windows 10 Pro for Workstations/macOS Catalina

 

Secondary System: York

Intel Core i7-2600 (4C/8T), ASUS P8Z68-V/GEN3, 16GB GEIL Enhance Corsa DDR3 1600MHz, Zotac GeForce GTX 550 Ti 1GB, 240GB ADATA Ultimate SU650, Windows 10 Pro for Workstations

 

Older File Server: Yet to be named

Intel Pentium 4 HT (1C/2T), Intel D865GBF, 3GB DDR 400MHz, ATI Radeon HD 4650 1GB (HIS), 80GB WD Caviar, 320GB Hitachi Deskstar, Windows XP Pro SP3, Windows Server 2003 R2

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9362750
Share on other sites

Link to post
Share on other sites

13 hours ago, Jamiec1130 said:

If it doesn't appear as a USB device to the host, you probably won't. I can, for instance, connect my webcam to a VM because the host sees it as USB (although it's built into the laptop). But I can't forward my Wi-FI card. 

Thanks, I don't think it will work then but I appreciate the help.

Link to comment
https://linustechtips.com/topic/737168-virtual-box-bluetooth/#findComment-9365942
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×