Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104270 - executing 'ifconfig wlan0 up' required before executing '/etc/init.d/net.wlan0 start'
Summary: executing 'ifconfig wlan0 up' required before executing '/etc/init.d/net.wlan...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 07:52 UTC by Ryan Dagey
Modified: 2005-09-02 09:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:

essid_wlan0="MY_ESSID"
key_MY_ESSID="s:MY_ESSID_KEY"

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