adding a tomato captive portal

Discussion in 'Tomato Firmware' started by lissny, Oct 12, 2012.

  1. lissny

    lissny Networkin' Nut Member

    any body there plz help me..
    I have created login system for Captive portal...
    it contains files..
    1-Cap-Port-users.asp (To. add, remove, edit, user- Accounts) (destinition: /root/www/)
    2-Cap-Port-Log.asp ( To view each login from user.. either successful OR unsuccssful) (destinition: /root/www/)
    3-Cap-Port-Splas.asp(user login page ) (destinition: /root/www/)
    4- user-records.txt (contain-- user login DB - encrypted text) (destinition: /root/tmp/)
    5- user-logs.txt (contain-- users Each login attempt) (destinition: /root/tmp/)

    user login page requests for.. user name and Pasword..and Captures PC-name, PC-User Name, MAC using Java script.
    and finally 5 things.. username password PC-Name and PC-Mac will be cheked with DataBase txt file.

    Problem is I can not put .asp files in "/root/www/" It says .. Error "Read only file system" for direcotry
    i have user putty and WinScp.... with root:admin but it gives erro above.
    plz help me.
  2. azdps

    azdps LI Guru Member

    Your going to have to put it in /root/var/wwwext/. Although this will be for testing purposes only because as soon as you reboot your router any files located in the /root/var/wwwext/ directory will be deleted. If you want your Captive portal to go into root/www/ you will need to compile the files into the firmware. You won't be able to change the file permissions for the /root/www/ directory. It will remain read only. I'm pretty sure I'm correct on what I've told you.
  3. lissny

    lissny Networkin' Nut Member

    dear problem is compiling, that is very tough work for me... i dont know about any thing to compile that.. any video tutor available for that? i have seen a link ;; of but not working.. .. administrator might help me..
  4. PBandJ

    PBandJ Addicted to LI Member

    The how-to build is currently being discussed here: from post #59 onwards.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice