Hack Forums
Install USB network adapter on kali VM - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: Install USB network adapter on kali VM (/showthread.php?tid=6290799)



Install USB network adapter on kali VM - Pr0m3th3us - Jan 28, 2025

i need to use my tp-link AX1750 on my kali VM, how to i install it or get it to show up for that matter.


RE: Install USB network adapter on kali VM - RootRXXT - Jan 28, 2025

sudo apt install gcc
sudo apt install git
git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu/
make --version
If it’s not found, install it by using the command:
sudo apt install make
sudo make all
sudo make install

and reboot
Should work


RE: Install USB network adapter on kali VM - Pr0m3th3us - Jan 28, 2025

(Jan 28, 2025 02:50 PM)RootRXXT Wrote:  sudo apt install gcc
sudo apt install git
git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu/
make --version
If it’s not found, install it by using the command:
sudo apt install make
sudo make all
sudo make install

and reboot
Should work

You are overqualified for these forums sir 🤣🤣

Thanks i am trying it now...


RE: Install USB network adapter on kali VM - RootRXXT - Jan 28, 2025

(Jan 28, 2025 02:51 PM)Unknown Inebriated Looser Wrote:  You are overqualified for these forums sir 🤣🤣

Thanks i am trying it now...

Or you can try this..

sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install linux-headers-`uname -r`
sudo apt install linux-headers-5.10.0-kali6-amd64
sudo apt install dkms
sudo rmmod r8188eu.ko
sudo apt install git
https://github.com/aircrack-ng/rtl8188eus
git clone https://github.com/aircrack-ng/rtl8188eus
cd rtl8188eus/
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
cd rtl8188eus/
make --version
sudo apt-get install make
sudo make
sudo make install
sudo modprobe r8188eu


RE: Install USB network adapter on kali VM - Pr0m3th3us - Jan 28, 2025

none of my apt commands are found


RE: Install USB network adapter on kali VM - DramaKing - Jan 29, 2025

(Jan 28, 2025 03:20 PM)Unknown Inebriated Looser Wrote:  none of my apt commands are found

You didn't remove apt, did you?


RE: Install USB network adapter on kali VM - Pr0m3th3us - Jan 29, 2025

(Jan 29, 2025 04:04 AM)DramaKing Wrote:  You didn't remove apt, did you?

I didn’t. It’s on Wifislax so maybe it is already removed?


RE: Install USB network adapter on kali VM - Infinity. - Jan 30, 2025

(Jan 28, 2025 02:53 PM)RootRXXT Wrote:  Or you can try this..

sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install linux-headers-`uname -r`
sudo apt install linux-headers-5.10.0-kali6-amd64
sudo apt install dkms
sudo rmmod r8188eu.ko
sudo apt install git
https://github.com/aircrack-ng/rtl8188eus
git clone https://github.com/aircrack-ng/rtl8188eus
cd rtl8188eus/
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
cd rtl8188eus/
make --version
sudo apt-get install make
sudo make
sudo make install
sudo modprobe r8188eu

You're mostly correct bro
You're installing the rtl8188eus driver, which is for Realtek 8188 chipset, not the AX1750 (which uses RTL8812 or RTL8821).
The correct driver for TP-Link AX1750 should be rtl88XXau instead.

sudo apt update && sudo apt upgrade -y
sudo apt install build-essential dkms git -y
sudo apt install linux-headers-$(uname -r) -y
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au/
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 88XXau

--verify--
ip link show
iwconfig
lsusb


RE: Install USB network adapter on kali VM - Pr0m3th3us - Jan 30, 2025

(Jan 30, 2025 09:51 AM)Infinity. Wrote:  You're mostly correct bro
You're installing the rtl8188eus driver, which is for Realtek 8188 chipset, not the AX1750 (which uses RTL8812 or RTL8821).
The correct driver for TP-Link AX1750 should be rtl88XXau instead.

sudo apt update && sudo apt upgrade -y
sudo apt install build-essential dkms git -y
sudo apt install linux-headers-$(uname -r) -y
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au/
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
exit
make
sudo make install
sudo modprobe 88XXau

--verify--
ip link show
iwconfig
lsusb

Thanks, Wifislax shows that is pre-installed and still it doesn't find my adapter 🙁

im going to try it in my kali VM and see if it shows up then ill know its just wifislax that's causing me the issue...


RE: Install USB network adapter on kali VM - Pr0m3th3us - Jan 31, 2025

(Jan 30, 2025 09:51 AM)Infinity. Wrote:  make
sudo make install
sudo modprobe 88XXau

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.11.2-amd64/build M=/home/unknownuser/rtl8812au modules
make[1]: Entering directory '/home/unknownuser/rtl8812au'
make[1]: * /lib/modules/6.11.2-amd64/build: No such file or directory. Stop.
make[1]: Leaving directory '/home/unknownuser/rtl8812au'
make: * [Makefile:1730: modules] Error 2

whats this error?
also..im not 100% sure if the "echo "blacklist..." line worked.


RE: Install USB network adapter on kali VM - Pr0m3th3us - Feb 1, 2025

(Feb 1, 2025 07:06 PM)Lowkey Wrote:  Uh check if your adapter is recognized to begin with: ifconfig -a

This will show all network interfaces.

If your adapter isn’t listed, (ur cooked) it’s a driver issue most likely.


Then check usb detection (if tt's a USB adapter) with: lsusb OR dmesg | grep usb

If your adapter shows up, the system detects it but may lack the right drivers.


If they aren't then find out which chipset your adapter uses with: lspci -nn | grep Network

Then load the driver manually with: modprobe <drivernamehere>

If you don’t know the driver, search online for your chipset + linux driver and install it that way.


Also....it could just be an incompatible wifi adapter.

Nice thank you, i really appreciate all the help from everyone. Im going to be on all day tomorrow setting this VM up and hopefully getting it going.

(Feb 1, 2025 07:06 PM)Lowkey Wrote:  Uh check if your adapter is recognized to begin with: ifconfig -a

This will show all network interfaces.

If your adapter isn’t listed, (ur cooked) it’s a driver issue most likely.


Then check usb detection (if tt's a USB adapter) with: lsusb OR dmesg | grep usb

If your adapter shows up, the system detects it but may lack the right drivers.


If they aren't then find out which chipset your adapter uses with: lspci -nn | grep Network

Then load the driver manually with: modprobe <drivernamehere>

If you don’t know the driver, search online for your chipset + linux driver and install it that way.


Also....it could just be an incompatible wifi adapter.

It seems it is incompatible as it doesn't show up 😭


RE: Install USB network adapter on kali VM - Pr0m3th3us - Feb 6, 2025

I gave up on the TP link one and ordered an ASUS AX1800. If someone has the lines for that please share, thanks.


RE: Install USB network adapter on kali VM - Klonopin - Feb 6, 2025

What VM are you using?


RE: Install USB network adapter on kali VM - Pr0m3th3us - Feb 6, 2025

(Feb 6, 2025 04:51 PM)Klonopin Wrote:  What VM are you using?

Latest version of Oracle VM

Also i put the wrong model, its AXE5400