the /etc/wlan/share script has a function to enable the interface, it's supposed to modprobe prism2_pci (or perhaps other module), and then do other stuff. in this ebuild, the function takes $1 (which is the name of the interface (like wlan0 for instance)) and tried to modprobe it (duh, not good).. so i change the $MODPROBE $1 line to like $MODPROBE prism2_pci and all is well. furthermore, a /etc/init.d/net.wlan0 needs to be created with the wlan dependency :) Reproducible: Always Steps to Reproduce: 1. emerge linux-wlan-ng 2. /etc/init.d/wlan start Actual Results: something like "can't load module wlan0" Expected Results: it should have loaded one of the modules (i happen to need it to load prism2_pci) from the linux-wlan-ng project. it also should do some other stuff that seems to work if this problem is fixed Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/ge oo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share onfig /usr/X11R6/lib/X11/xkb:/opt/tomcat/conf" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi crypt encode imlib jpeg libg++ mikmod mmx mpeg ncurses nls pdflib quicktime spe truetype xml2 xv zlib gdbm berkdb slang readline svga java X sdl gpm tcpd pam libwww ssl perl pyt n oggvorbis qt motif cdr aalib cjk -doc opengl -oss alsa gtk2 -gtk png gif tiff -esd -kde -gnome m ql odbc -cups -arts tcltk flash -xmms -apm" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe" CXXFLAGS="-march=athlon -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
the general fix for me was to change /etc/wlan/shared as follows: in wlan_enable(), changed $MODPROBE $1 to $MODPROBE prism2_pci that is not a general fix i suppose as other card users might want other modules instead (i'm not even sure, perhaps this is good)... also.. shouldn't there be a /etc/init.d/net.wlan0 here with the depend of wlan? (that works for me).
is this fixed meanwhile?
What's the status here?
We can't hardcode the module to the init scripts because there are actually four different modules. Please test the newest 0.2.2 and report if the problem still exists.
Awaiting feedback from reporter.