If I want to restart my wireless interface after booting, it will not come back up. I think that the problem is that when the interface is started, txpower is not switched on. I use the following script to get my wireless restarted successfully: /etc/init.d/net.wlan0 stop iwconfig wlan0 txpower on ifconfig wlan0 up /etc/init.d/net.wlan0 start Reproducible: Always Steps to Reproduce: 1. Start Laptop. 2. Wireless works. 3. /etc/init.d/net.wlan0 restart * Stopping wlan0 * Bringing down wlan0 * Stopping dhcpcd on wlan0 ... [ ok ] * Shutting down wlan0 ... [ ok ] * Starting wlan0 * Configuring wireless network for wlan0 * Couldn't find any access points on wlan0 * Failed to configure wireless for wlan0 4. Run my script. 5. Wireless is back.
I suspect that the problem is that when the laptop boots, it turns on both txpower and the interface. When the interface is stopped by the init script, both txpower and the interface are turned off. When the interface is started, the interface is turned on, but txpower is not. I've taken brief looks at the init scripts, but haven't had the time to fully understand it.
If this is still an issue, please post your emerge --info so we can determine whether you are using baselayout-1 or openrc.