Running hostapd on Pi 4, slow to connect, many associated/disassociated messages

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

 



I'm new to hostapd, I'm running it on a Raspberry Pi in order to use
it with a WiFi client that needs special routing (out from the Pi's wired
connection). 

I have installed hostapd and followed the configuration provided on the
Pi official web site. It's hostapd v2.9 from the Pi repository.

I can connect to it but it's very slow to connect and, if the signal
isn't too strong it seems to drop the connection rather frequently.

When I make a connection attempt I see the following in syslog on the
Pi:-

    Nov  2 15:11:50 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:11:50 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:11:50 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:11:52 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: disassociated
    Nov  2 15:12:42 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:12:42 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:12:43 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:12:49 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: deauthenticated due to local deauth request
    Nov  2 15:12:52 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: disassociated
    Nov  2 15:12:52 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: disassociated
    Nov  2 15:12:52 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: disassociated
    Nov  2 15:13:08 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:13:08 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa IEEE 802.11: associated
    Nov  2 15:13:08 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa RADIUS: starting accounting session CF1C7F68FFFE3938
    Nov  2 15:13:08 raspberrypi hostapd: wlan0: STA 00:28:f8:3d:3b:aa WPA: pairwise key handshake completed (RSN)
    Nov  2 15:13:08 raspberrypi dnsmasq-dhcp[541]: DHCPREQUEST(wlan0) 192.168.13.77 00:28:f8:3d:3b:aa 
    Nov  2 15:13:08 raspberrypi dnsmasq-dhcp[541]: DHCPACK(wlan0) 192.168.13.77 00:28:f8:3d:3b:aa t470

So it took well over a minute to connect.  This is with the Pi and the client about a meter
apart.


My hostapd.conf file is:

    country_code=GB
    interface=wlan0
    ssid=odinpi
    hw_mode=g
    channel=7
    macaddr_acl=0
    auth_algs=1
    ignore_broadcast_ssid=0
    wpa=2
    wpa_passphrase=XXXXXXXX
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP



Surely it should work faster than this shouldn't it?  Have I got something misconfigured and/or
have I missed something important?

Thanks.

-- 
Chris Green

_______________________________________________
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