airbase-ng : Wifi card gets out from monitor mode unexpectedly
Hello everyone,
I desperately try to run the tool "airbase-ng" correctly ...
I use the last arm image of kali (update and upgrade):
Code:
Linux kali 4.0.9 #1 PREEMPT Thu Jan 28 21:18:26 CST 2016 armv6l GNU/Linux
I also use a AWUS036H as wifi card:
Code:
PHY Interface Driver Chipset
phy0 wlan0 rtl8187 Realtek Semiconductor Corp. RTL8187
When I create my AP with airbase-ng, everything seems to be fine:
Code:
root@kali:~# airbase-ng -e TEST wlan0mon
16:14:23 Created tap interface at0
16:14:23 Trying to set MTU on at0 to 1500
16:14:23 Trying to set MTU on wlan0 to 1800
16:14:23 Access Point with BSSID 00:C0:CA:4F:15:44 started.
I can successfully connect to it:
Code:
16:15:11 Client XX:XX:XX:XX:XX:XX associated (unencrypted) to ESSID: "TEST"
However, as soon as I try to create traffic with the connected device (with the good iptables rules and dhcp server), BOOM:
Code:
read failed: Network is down
wi_read(): Network is down
Error: Got channel -1, expected a value > 0.
write failed: No such device or address
wi_write(): No such device or address
Error sending beacon!
write failed: No such device or address
wi_write(): No such device or address
write failed: No such device or address
wi_write(): No such device or address
write failed: No such device or address
wi_write(): No such device or address
write failed: No such device or address
wi_write(): No such device or address
write failed: No such device or address
wi_write(): No such device or address
The wifi card seems to get out from monitor mode ...
I have tried several things that I have found on the net:
- Use a shorter USB cable
- Use iwconfig instead of airmon-ng to set the card in monitor
- Set the channel when I set the modinor
Nothing to do, I still have this problem...
You are my last hope :D
Thans for your help!