Yes, you are right, of course you can run that script in order to provide the NANO with Internet access, the script will insert the typical iptables rules to nat the device behind it and that’s it, pretty easy.

Since I can’t run iptables and/or modprobe commands (I don’t know exactly why, if someone can help wth this it will be very appreciated - side note: both commands work ok in chaos calmer openwrt firm -) I used “insmod” to install the rtl8187 module (which is already in /lib/modules). After that, you can connect an ALFTa with an RTL8187 chipset and you will have the second interface. Basically, any chipset accepted by openwrt project would prolly work.

So, as of now:

  1. Replace the original firm with modified nano 1.0.6 using the default web interface without saving actual configuration

  2. Connect to the NANO using the WAN port (which is eth0 by default config - LAN port will be eth1 -) You will get an ip address like 172.16.42.XXX

  3. Change the provided IP address with 172.16.42.42 (default gw in NANO). Run the script (you will need to modified the expected MAC address, look inside the code of the script or remove those lines checking for the NANO) or modify the computer’s iptables to give inet access to that iface… (this is what the helper script will actually do)

  4. Now, NANO will have inet access through WAN eth0 port… of course all this config can be changed, I’m making this as easy as I can…

  5. If you want, you can connect an ALFA and with insmod install the module and now the NANO will have wlan0 and wlan1

  6. Some internal modules such as PineAP, Recon and others, will need some fine tuning because they use “wlan1” and if you don’t connect the external ALFa you will have just wlan0. So replace the instances of wlan1 with wlan0 and for “client” connections “wlan0-1” can be used too…

  7. Some modules like ssltrip will not work. I’m working on this. This is because iptables is not working fine and, as I already said, I don’t know why. The same happens with modprobe… I will need some help here… if someone can try…

  8. Also, we will need the usb port to connect an external usb memory, to expand its memory. The CPU goes to 100% very quick and it stops responding if it’s too full, according to my tests.

Hope all of this raises some interest and someone can try and help to make this work very well!

Thanks!