Re: [OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-27 Thread Jo-Philipp Wich
Committed in r23655 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-26 Thread Mark Mentovai
Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable by setting the encryption parameter of a wifi-iface to contain "open" (1, open system), "shared" (2, shared key), or "mixed" (3, permits both open system and shared key.) For example, use "wep+shared" for shared key authentica

Re: [OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-26 Thread Mark Mentovai
Philip Prindeville wrote: >> +[ -n "$auth_alg_shared" ]&& \ >> +auth_alg_val=$(expr "$auth_alg_val" + 2) > > Just curious: why not use: > > let -i auth_alg_val+=2 > > here instead? let is Kornish. Straight Bourne needs to rely on expr for arithme

Re: [OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-25 Thread Philip Prindeville
Comment... On 10/22/10 7:28 PM, Mark Mentovai wrote: Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable using a new UCI parameter, auth_algs, which may contain "open", "shared", or both. For other encryption types, auth_algs is always set to 1 (open). https://dev.openwrt.o

Re: [OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-23 Thread Jo-Philipp Wich
Hi, personally I'd more lean towards something like: option encryption wep+shared or option encryption wep+open or option encryption wep-mixed which would be equivalent to "wep" This would be in line with the proto+algo format for wpa. I also did something similar for broadcom-wl a w

[OpenWrt-Devel] [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP

2010-10-22 Thread Mark Mentovai
Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable using a new UCI parameter, auth_algs, which may contain "open", "shared", or both. For other encryption types, auth_algs is always set to 1 (open). https://dev.openwrt.org/ticket/8120 Signed-off-by: Mark Mentovai --- Index