1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mobile computing Wireless WAN to Wired Router

Discussion in 'Tomato Firmware' started by Insanity, Feb 19, 2010.

  1. Insanity

    Insanity Addicted to LI Member

    I have been using Asus WL-520GU routers running Teddy Bear's Tomato for a variety of tasks behind our main NAT firewall. It's proven to be an affordable and flexible way to accomplish many different tasks.

    Now I would like to adapt Tomato so it can act as a mobile device that can connect to WiFi hotspots and act as a NAT firewall for wired (or perhaps Bluetooth or WiFi) clients in an RV. This creates a number of possible challenges.

    How do I assign the WAN port to the WiFi side of the router?
    How do I (can I?) create a list of SSIDs and corresponding WEP/WPAs for the router to connect to?

    I am a programmer and have worked in C, C++, Visual C, and C#, but my Linux experience is limited to mostly end-user experience on Ubuntu with some work with and writing scripts for the command line.

    --Peter
     
  2. teddy_bear

    teddy_bear Network Guru Member

    If I understand you correctly, here's what you need:
    https://sourceforge.net/projects/autoap/
    This is the cgi-script developed for DD-WRT "that allows routers to continuously scan for and connect to open (and predefined WEP) wireless networks".

    Tomato USB mod supports custom cgi-scripts - you can put a script into /www/user/cgi-bin folder, and it will be accessible via http://<RouterIP>/user/cgi-bin/autoap.sh URL.

    I have not tried AutoAP script with Tomato, and don't know if anyone else did - but I'm sure it's possible to make it to work with some adjustments to nvram variables, paths etc.
     

Share This Page