Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The network card goes into monitoring mode, but it cannot inject packets. #48

Open
ohmitek opened this issue Mar 18, 2022 · 1 comment

Comments

@ohmitek
Copy link

ohmitek commented Mar 18, 2022

The network card goes into monitoring mode, but it cannot inject packets.
Have others been able to make this work? I tried clnhub_test4 -branch too.

TL-WN882n(EU) Ver:5.20
5.16.0-kali4-amd64 #1 SMP PREEMPT Debian 5.16.12-1kali1 (2022-03-09) x86_64 GNU/Linux

@albaluz35
Copy link

In my case enabling monitor mode and doing packet injection WORKS! as follows:

sudo apt update
sudo apt upgrade
sudo apt-get install linux-headers-uname -r build-essential dkms
git clone https://github.com/clnhub/rtl8192eu-linux.git
cd rtl8192eu-linux
sed -i -E 's/CONFIG_WIFI_MONITOR\s*=\s*n/CONFIG_WIFI_MONITOR = y/' Makefile

sudo rmmod 8192eu rtl8xxxu r8188eu
echo "blacklist rtl8xxxu" >> ./blacklist-rtl8xxxu.conf
sudo mv ./blacklist-rtl8xxxu.conf /etc/modprobe.d/
./install_wifi.sh


IF THERE ARE PROBLEMS WITH ./install_wifi.sh, RUN ./uninstall_wifi.sh then execute make commands manually:
# sudo make
# sudo make install


sudo modprobe 8192eu
sudo lsmod |grep 8192eu

!To enable Monitor mode and test packet injection:!

WL=wlan0
sudo iwconfig
sudo ifconfig $WL down
sudo airmon-ng check kill
sudo iwconfig $WL mode monitor
sudo ifconfig $WL up
sudo iwconfig

sudo aireplay-ng --test $WL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants