• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: GuruPlug, wireless: uap8xxx kernel module and the uaputl setup utility  (Read 9518 times)
flipflip
Jr. Member
**

Karma: 4
Posts: 50


Hopplaschorsch!


View Profile
« on: May 12, 2010, 04:27:04 AM »

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?

Logged

GPS+ Debian Squeeze AP router firewall dhcpd named NAS Squeezebox OpenVPN All running fine.

fragfutter
Sr. Member
****

Karma: 12
Posts: 280


View Profile
« Reply #1 on: May 12, 2010, 05:46:32 AM »

the kernel git archive contains the driver

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

Logged

sfzhi
Jr. Member
**

Karma: 1
Posts: 83


View Profile
« Reply #2 on: May 13, 2010, 11:44:52 AM »

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

Lack of knowledge is not such a big problem, unwillingness to learn is.

flipflip
Jr. Member
**

Karma: 4
Posts: 50


Hopplaschorsch!


View Profile
« Reply #3 on: May 17, 2010, 04:21:09 PM »

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
« Last Edit: September 02, 2010, 02:18:18 AM by flipflip » Logged

GPS+ Debian Squeeze AP router firewall dhcpd named NAS Squeezebox OpenVPN All running fine.

uwgandalf
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #4 on: May 27, 2010, 02:16:51 PM »

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.
Logged

flipflip
Jr. Member
**

Karma: 4
Posts: 50


Hopplaschorsch!


View Profile
« Reply #5 on: May 27, 2010, 03:31:09 PM »

Yeah, for a wireless client. But for a wireless access point you need the uap8xxx and the corresponding setup/configuration utility.
And I haven't found the sources for the uaputl program. The driver is in the kernel patches mentioned above.
« Last Edit: May 27, 2010, 03:33:05 PM by flipflip » Logged

GPS+ Debian Squeeze AP router firewall dhcpd named NAS Squeezebox OpenVPN All running fine.

Juanisan
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #6 on: May 27, 2010, 05:21:54 PM »

I want these sources as well.  I am trying to use Slackware on the GuruPlug and just hit this road block.  I copied the binary from the debian but that's kinda cheesy.
Logged

alanfranz
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #7 on: September 01, 2010, 03:31:57 PM »

Still no luck with this? I think many people might need it, and it's not a crucial piece of software, most probably its release was just forgotten... no news from globalscale or marvell?
Logged

creeble
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #8 on: September 01, 2010, 04:35:50 PM »

Still no luck with this? I think many people might need it, and it's not a crucial piece of software, most probably its release was just forgotten... no news from globalscale or marvell?

I'd like source out of principle, but the executable works across multiple kernels, so it doesn't seem like a big deal.
Logged

alanfranz
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #9 on: September 02, 2010, 12:59:54 AM »

You can never know for how long it will work. It might just stop suddenly because of a change. Also, such executable is NOT statically linked, it may be very system-dependant.

Also, I seem unable to have it work on OpenWRT with a 2.6.35.4 kernel, and some guys from Fedora are experiencing similar issue as well lately:

http://www.spinics.net/linux/fedora/fedora-arm/msg00663.html

If it were and enduser device I wouldn't complain, but since Guruplug is developer-oriented I think that, as a developer, I should be given full access to what I need.
Logged

alanfranz
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #10 on: September 27, 2010, 12:47:57 PM »

http://plugcomputer.org/plugforum/index.php?topic=2196.msg13114#msg13114

The uaputl sources have been released!
Logged

Pages: [1]
Print
Jump to: