[luci] How to disable "802.11 PROTECTION" with LUCI ???

h2o h2o-post at gmx.net
Thu Jul 30 11:54:11 CEST 2009


Hi Jow,

Danke für die Antwort.
folgendes habe ich gemacht:
	-madwifi.sh ist um einige atheros settings erweitert worden (baecon
rate, rssi treasholds...)
	-"/lib/uci/schema/default/wireless" kann ich nirgendwo im trunk
finden
	-wifi.lua kann ich auch im trunk nicht finden.

Soll ich dir die madwifi.sh schicken ? Hab noch nie einen Patch verschickt,
bräucht ich einen tip von dir.

Bye Bluse

-----Original Message-----
From: luci-bounces at lists.subsignal.org
[mailto:luci-bounces at lists.subsignal.org] On Behalf Of Jo-Philipp Wich
Sent: Samstag, 25. Juli 2009 02:09
To: luci at lists.subsignal.org
Subject: Re: [luci] How to disable "802.11 PROTECTION" with LUCI ???

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bluse.

> On our Atheros hardware we use "Iiwpriv athx protmode 0" to disable the
> 802.11 protection.
> 
> What is the right UCI variable . I was not able to find it in the docu.

Hi. Propably it's not implemented at all in the underlying madwifi.sh
script that handles the wireless uci to bring up interfaces. Have you
grepped for this iwpriv setting in /lib/wifi/madwifi.sh ?

I it's not there and you'd like to implement it, then there are a couple
of places to change:

 1) the underlying madwifi.sh must handle a corresponding uci option
 2) the introduced uci option needs to be added to
    /lib/uci/schema/default/wireless
 3) the luci form needs an entry for it as well, look into
    /usr/lib/lua/luci/model/cbi/admin_network/wifi.lua for examples
 4) define language strings for it, this is only possible with the sdk
    in newer luci version since the target i18n files are binary now;
    it needs to be added to the po templates and at least the english
    variant of admin-core.po


> And I do also miss a Howto about where and how to extend the LUCI mapping
of
> certain wireless driver functions.

Please take a look at wifi.lua, mentioned above and feel free to ask any
follow up questions here.


Regards,
~JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpqTRgACgkQdputYINPTPPL3ACfe0UWS74RyPrmskiOnRQmJKBR
P2kAn24LTyvVYj6aAYI5J0TpYNyux/jV
=V32Q
-----END PGP SIGNATURE-----
_______________________________________________
luci mailing list
luci at lists.subsignal.org
https://lists.subsignal.org/mailman/listinfo/luci
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4274 (20090724) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4288 (20090729) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 



More information about the luci mailing list