Ok, this is right about where the skriptkiddie stuff Ill be doing may not be as useful to other people, so its a good time to share what I have done.
First off, for compatibility' sake, I have a TP-Link TL-WR703N, which means this will be a breeze if you have one of those!
The changes Ive made are lengthy. I'll try to keep track of everything and if I suddenly remember stuff I'll come back and post it here.
In a jiff, this is what this (collection of) script[s] will do:
-------------------------------------------------
1. Scan for networks
2. Compose a list, automatically ignoring all encrypted nets
3. Check remaining nets against a filter list
4. Connect to strongest network
5. Verify connectivity with a ping of arbitrary site (set to google.com)
----
6. Create a new wireless network called "Ghost"
7. Relay all dhcp requests and other traffic invisibly to host network from step 5
8. Do a bunch of convoluted shite to create an accessible node with sshd access in same ip range
9. Continue monitoring and if connectivity is lost, start again.
10. Make a sandwich. <----currently broken.
---------------------------------------------------
ZIP FILE:
https://drive.google.com/file/d/0Bx2sj- … sp=sharing
INSTALL NOTES:
#install directions
#create folder /jffs/bin/ (mkdir /jffs/bin)
#copy everything but ETCCONFIG folder there (cp * /jffs/bin)
#chmod a+x the whole lot (chmod a+x /jffs/bin/*)
#cd into ETCCONFIG
#copy everything there to /etc/config (cp * /etc/config)
#make sure wireless-tools and relayd is installed (opkg update; opkg install relayd; opkg install wireless-tools)
#run script by ./autoap.sh
#once satisfied, to have it run at every boot,
#add "/jffs/bin/autoap.sh >> /tmp/autoap.output &" to /etc/inittab
NOTE: the file locations are hardcoded. if this stuff isnt in /jffs/bin/ it wont work.