Problem with network card.

OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0
Isn't there some other virtual machine program where this isn't?
 


Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
Okay, so... I can't use the "iwconfig" command, but instead use "inxi -nxx", right?
You can use
Code:
inxi
to gather information on your system; hardware and software. Also, I found this https://www.kali.org/docs/troubleshooting/troubleshooting-wireless-driver-issues/ on kali website and it says
Is Kali a VM? Then, unless your card is USB, it will not be useable (VMWare/VirtualBox/QEMU will virtualize EVERY PCI device). Is it attached to the VM?
So looks like it might be possible but, if I understand correctly that above, you'll need a USB wifi adapter according to that info.
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0

Quise decir si hay algún otro programa de virtualización en el que no tenga este problema.
Edit: Ok, I read about virtualization and came to the conclusion that I need a USB adapter, so if I install it as another operating system will it work for me?
 
Last edited:

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,449
Reaction score
1,055
Credits
8,957
Yep, can't do wifi in virtualBox. (well, there is a way.. but it's not easy).

What are you trying to accomplish here? Why do you specifically need wifi "inside" the VM?
 
OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0
I have wifi, but I can't use commads, as, "iwconfig" because it says that I haven't wireless extensions.
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
Quise decir si hay algún otro programa de virtualización en el que no tenga este problema.
Edit: Ok, I read about virtualization and came to the conclusion that I need a USB adapter, so if I install it as another operating system will it work for me?
You mean install it in a real pc? I guess it will as long as the hardware and resources are available.
I have wifi, but I can't use commads, as, "iwconfig" because it says that I haven't wireless extensions.
I have an idea, try installing the dhcpcd package; start Kali VM, open a terminal and type
Code:
apt install dhcpcd5
once installed run it with
Code:
dhcpcd
try and see if this time the
Code:
iwconfig
command works.
 
OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0
You mean install it in a real pc? I guess it will as long as the hardware and resources are available.

I have an idea, try installing the dhcpcd package; start Kali VM, open a terminal and type
Code:
apt install dhcpcd5
once installed run it with
Code:
dhcpcd
try and see if this time the
Code:
iwconfig
command works.

The same result as always.
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
The same result as always.
Oh well, as I said before there isn't any wifi capable hardware in the VM, it was a long shot, just thought it was worth trying. Do as the Kali site suggests and use a USB adapter, attach it to the VM and try with that or, burn kali iso to a USB, boot in live mode and do it. BTW, the guy from the video never said whether or not he used virtualbox, did he? Other than that I'm out of ideas. Sorry.
 
OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0
Yes, I have two options, either buy a USB adapter or install Kali Linux as an operating system on the PC, thank you and I will inform you of how it went.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,449
Reaction score
1,055
Credits
8,957
The USB adapter wont help you if you're trying to do this from a VM.
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
The USB adapter wont help you if you're trying to do this from a VM.
Well, according to Kali's own website looks like it might be possible to use a USB wifi adapter https://www.kali.org/docs/troubleshooting/troubleshooting-wireless-driver-issues/
Is Kali a VM? Then, unless your card is USB, it will not be useable (VMWare/VirtualBox/QEMU will virtualize EVERY PCI device). Is it attached to the VM?
So, if I understand correctly the above, it'd work by using a USB wifi adapter and attaching it to the VM. Never tried this myself cause I've never had the need to but now I'm curious and since I happen to have one of those devices around + a Kali.iso, might as well have a bit of fun trying that, just for the sake of curiosity. :)
 
OP
M

Mathese

New Member
Joined
Apr 15, 2020
Messages
19
Reaction score
1
Credits
0
I have already installed Kali as an operating system and it still gives me "no wireless extensions", but now it gives me more information, such as the network interface that it did not give me before, in short, now it gives me the information I needed and before I did not have.
 

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,456
Reaction score
1,177
Credits
10,567
I have already installed Kali as an operating system and it still gives me "no wireless extensions", but now it gives me more information, such as the network interface that it did not give me before, in short, now it gives me the information I needed and before I did not have.
You mean you installed it on your real pc? Does your pc have a wireless adapter? Now, you could try with dhcpcd and see if it works. I had some similar issue in bullseye and that fixed it, since Kali is based on Debian I think it should work.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,449
Reaction score
1,055
Credits
8,957
Can you give output from...

nmcli dev show | grep -B1 wifi
 

hawkins

New Member
Joined
Apr 16, 2020
Messages
18
Reaction score
11
Credits
59
From that video I think that's a USB wifi, it's one you can put into monitor mode for taking packets out the air like router handshakes. https://www.alfa.com.tw/service_1/all/1.htm I have the green one it works with kali. If you use Virtual Box you need to add guest additons to access usb from host. "sudo apt install -y virtualbox-guest-x11" and if your Host machine is also a Linux then you have to add your username to the virtual box group.
sudo usermod -a -G vboxusers $USER.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation


Top