Doug Jolley wrote:
> if you decide to go down that road.
I'd like to go down that road. Since I already have an MA111, it
would be great if I could just go ahead and use it.
One question, though. From the reading that I've been doing it
appears (although nothing is certain and everything is confusing) that
the MA111 uses a Prism chip. That being the case, I would think that I
could get it to work using the Prism54 firmware.
MA111 uses the Prism2/2.5/3 chipset, not the Prism GT/Duette, as
detailed by Rickard in this thread, so wlan-ng26 is the way to go. The
wlan-ng26-utils package provides the required firmware, to go with the
kernel module in the wlan-ng26 package.
I was looking into that when I got your message. Anyway, it would be
a big help to me if I could kind of just follow in on your coat tails
since you already have this working with the hardware that I have. If
you could shoot me off whatever you think I need, that would be
great. Thanks.
I see Tobias has also written his own init for this - interesting. :)
Mine is a more "traditional" Arch init script, and it handles WEP
(wlan-ng26 doesn't do WPA). I don't have a PKGBUILD for it (shocking!),
so just install it in /etc/rc.d with any name you like (I've called it
wlan-doug here), make it executable, and add it to the DAEMONS array
before network.
You'll also need to add the following line to /etc/modprobe.conf:
alias wlan0 prism2_usb
Let me know if you have any comments/questions/problems/etc.
Tom K
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Enabling WLAN device"
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable 1> /dev/null
wlanctl-ng wlan0 dot11req_mibset mibattribute=p2CnfRoamingMode=1 1>
/dev/null
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0 1>
/dev/null
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
1> /dev/null
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true 1>
/dev/null
wlanctl-ng wlan0 dot11req_mibset
mibattribute=dot11WEPDefaultKey0=***YOUR_WEP_KEY_HERE*** 1> /dev/null
wlanctl-ng wlan0 lnxreq_autojoin ssid=***YOUR_SSID_HERE***
authtype=opensystem 1> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
add_daemon wlan-doug
fi
;;
stop)
stat_busy "Disabling WLAN device"
wlanctl-ng wlan0 lnxreq_ifstate ifstate=disable 1> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
rm_daemon wlan-doug
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch