[CentOS] Fwd: ath_pci in modprobe.conf on Centos/Fedora

Thu Mar 20 20:49:05 UTC 2008
David Hláčik <david at hlacik.eu>

hi friends,

i am sending this to centos mailinglist as i didnt solved problem and guys
from madwifi are probably dead, as they are not giving me any reply .

Thanks

D.

---------- Forwarded message ----------
From: David Hláčik <david at hlacik.eu>
Date: Wed, Mar 19, 2008 at 11:39 AM
Subject: ath_pci in modprobe.conf on Centos/Fedora
To: madwifi-users at lists.sourceforge.net


Hi friends,

i am loooking for help as i am unable to solve it by myself
Scenario is following : I have two atheros cards, one works as AP (for local
wifi network), second one as STA (connection to internet trought 13dB wifi
anthena)

My current scenario is that i am loading module with autocreate=none
i have in modprobe.conf : options ath_pci autocreate=no
and then in /etc/rc.local script i will create from wifi0 ap , from wifi1
station and configure other settings (ip adresses and so).

What i am trying to do, is to put all configuration to modprobe.conf using
install and remove directives
What i want as a result is to create during startup and loading module AP
from wifi0 (ath0) and STA from wifi1 (ath1)
i have tried to put to modprobe.conf :
************************************************
install wifi   /sbin/modprobe ath_pci autocreate=none;
/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode ap;
/usr/local/bin/wlanconfig ath1 create wlandev wifi1 wlanmode sta
remove wifi /sbin/modprobe -r ath_pci

************************************************
next what i want to do is not to load ath_pci module automatically during
startup , but to load instead that wifi module , and here comes my problem,
how can i do it??

If i try

 ************************************************
install ath_pci /sbin/modprobe --ignore-install ath_pci; /sbin/modprobe wifi
install wifi   /sbin/modprobe ath_pci autocreate=none;
/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode ap;
/usr/local/bin/wlanconfig ath1 create wlandev wifi1 wlanmode sta
remove wifi /sbin/modprobe -r ath_pci

************************************************
It does not work.

Thanks in advance!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080320/412c2291/attachment-0004.html>