Skip to content

Hostapd + 4.19.40 + Edimax EW-7811Un fails to accept client connections #2979

Open
@moodeaudio

Description

@moodeaudio

Describe the bug
Kernel 4.19.40 + Pi-2B + Edimax EW-7811Un adapter results in hostapd failing to accept client connections. The error message on the client is "Incorrect password". Reverting to 4.14.98 kernel and no issues.

To reproduce

  1. Download and install moOde 5.2 image onto SDCard
    https://github.com/moode-player/moode/releases/download/r52prod-fix/moode-r52.zip
  2. Boot up a Pi-2B with Edimax EW-7811Un adapter and Ethernet cable plugged in
  3. SSH pi@moode (pwd = moodeaudio)
  4. Activate hostapd mode manually and then optionally restart hostapd in debug mode

sudo sed -i "/AP mode/,/$p/ d" /etc/dhcpcd.conf
sudo sed -i "$ a#AP mode\ninterface wlan0\nstatic ip_address=172.24.1.1/24\nnohook wpa_supplicant" /etc/dhcpcd.conf
sudo systemctl daemon-reload
sudo systemctl restart dhcpcd
sudo systemctl start hostapd
sudo systemctl start dnsmasq

  1. Verify a few things

a. ifconfig (verify that 172.24.1.1 address assigned to wlan0)
b. On a client device for example an iPhone verify that SSID Moode appears in the list of available WiFi networks

  1. Optionally restart hostapd in debug logging mode

sudo systemctl stop hostapd
sudo hostapd -d /etc/hostapd/hostapd.conf

Expected behaviour
iPhone client is able to successfully connect to AP SSID = Moode using password = moodeaudio. Sometimes 2 attempts are required.

Actual behaviour
iPhone client receives error message "Incorrect password". Any number of repeated attempts to connect to AP SSID using the correct password result in the same error message. This also appears to hang the network interfaces and the Pi must be power-down rebooted.

System

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions