Re: Hostapd does not contact radius server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To answer my own question:

Switching off "require_ht" in hostapd configuration solves the problem.

With "require_ht=1", "hostapd -d" gives the following message when
using EAP authentication:
-------------------- >8 --------------------
association request: STA=00:3f:8b:xx:xx:xx capab_info=0x11
listen_interval=2 seq_ctrl=0xa800
WMM IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WMM IE: OUI 00:50:f2  OUI type 2  OUI sub-type 0  version 1
QoS info 0x0
wlan1: STA 00:3f:8b:xx:xx:xx IEEE 802.11: No supported rates element in AssocReq
-------------------- >8 --------------------
The client cannot associate, and times out.

Their is no "No supported rates element in AssocReq" with
"require_ht=0" and everything works.
HT is still available after association.

This is 100% reproducible with ath9k and rt2800usb APs.

Could HostAP developers please tell me if this is expected, or should
I report a bug?

Regards,
Guan


On Wed, Aug 24, 2016 at 3:28 PM, Guan Xin <guanx.bac@xxxxxxxxx> wrote:
> Hello,
>
> I have configured hostapd 2.5 (did not try other versions) to provide
> WPA-EAP access.
>
> However, when I run either another hostapd process as a radius server
> on the AP, or run freeradius on another host that has a wired
> connection to the AP,
> the (radius client) hostapd does not contact the radius server.
> I checked this with iptraf, and saw no packet from/to port 1812.
> I tried to send something using netcat from the AP to port 1812 where the
> freeradius server is listening, and actually got a response.
> So I don't think this is a problem of some firewall.
> Actually I didn't setup any firewall on port 181*, and the AP is connected
> directly to the computer running freeradius with an ethernet cable.
>
> Any hints are appreciated. Thanks in advance!
>
> Guan
>
> P.S. Configuration of hostapd:
>
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
>
> interface=wlan1
> bridge=br0
> driver=nl80211
> hw_mode=g
> channel=13
> ieee80211n=1
> ht_capab=[SHORT-GI-20]
> require_ht=1
> beacon_int=97
> wmm_enabled=1
> dtim_period=1
> ap_max_inactivity=30
>
> ssid=MySSID
> ignore_broadcast_ssid=0
>
> auth_algs=1
> ieee8021x=1
> own_ip_addr=192.168.123.1
> auth_server_addr=192.168.123.3 # or 127.0.0.1 when running on the same machine
> auth_server_port=1812
> auth_server_shared_secret=testing123
>
> wpa=2
> wpa_key_mgmt=WPA-EAP
> wpa_pairwise=CCMP
> rsn_pairwise=CCMP
>
> # -- End of hostapd.conf -- #

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux