Jump to content

Hostapd doesn't work after a mac address change


Noob ody

Recommended Posts

Hello

I'm trying to setup a evil twin AP using hostapd and dnsmasq. Without changing the MAC address, i was able to connect to it with my other device but as soon as i changed MAC address of my wireless interface hostapd doesn't seem to work anymore. Any kind of help would be appreciated. 

Link to comment
Share on other sites

CHi kdodge

Thanks for replying.

Here are the commands I am using:

ifconfig wlan0 down

macchanger -r wlan0

ifconfig wlan0 up

systemctl stop NetworkManager

systemctl stop wpa_supplicant

hostapd hostapd.conf

dnsmasq -C dnsmasq.conf -d

ifconfig wlan0 1920168.43.1 netmask 255.255.255.0

 

Link to comment
Share on other sites

I tried  using "hostapd hostapd.conf -dd" command instead to get debug information and the following was it's output:

 

Ignore Probe Request due to DS Params mismatch: chan=6 != ds.chan=7
nl80211: Event message available
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan0
nl80211: MLME event 59 (NL80211_CMD_FRAME) on wlan0(98:22:ef:02:64:6b) A1=ff:ff:ff:ff:ff:ff A2=2a:6d:83:f1:b7:66
nl80211: MLME event frame - hexdump(len=106): 40 00 00 00 ff ff ff ff ff ff 2a 6d 83 f1 b7 66 ff ff ff ff ff ff e0 b9 00 00 01 08 02 04 0b 0c 12 16 18 24 32 04 30 48 60 6c 03 01 07 2d 1a 6f 01 17 ff 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 00 00 00 00 00 00 00 40 bf 0c 31 71 00 03 fe ff 00 00 fe ff 00 00 dd 07 00 50 f2 08 00 13 00
nl80211: Frame event
nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=2a:6d:83:f1:b7:66 bssid=ff:ff:ff:ff:ff:ff freq=2437 ssi_signal=-22 fc=0x40 seq_ctrl=0xb9e0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=106
Ignore Probe Request due to DS Params mismatch: chan=6 != ds.chan=7

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...