<div>hi friends,</div>
<div> </div>
<div>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 .</div>
<div><br>Thanks </div>
<div> </div>
<div>D.<br><br></div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">David Hláčik</b> <<a href="mailto:david@hlacik.eu">david@hlacik.eu</a>><br>Date: Wed, Mar 19, 2008 at 11:39 AM<br>
Subject: ath_pci in modprobe.conf on Centos/Fedora<br>To: <a href="mailto:madwifi-users@lists.sourceforge.net">madwifi-users@lists.sourceforge.net</a><br><br><br>
<div>Hi friends,</div>
<div> </div>
<div>i am loooking for help as i am unable to solve it by myself</div>
<div>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)</div>
<div> </div>
<div>My current scenario is that i am loading module with autocreate=none</div>
<div>i have in modprobe.conf : options ath_pci autocreate=no</div>
<div>and then in /etc/rc.local script i will create from wifi0 ap , from wifi1 station and configure other settings (ip adresses and so).</div>
<div> </div>
<div>What i am trying to do, is to put all configuration to modprobe.conf using install and remove directives</div>
<div>What i want as a result is to create during startup and loading module AP from wifi0 (ath0) and STA from wifi1 (ath1)</div>
<div>i have tried to put to modprobe.conf :</div>
<div>************************************************</div>
<div>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</div>
<div>remove wifi /sbin/modprobe -r ath_pci</div>
<div> </div>
<div>************************************************</div>
<div>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??<br><br>If i try</div>
<div> </div>
<div>
<div>************************************************</div>
<div>install ath_pci /sbin/modprobe --ignore-install ath_pci; /sbin/modprobe wifi</div>
<div>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</div>
<div>remove wifi /sbin/modprobe -r ath_pci</div>
<div> </div>
<div>************************************************</div>
<div>It does not work.</div>
<div> </div>
<div>Thanks in advance!<br><font color="#888888"><br>David</font></div></div></div><br>