vanhoefm / fragattacks

Other
1.24k stars 185 forks source link

CTRL-EVENT-NETWORK-NOT-FOUND #18

Closed D3adP3nguin closed 3 years ago

D3adP3nguin commented 3 years ago

I have been using the Live image OS for multiple AP testing and it has been working great. However all of a sudden the tool started getting hung up on "Successfully initialized WPA supplicant", so I decided to turn on debugging to see what could be causing this issue. the debugging logs show me that "CTRL-EVENT-NETWORK-NOT-FOUND" however when I manually scroll through the debug logs I can see the SSID of the device I set up in the client.conf file (and made sure to rerun ./build.sh) I'm not sure what could be causing this problem. I am using a Alfa AWUS036NHA ; and I have been using this device for my previous 6 tests and it has worked fine, and now suddenly I'm starting to get this error. Any help would be greatly appreciated.

vanhoefm commented 3 years ago

Can you show the full debug output? Some things to look out for:

  1. Make sure you properly entered the SSID. Look at the debug output to check whether the network is loaded properly.
  2. Are you trying to connect to a hidden network? If so, add the scan_ssid=1 parameter to client.conf (see example).
D3adP3nguin commented 3 years ago

debug.txt

This is the latest test. I used the scan_ssid=1 parameter in the client.conf and reran ./build.sh to confirm changes. I also did the same test on the 2.4Ghz channel and it is not working either.

D3adP3nguin commented 3 years ago

I reran the test again and this time TESTNET was actually seen by the device but gets the following message in the debug output:

wlan1mon: BSS: Remove id 6 BSSID 58:ef:68:5f:2d:31 SSID 'TESNET' due to wpa_bss_flush

vanhoefm commented 3 years ago

Looks like the network name advertised by the AP is 'TESNET' but in client.conf you included the network 'TESTNET_5G'. Notice that the network advertised by the AP seems to be missing the letter 'T' in the middle. Additionally, the network specified in your client.conf shouldn't include the '_5G' suffix (unless your AP also includes it).

D3adP3nguin commented 3 years ago

Thank you very much

vanhoefm commented 3 years ago