[dropping openwrt list, it keeps bothering me that I should subscribe] On Fri, 2012-05-18 at 03:18 +0200, Tobias Diedrich wrote: > One more clue: > I think this has to do with the order in which the OpenWRT wifi > script does things: > > hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf > hostapd_ctrl=/var/run/hostapd-phy0/wlan0 > ifconfig wlan0 > ifconfig wlan0 down > ifconfig wlan0 hw ether 1c:af:f7:49:50:56 up > ifconfig wlan0 0.0.0.0 > ifconfig wlan0 > ifconfig br-lan > ifconfig wlan0 0.0.0.0 > ifconfig wlan0 hw ether 1c:af:f7:49:50:56 up > iw dev wlan0 set txpower fixed 2000 Wow, ok, setting the interface down while the AP is up really isn't a valid use of it. I'm actually amazed that it ever works at all when you do this. Either this should be done the other way around, or hostapd needs to get some smarts about it. For example, with the start-AP function transition, I'm not sure even *beacon* after you do this... johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html