while this announcement is OpenWrt-related, I think it's an interesting piece of information for the DD-WRT community as well for obvious reasons. Let me cite my announcement at OpenWrt's forums.
---
Community,
I'm glad to announce the immediate availability of AAP for OpenWrt Kamikaze 8.09+. AAP is ready-to-run on devices with Atheros wireless chipsets (while easily adoptable to other chipsets) and has been written for the Fonera 2100/2200. Instead of explaining AAP in detail again here, I paste the rather comprehensive README that ships with the initial release of AAP. AAP is available as of today at http://piranha.klashed.net/pub/aap
Code:
#
# Copyright (C) 2009 orange <or4n9e@gmx.de>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
### Definition ###
AAP is a script that enables users of OpenWrt Kamikaze 8.09+ to automatically log into different
wireless accesspoints that provide internet access. The accesspoints can be automatically
searched and/or set in a whitelist (aap_wlst). Beyond that AAP is capable in defining a blacklist
of undesired accesspoints while connecting (aap_blst). AAP supports the client connection of
your OpenWrt Kamikaze 8.09+ device to open, wep, wpa-psk and wpa2-psk encrypted accesspoints.
AAP connects to surrounding accesspoints utilizing their MAC addresses. This ensures a high level of
differentiation between accesspoints in contrast to SSID-based connecting.
### Requirements ###
AAP requires an OpenWrt Kamikaze 8.09+ device properly configured in Client Mode (sta). AAP supports
devices with an Atheros wireless chipset (while easily adoptable to other chipsets) and has been written
for the Fonera 2100/2200. It assumes a single madwifi-VAP ath0 in sta mode.
### Whitelist/Blacklist ###
aap_wlst is a newline-separated whitelist of preferred accesspoints:
00:11:22:33:44:55* for accesspoints with no encryption
00:11:22:33:44:55*key for accesspoints with wep, wpa-psk or wpa2-psk encryption
aap_blst is a newline-separated blacklist of undesired accesspoints:
00:11:22:33:44:55 for open, wep, wpa-psk and wpa2-psk encrypted accesspoints
### Configuration Variables ###
aap.sh provides configuration variables (with default values) at the top of the script:
# Internet connection check frequency in seconds
aap_checkfreq=60
# Length of time in seconds to wait for a DHCP request to succeed
aap_dhcptimeout=30
# Internet URL or IP address used to ping to ensure internet access is working
aap_ineturl=www.google.com
# Defines the search mode. Try to find all accesspoints that provide internet access. "0"=NO, "1"=YES
aap_prefonly=0
# Defines the accesspoint refresh scan delay in seconds (divisible by 5)
aap_rescandelay=43200
### Installation ###
1. Log into your device via SSH
2. # mkdir /aap
3. scp aap.sh, aap_blst, aap_wlst and scan.awk to /aap
4. scp aap to /etc/init.d
5. # chmod 755 /aap/aap.sh, /aap/scan.awk and /etc/init.d/aap
### Usage ###
To enable autostart of AAP
# /etc/init.d/aap enable
To disable autostart of AAP
# /etc/init.d/aap disable
To start AAP manually
# /etc/init.d/aap start
To stop AAP manually
# /etc/init.d/aap stop
### Known Issues ###
Both aap_wlst and aap_blst need to be non-empty files due to the behaviour of the busybox builtin grep.
Thus, please leave aap_wlst and aap_blst as provided and just append your custom newline-separated entries
if actually in use.
### Warning ###
Both aap.sh and scan.awk make use of "*" as a field separator. Thus, both SSIDs and encryption keys
that includes "*" aren't supported by AAP. Unfortunately this constraint isn't solvable currently
as the busybox ash shell doesn't support arrays and the SSID specification allows the complete ASCII
character set. Be sure to utilize aap_blst to exclude those particular accesspoints. AAP may harm your
OpenWrt Kamikaze 8.09+ /etc/config/wireless configuration permanently if you neglect this warning. Use
AAP at your own risk!
### Changelog ###
Initial release aap_090903
Testing, reporting bugs, voicing comments/suggestions and asking questions about AAP is certainly much appreciated. I hope you feel this initial release of AAP as a valuable share to the OpenWrt community.
---
best,
orange _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
Last edited by orange on Mon Aug 16, 2010 14:46; edited 1 time in total
aap_090909 has been released. It fixes a bug with missing variable quoting. With the new release, SSIDs that contain spaces are now properly processed by UCI. I plan to do some more code clean-up in the future, but this is a quick fix for your convenience. aap_090909 is available at http://piranha.klashed.net/pub/aap
thanks,
orange _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
AAP 090911 has been released. Thanks to a suggestion by jow (OpenWrt developer), the write-access of AAP to flash memory got completely eliminated. An “uci commit wireless” upon connection attempt to a new AP is actually not needed as “wifi” reads the staged UCI values in /tmp anyway. AAP 090911 is available at http://piranha.klashed.net/pub/aap _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
Just a quick note: AAP 090916 is out with some new features/enhancements! Please read http://piranha.klashed.net/2009/09/16/piranha-30-090916-aap-090916-released/ for further information. _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
I hope you feel this as an appropriate decision. I'll certainly check these forums on a regular basis, so feel free to ask whatever you like about AAP here and I'll come back to you asap.
Thanks,
orange _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
Joined: 10 May 2008 Posts: 1380 Location: Pacific North West, USA
Posted: Wed Sep 23, 2009 13:28 Post subject:
This sounds like some awesome stuff!
I wish I could use it or had a use for it.
I can't stand laptops, and never need wireless when I'm out and about.
Wherever I'm at @ home or @ work, I always have high-speed internet... oh well. _________________ Soylent Green Is People !
=-=-=-=-=-=-=-=-=-=-=
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel
I hope you feel this as an appropriate decision. I'll certainly check these forums on a regular basis, so feel free to ask whatever you like about AAP here and I'll come back to you asap.
Thanks,
orange
Looks like dd-wrt build v24-sp2 (08/07/10) std - build 14896 looks interesting .. wonder if aap could be used with it .. _________________ WRT54G,GS v1.1, V2, V3 V4, V5
WR850G V2, V3
Fonera 2100
Looks like dd-wrt build v24-sp2 (08/07/10) std - build 14896 looks interesting .. wonder if aap could be used with it ..
It cannot! AAP is OpenWrt software. Btw, a basic documentation is available as of today at OpenWrt forum https://forum.openwrt.org/viewtopic.php?id=26116 _________________ 7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
this is excellent news, now if only openwrt didnt suck.......
Im not pleased with it ... but not disappointed either .. im trying to learn how to use it. _________________ WRT54G,GS v1.1, V2, V3 V4, V5
WR850G V2, V3
Fonera 2100