[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trouble Disabling orinoco Modules in Favor of hostap Modules on Boot



I've just installed Debian Sarge on a box I've been using as a wireless
access point for a couple of years.  I've been using and am continuing
to use the hostap module on my Intersil Prisim PCI card.

uname -a:
Linux hive 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i586 GNU/Linux

lspci:
0000:00:09.0 Network controller: Intersil Corporation Prism 2.5 Wavelan
chipset (rev 01)

On boot, the orinoco driver loads and detects my Prism card.  (dmesg
logs follow this email.)  I've configured discover to skip the orinoco
drivers:

/etc/discover.d/hostap-utils:
# Blacklist orinoco_*, they load instead of HostAP
# for Intersil Prism 2/2.5/3.0 hardware
skip orinoco_pci
skip orinoco_cs
skip orinoco_plx
skip hermes

However, something else is loading the modules.  The driver is being
loaded earlier in the boot process than discover runs.  How do I prevent
this?  My current work around is a kludge.  I have pre-up commands in my
interfaces file that remove the orinoco modules.  My AP works fine, but
there has to be a way to prevent that orinoco module from loading in the
first place.

I also have an /etc/modprobe.d/hostap and a /etc/modutils/hostap with
the following:
alias wlan0 hostap_pci

I'm unsure of the current state of modprobe / modutils as
well.  /etc/rcS.d/S20module-init-tools and /etc/rcS.d/S20modutils both
exist.  I thought one or the other was depreciated.

Any help disabling the orinoco module short of simply removing it -- I'd
like to be elegant here :^) -- would be very appreciated!

-Jeff


SCSI device sda: drive cache: write back
 /dev/scsi/host0/bus0/target0/lun0: p1 p2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
orinoco_pci.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> & Jean
Tourrilhes 
<jt@hpl.hp.com>)
Detected Orinoco/Prism2 PCI device at 0000:00:09.0, mem:0xFB800000 to
0xFB800FFF ->
 0xcc9a2000, irq:9
Reset
done.........................................................................
...................................................................................
.............................;
Clear
Reset........................................................................
...................................................................................
...................................................................................
...................................................................................
.....................................................;
pci_cor : reg = 0x0 - FFFC2E88 - FFFC2C94
eth0: Station identity 001f:0006:0001:0003
eth0: Looks like an Intersil firmware version 1.3.6
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:09:5B:74:02:FB
eth0: Station name "Prism  I"
eth0: ready
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xe000. Vers LK1.1.19
0000:00:0b.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd800. Vers LK1.1.19




Reply to: