#706128 hostapd: no connection possible after wakeup from system suspend

Package:
hostapd
Source:
wpa
Description:
access point and authentication server for Wi-Fi and Ethernet
Submitter:
Michael Below
Date:
2015-09-19 13:42:04 UTC
Severity:
normal
#706128#5
Date:
2013-04-25 06:59:03 UTC
From:
To:
Dear Maintainer,

I am using hostapd to occasionally provide wifi from my Debian
system. It works as expected after a regular boot process. It
doesn't work anymore after waking the system from suspend: E.g. my
phone sees the wifi and starts to connect, but it looks like no DHCP
is provided.

Doing "/etc/init.d/hostapd restart" helps. Maybe you could add a
wakeup routine for this?

Thanks for your work.

Michael

#706128#10
Date:
2013-04-30 15:32:37 UTC
From:
To:
Hi

On Thursday 25 April 2013, Michael Below wrote:
[…]

Which wlan chipset are you using?

It might also depend on the particular kernel module you're using,
although I haven't tested suspending a system with an active hostapd
process so far (bad intersection of suspendable vs hostapd compatible
wlan cards over here).

Please also add a dmesg log from a system that has gone through one
suspend/ wakeup cycle with a running hostapd as well, feel free to
mail that one privately, if it contains potentially sensitive
information.

Regards
	Stefan Lippers-Hollmann

#706128#17
Date:
2013-05-12 17:34:04 UTC
From:
To:
Hi,

Am Dienstag, den 30.04.2013, 17:32 +0200 schrieb Stefan
Lippers-Hollmann:

According to lsusb:

ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1)
[Ralink RT2571W]

The relevant modules are probably:

rt73usb                22341  0
rt2x00usb              17687  1 rt73usb
rt2x00lib              38480  2 rt73usb,rt2x00usb
mac80211              371723  2 rt2x00lib,rt2x00usb
cfg80211              352039  2 mac80211,rt2x00lib

The kernel is version 3.8-1-amd64 (from experimental)

I will send it separately, as I don't know whats in there.

Cheers

Michael

#706128#22
Date:
2013-07-13 14:03:16 UTC
From:
To:
The problem is still there with the current kernel 3.9.8-1 from testing.
#706128#27
Date:
2014-08-02 09:54:30 UTC
From:
To:
Hi,

I've Atheros board which I believe is one of the best supported by kernel.
But have the same issue as Michael does.

kernel: 3.14.13-2
Wi-Fi board:
    Qualcomm Atheros AR93xx Wireless Network Adapter (rev 01)
    Subsystem: D-Link System Inc DWA-566 Wireless N 300 Dual Band PCIe
Desktop Adapter
    Kernel driver in use: ath9k

#706128#32
Date:
2015-09-19 13:39:35 UTC
From:
To:
Dear Maintainer,

The bug is still there. ath9k

$ lscpi
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)

Thanks!