That driver works..
The utility, too. But I'd prefer to have to sources somewhere.
Anyway, here's my configuration to setup the plug as access point:
(see also
http://plugcomputer.org/plugwiki/index.php/Setting_GuruPlug_to_be_a_WiFi_Access_Point#Changing_the_Security_Mode)
/etc/modprobe.d/blacklist.conf (excerpt):
# guruplug wireless *client* modules
blacklist libertas
blacklist libertas_sdio
/etc/network/interfaces (excerpt):
auto uap0
iface uap0 inet static
pre-up modprobe uap8xxx
post-up /etc/network/guruplug-wl-conf.sh start
post-down /etc/network/guruplug-wl-conf.sh stop
address 10.0.0.23
netmask 255.255.255.0
/etc/network/guruplug-wl-conf.sh (file mode 0755):
#!/bin/sh
SSID="some_ssid"
PW="some_password"
CH=5
PATH=/sbin:/bin:/usr/sbin:/usr/bin
case "$1" in
start)
set -x -e
uaputl sys_cfg_radio_ctl 0 # radio on
uaputl sys_cfg_channel $CH # set channel
uaputl sys_cfg_ssid $SSID # set SSID
uaputl sys_cfg_protocol 32 # WPA2
uaputl sys_cfg_cipher 8 8 # AES CCMP / AES CCMP
uaputl sys_cfg_wpa_passphrase $PW # set password
uaputl bss_start # start the BSS
set +x
exit 0
;;
stop)
set -x
uaputl bss_stop # stop the BSS
uaputl sys_cfg_radio_ctl 1 # radio off
set +x
exit 0
;;
status)
echo "--------------------------------------------------------------------------"
uaputl sys_info # display system info
uaputl sta_list # display list of clients
echo "--------------------------------------------------------------------------"
exit 0
;;
esac
exit 1
Edit: note there's a more sophisticated version of the script at
http://oinkzwurgl.org/guruplug_debian