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

Bug 104270

Summary: executing 'ifconfig wlan0 up' required before executing '/etc/init.d/net.wlan0 start'
Product: Gentoo Linux Reporter: Ryan Dagey <ryan>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Ryan Dagey 2005-08-30 07:52:31 UTC
Using baselayout-1.11.13-r1, gentoo-sources-2.6.12-r9, wireless-tools-27-r1,
acx100-0.2.0_pre8-r6 with a DWL-650+.  When the laptop first loads (or
unloading/reloading the wireless card), running the init script net.wlan0 fails
as it is unable to connect to any access points (problem persists whether
configured for 'any' or a specific access point).  Running iwlist scan returns
'Resource Temporary Unavailable'.  However, running 'ifconfig wlan0 up' from the
command prompt, then running net.wlan0 performs as expected (obtains IP, able to
access internet).  Some users have been able to solve the problem by adding
/sbin/ifconfig wlan0 up in net.wlan0 without having a symlink from net.wlan0 to
net.lo--but I was not able to solve my problem with this fix.

Reproducible: Always
Steps to Reproduce:
1. Use acx100-0.2.0_pre8-r6, baselayout-1.11.13-r1, gentoo-sources-2.6.12-r9,
wireless-tools-27-r1 and DWL-650+ (also DWL-550 and probably other acx100-based
wirelss cards)
2.  Set net.wlan0 to symlink to net.lo, and add net.wlan0 to default run level
3. Reboot machine

Actual Results:  
No access point was found upon starting wlan0

Expected Results:  
Connect to access point and receive IP/internet access.

Running 'ifconfig wlan0 up' manually before '/etc/init.d/net.wlan0 start' solves
the problem.
Comment 1 SpanKY gentoo-dev 2005-08-30 08:10:13 UTC
post your /etc/conf.d/net settings
Comment 2 Ryan Dagey 2005-08-30 08:25:15 UTC
My /etc/conf.d/net is empty (lines with eth0 are commented out), but grep -v '#'
/etc/conf.d/wireless yields:


I use DHCP, though trying a static IP does not change the fact that I have to
run ifconfig wlan0 up before /etc/init.d/net.wlan0 start.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2005-09-02 09:53:21 UTC
UPSTREAM issue, please inform the acx100 developers about it