[solved] can't lock wireless card on a specific channel

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
echo-dualis
Level 1
Level 1
Posts: 14
Joined: Tue Sep 18, 2018 10:33 pm
Location: Argentina
Contact:

[solved] can't lock wireless card on a specific channel

Post by echo-dualis » Tue Sep 25, 2018 12:50 am

Hello i'm trying to inject packets into my 2.4ghz network using the following commands:
first

Code: Select all

ifconfig [card-name] down
iwconfig [card] mode monitor
iwconfig [card] channel 6
ifconfig [card] up
then:

Code: Select all

airodump-ng [card]
or

Code: Select all

airodump-ng --bssid [networkMAC] --channel 6 --write arp-request-rep [card] (to check #data)
third:

Code: Select all

aireplay-ng --fakeauth 0 -a [networkMAC] -h [myMAC] [card]
aireplay-ng --arpreplay -b [networkMAC] -h [myMAC] [card]
-Output: that my card is in channel X and jumps around but access-point is in channel Y which is fixed.
-I tried spamming --fakeauth until card is in the same channel but soon enough it changes channels again so i need to LOCK IT.
-My wireless card is alta. Chipset atheros-ar9271.
-Any advice is appreciated.

User avatar
echo-dualis
Level 1
Level 1
Posts: 14
Joined: Tue Sep 18, 2018 10:33 pm
Location: Argentina
Contact:

Re: [solved] can't lock wireless card on a specific channel

Post by echo-dualis » Tue Sep 25, 2018 2:30 am

solution (worked for me):
ifconfig $IFACE down
iwconfig $IFACE mode managed
ifconfig $IFACE up
iwconfig $IFACE channel $@
ifconfig $IFACE down
iwconfig $IFACE mode monitor
ifconfig $IFACE up
may we meet again..

Post Reply

Return to “Wireless”