FYI, there are two bugs in the madwifi.lrp network/if-pre-up.d/madwifi script. They're both mistakes in redirection.

the ip link list line needs to be changed to:

if ip link list $IFACE >/dev/null 2>&1; then


and the wlanconfig line should be changed to:

$WLANCONFIG $IFACE create wlandev $IF_MADWIFI_BASE wlanmode $MODE >/dev/null

Paul

oh, fwiw, I've got a local AP set up with the ng drivers, no encryption, and my /etc/network/interfaces looks like this:

auto ath0
iface ath0 inet static
        address 192.168.0.94
        netmask 255.255.255.224
        broadcast 192.168.0.95
        madwifi-base wifi0
        wireless-essid oasisguest
        wireless-channel 1
        wireless-mode master
        up iwpriv ath0 mode 3 # set g only


-------------------------------------------------------
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: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to