Jump to content

wpa_supplicant.. Deauthentication Request Received... looped


i8igmac

Recommended Posts

I am trying to setup a alfa-r36 + awus036H repeater...

http://www.alfa.com.tw/faq_show.php?sn=5

some basic instructions on the setup...

So, the awus036H has Associated successfully, but then Deauthentication Request is Received with a user.warn kernel: alg name:CCMP... this is a never ending loop of associated/Deauthentication

this makes me think its a wpa_supplicant config error, CCMP would be a encryption type (i guess)

i have logged in to the router threw nc ip:23 to see if i can make changes to the config but i fail to restart the services properly...

After a fresh reset and configure with the instructions above, here is the wpa.conf generated from the web gui

cat wpa.conf
ctrl_interface=/var/run/wpa_supplicant
driver_param="field=wext"
ap_scan=2
network={
scan_ssid=1
ssid="boisture"
bssid=68:7F:74:4F:4A:9F
key_mgmt=WPA-PSK
mode=0
proto=WPA
psk="mustang68"
}
network={
disabled=1
id_str="localAP1"
scan_ssid=1
ssid="11N 3G Router_AP"
bssid=00:C0:CA:83:82:A2  
key_mgmt=NONE
}

And here is the loop found in the logs

Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Linking with 'boisture':
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Authenticating.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Associating.
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Associated successfully
Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: rtl8187L: Link Change: IEEE80211_LINKED (B/G-Mode)
Jan  1 00:24:37 11N_3G_USB_Router user.warn kernel: alg name:CCMP
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Deauthentication Request Received. Disassociating.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Linking with 'boisture':
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Authenticating.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Associating.
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Associated successfully
Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: rtl8187L: Link Change: IEEE80211_LINKED (B/G-Mode)
Jan  1 00:24:46 11N_3G_USB_Router user.warn kernel: alg name:CCMP

So, with a linux machine, i can successfully authenticate with this alfa awus036H

wpa_passphrase boisture mustang68 > /etc/wpa.conf

network={
        ssid="boisture"
        #psk="mustang68"
        psk=d62f07270325d08af1806943a8418ca6f3840f334edf596c8cfe77dbffac6022
}

wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa.conf

dhclient wlan0

i feel that this is a disagreement with alfa r36 and the access point encryption type

EDIT... i feel like a big boy, its working. with this new config file.

ctrl_interface=/var/run/wpa_supplicant
driver_param="field=wext"
ap_scan=2
network={
scan_ssid=1
ssid="boisture"
psk=267b143f9c4f7e21a03359394b8a399c92461e5adc2ae2f472e574ca7de3ca68
key_mgmt=WPA-PSK
proto=RSN
pairwise=CCMP
group=TKIP
}
network={
disabled=1
id_str="localAP1"
scan_ssid=1
ssid="11N 3G Router_AP"
bssid=00:C0:CA:83:82:A2  
key_mgmt=NONE
}

The quality is not what i expected...

i like to hold a ping with google and watch a consistent 20-30 ms

then start a bandwidth test with the link below

http://testmy.net/dl-5004

instantly i see the ping with google go to 500ms until the link above completes...

Edited by i8igmac
Link to comment
Share on other sites

If when the download is going on you get a lot of dropped packets, it's congestion on the radio frequency. Your ping request might have a hard time travelling to the AP in one piece with all that traffic flowing back.

Are you sure nothing else is hogging or disturbing the frequency?

Link to comment
Share on other sites

I have changed the channel. its a bit of a hacky process to get the thing established. Modify the config then restart the wpa process

I did change the rate if wlan0 to max 54M witch did make a difference ... but I notice as soon as he bandwidth test starts, the rate drops to 1m... when bandwidth test completes, the rate goes backto 54m

Link to comment
Share on other sites

I'm wondering, thinking aloud here, if you can set it up such that you have 2 antennas, one for sending and one for receiving. That way you should be able to eliminate the interference (as I'm still thinking that's where the problem lies). Probably requires you to create a rather a-typical setup so you'd probably be in fairly uncharted waters...

Link to comment
Share on other sites

I feel the setup is as you suggest, one device associated and another is access point...

I feel its a software issue and openwrt is my next attempt... alfa can't get a successful authentication..

It seens the configuration is nothing but bash and awk scripting.. witch I feel is ugly to reverse engineer

Edit... i feel my testing was miss judged, and there may very well be interference floating around per the time of they day i have experienced choppy behavior. with long distance i do find more interference.

alfa r36: I currently see a steady ping. 20-25ms and about 1.8MBPS... small ping spike during download test

alfa r36: online game ping 180

ddwrt : I currently see a steady ping. 15-20ms and about 1.8MBPS... small ping spike during download test

ddwrt: online game play ping 80

i do have better performance with ten year old ddwrt... i think this is a software problem... im going to try openwrt

Edited by i8igmac
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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