Skip to contentSkip to conversation

ifconfig down and mac80211 issue

DISCUSSION voncken 2 participants 2 messages Nov 7, 2011

lore
Share & tools
lore

voncken

author
#0 lore raw

Hi,

I am currently trying to use rstp protocol (using rstpd ) over
wireless interfaces (ath9k) and I've noticed some strange hostapd behaviour.

Everything seems to work great with wired Ethernet devices.

this is what I do :
- I have configured an AP (with hostapd), and it works perfectly
(beacons were sent)
- ifconfig wlanx down
- ifconfig wlanx up

after the ifconfig up, the wlanx does not send any beacons although
clients are perfectly able to associate with (WPA-SUPPLICANT does an active scan).

Have you ever encounter such issue ?

Thanks in advance,

Signature · 2 lines
VONCKEN Cédric
ACKSYS R&D dept
#1 lore raw
Quoted 14 lines · voncken

Hi,

I am currently trying to use rstp protocol (using rstpd ) over
wireless interfaces (ath9k) and I've noticed some strange hostapd behaviour.

Everything seems to work great with wired Ethernet devices.

this is what I do :
- I have configured an AP (with hostapd), and it works perfectly
(beacons were sent)
- ifconfig wlanx down
- ifconfig wlanx up

Quoted 3 lines

after the ifconfig up, the wlanx does not send any beacons although
clients are perfectly able to associate with (WPA-SUPPLICANT does an active scan).

You can't do that. If you set down everything is unconfigured. If you need to take it down/up then you need to do that before you start hostapd.

johannes