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
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
Closing a stale bug.