Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219742

Summary: b43 wireless interface refuses to restart
Product: Gentoo Linux Reporter: Andrey Falko <Ma3oxuct>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal CC: levertond
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Falko 2008-04-29 18:43:57 UTC
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.
Comment 1 Andrey Falko 2008-05-01 19:08:33 UTC
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.
Comment 2 William Hubbs gentoo-dev 2009-12-21 17:55:20 UTC
If this is still an issue, please post your emerge --info so we can
determine whether you are using baselayout-1 or openrc.