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

Bug 35826

Summary: linux-wlan-ng initscript problems
Product: Gentoo Linux Reporter: J Sacksteder <jwsacksteder>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: tacvbo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description J Sacksteder 2003-12-14 12:49:34 UTC
linux-wlan-ng installs initscript /etc/init.d/wlan which somewhat corresponds to /etc/init.d/net.eth0.

I was under the impression that the wlan script handled wep initalization and that net.wlan0 was still neccesary to bring up the interface. After investigating, I have learned that the wlan script can bring up the interface by itself, with the only issue being that that script makes no provision to set the default gateway.

It is currently impossible to use a wireless nic as your one and only interface without manually cleaning up after the failed init activities. 

Either wlan needs to take full responsability for initalizing the interface, or act more like the standard net.eth0 style script. These two scripts overlap in function.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.


Expected Results:  
load module, set up wep, bring up interface, set default gateway
Comment 1 Octavio Ruiz (Ta^3) 2005-04-04 07:57:44 UTC
IMHO this bug is invalid.

See einfo lines inside pkg_postinst of linux-wlan-ng ebuild:

* "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
...
* "Modify /etc/conf.d/wlan.conf to set global parameters."
* "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
...
* "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."

# cd /etc/init.d
# ln -s net.lo net.wlan0

# $EDITOR /etc/conf.d/net

modules=( "!iwconfig" )
config_wlan0=( "dhcp" )
fallback_wlan0=( "noop" )

# $EDITOR /etc/conf.d/wlan.conf
WLAN_DEVICES="wlan0"
WLAN_SCAN=y
SSID_wlan0=""
ENABLE_wlan0=y
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 11:36:38 UTC
Closing a stale bug.