Hello Jeremy,

The current version of madwifi in CVS (Bering-uClibc) is ng r1440, this
includes the recent "autocreate" change.
There are a few ways to setup madwifi, you can set autocreate to none in
/etc/modules like this:
...
ath_pci autocreate=none
...
This way you can create multiple AP VAPs in /etc/network/interfaces with
"wireless-mode master".

You can also set:
...
ath_pci autocreate=ap
...
and don't set "wireless-mode" in /etc/network/interface. An AP VAP will be
created with module loading.

I also tested it with just "ath_pci" in /etc/modules, so no argument. By
default a STA is created this way. If I set "wireless-mode master" in
/etc/network/interfaces the mode is also changed to "AP".

The best way to setup Madwifi in Bering-uClibc is in MHO the first option,
so "ath_pci autocreate=none" in /etc/modules and controll the mode in
/etc/network/interfaces.

Eric

>> There was no mention of what svn revision of madwifi-ng you used, so I
>> can guess it may be that autocreate
>> (http://madwifi.org/wiki/UserDocs/autocreate) is having an impact on
>> your setup. The ifupdown scripts you use (madwifi-base) work well when
>> there is no autocreation, but have not received any attention to handle
>> recent changes in madwifi yet. So can you please confirm what svn
>> revision you are using?
>>
> I used the drivers out of CVS from here-
> http://cvs.sourceforge.net/viewcvs.py/leaf/bin/bering-uclibc/packages/
> and here-
> http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/tes
> ting/ though I see now that the drivers have been moved to here by Eric
> Spakman-
> http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/2.4.
> 32/
>
>
> Does this answer your question?  If not, can anyone help?
>
>
>
>> Assuming you are using something more recent than r1407, my suggestion
>> is to use "options ath_pci autocreate=none" in /etc/modprobe.d/madwifi
>> (or
>> some /etc/modprobe.conf hack) if you wish to continue using the ifupdown
>>  scripts in their current state, or forget about them and make it ap
>> mode by default (options ath_pci autocreate=ap). You could also
>> create/destroy VAP's with pre-up/post-down commands.
>>
>
> There is no such file structure in /etc and I not sure where to look for
> what you're talking about.
>>
>> Thanks, Kel.
>>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
>  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ------------------------------------------------------------------------
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to