sensepost/mana

hostapd handle_assoc_cb STA not found

toarney opened this issue · 3 comments

Using Kali (rolling)
Alfa AWUS036NH

Client would connect to SSID then immediately disconnect with error message:

hostapd handle_assoc_cb STA [MAC ADDRESS OR CLIENT] not found

Realized that the wlan0 channel was not being set correctly.

Fix: (in start*.sh)

sed -i "s/^channel=.*$/channel=$channel/" $conf
iwconfig $phy channel $channel

singe commented

That's very strange. hostapd sets the channel. Would you be willing to share what wifi hardware you're using (chipset, driver, manufacturer etc) Also are you running anything else that may affect the channel, such as airodump in channel hopping mode?

On 08 Apr 2016, at 5:39 PM, toarney notifications@github.com wrote:

Using Kali (rolling)
Alfa AWUS036NH

Client would connect to SSID then immediately disconnect with error message:

hostapd handle_assoc_cb STA [MAC ADDRESS OR CLIENT] not found

Realized that the wlan0 channel was not being set correctly.

Fix: (in start*.sh)

sed -i "s/^channel=.*$/channel=$channel/" $conf
iwconfig $phy channel $channel


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Sure:

WiFi hardware:

Alfa AWUS036NH
idVendor=148f
idProduct=3070
ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
rt2800usb 3-2.1:1.0: firmware: direct-loading firmware rt2870.bin
ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected -
version: 0.29

Nothing else running (no airodum-ng, no monitor mode, no nothing)

service network-manager stop

On Fri, Apr 8, 2016 at 2:58 PM, Dominic White notifications@github.com
wrote:

That's very strange. hostapd sets the channel. Would you be willing to
share what wifi hardware you're using (chipset, driver, manufacturer etc)
Also are you running anything else that may affect the channel, such as
airodump in channel hopping mode?

On 08 Apr 2016, at 5:39 PM, toarney notifications@github.com wrote:

Using Kali (rolling)
Alfa AWUS036NH

Client would connect to SSID then immediately disconnect with error
message:

hostapd handle_assoc_cb STA [MAC ADDRESS OR CLIENT] not found

Realized that the wlan0 channel was not being set correctly.

Fix: (in start*.sh)

sed -i "s/^channel=.*$/channel=$channel/" $conf
iwconfig $phy channel $channel


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#60 (comment)

singe commented

I haven't used a AWUS036NH in years, because it didn't used to support master mode until the move to mac80211. I've got one around somewhere. As I said before, I can't see why you'd need to manually set the channel, because hostapd does that. I'll see if I can re-create your issue when I dig the device up.