Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22426 (linux-wlan-ng-broken) - linux-wlan-ng-0.2.1_pre3 unable to load wlan0 (/etc/wlan/share is wrong)
Summary: linux-wlan-ng-0.2.1_pre3 unable to load wlan0 (/etc/wlan/share is wrong)
Status: RESOLVED NEEDINFO
Alias: linux-wlan-ng-broken
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-08 00:30 UTC by Eric Brown
Modified: 2005-10-05 14:05 UTC (History)
1 user (show)

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 Eric Brown 2003-06-08 00:30:01 UTC
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"
Comment 1 Eric Brown 2003-06-08 00:35:42 UTC
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).
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-13 08:46:05 UTC
is this fixed meanwhile?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 04:53:42 UTC
What's the status here?
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-10-02 04:47:40 UTC
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.
Comment 5 Henrik Brix Andersen 2005-10-05 14:05:07 UTC
Awaiting feedback from reporter.