dabyd64 wrote:Some nice updates there. Your feedback is very appreciated
Yes, thanks so much, dabyd64,
with your extensive help, it now WORKS as each boot connnecting to the one as in the wlist, #1, #2, etc.
The remaining problem,is the bssid. If using the luci web to MANUALLY repeat a essid,"join the network" actually, cat etc/config/wireless, there is a
"option bssid xx:xx:xx:xx:xx:xx", what are really the difficulties if define the variant "bssid", and say put the variant "bssid" in the script like " uci set wireless.@wifi-iface[0].bssid="$bssid".
This bssid is that I am repeating the free city wifi, they got several same essids, but different bssid, in UBNT airos, you can "LOCK" a bssid when repeating as a client in it's web config interface.But really no idea in Openwrt, too many "inside tricks".
Other issue is how to use the AA 12.09 macchanger.ipk, seached a lot, seems no one ever got success,either before the wlan0 is up or after.Since the free city wifi has a 12 hour connection limit per mac, so I need a random wwan mac each boot of the router.AAP v3 can do it perfectly.
One last serious problem is that: does the script writes to the flash each time it tried a new ap on the wlist,write to the etc/config/wireless, doesn't it? This is SERIOUS, 'cause the NOR flash has a limited life, though claimed to be 100,000 times rewriteable, SERIOULY DOUBT THAT. NO STRANGELY ENOUGH,SAMSUNG'S NAND FLASH develop algorithms for bad blocks.If some block is damaged for frequent write, the whole router is dead. The AAP seems to do this by writes in the RAM, /tmp....
When you have time,pls check here , 7,8,9,10 floor,https://forum.openwrt.org/viewtopic.php?pid=94025#p94025
Each script shall minimize the write to the flash as little as possible.
Lux has did a goog job, No. 4 of https://forum.openwrt.org/viewtopic.php?pid=119392#p119392
Except for that, this script is REALLY TWO THUMBS up, can replace AAP v3, as that only supports madwifi, not ath9k!
Thanks.
(Last edited by eeff11 on 4 Oct 2013, 09:53)