GuruPlug, wireless: uap8xxx kernel module and the uaputl setup utility

(1/3) > >>

flipflip:
Hello

According to http://plugcomputer.org/plugwiki/index.php/Setting_GuruPlug_to_be_a_WiFi_Access_Point the kernel module (uap8xxx.ko) and the corresponding user space setup utility (uaputl) is "bundled with file system" (it indeed is).

"modinfo uap8xxx.ko" tells me that this is from Marvell and that it is GPL. However, I'm unable to find sources for this.

Does anybody know where they hide that?

fragfutter:
the kernel git archive contains the driver

http://plugcomputer.org/index.php/us/resources/downloads?func=showdown&id=75

sfzhi:
See also http://plugcomputer.org/plugwiki/images/c/c6/Guruplug-patchset-2.6.33.2.tar.bz2

flipflip:
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):
Code:

# guruplug wireless *client* modules
blacklist libertas
blacklist libertas_sdio


/etc/network/interfaces (excerpt):
Code:

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):
Code:

#!/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

uwgandalf:
why are the vanilla kernel drivers not enough for the guruplug? To my understanding the driver from http://wireless.kernel.org/ support the libertas wifi adapter.

Navigation

[0] Message Index

[#] Next page