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

Tomato Firmware v1.27.8747 VPN 3.6 : Theme files not saved

Discussion in 'Tomato Firmware' started by Aquafire, Jul 4, 2010.

  1. Aquafire

    Aquafire LI Guru Member


    Using Tomato Firmware v1.27.8747 VPN 3.6 on two routers

    1. Linksys WRTSL54GS
    2. ASUS WL520GU

    Have download the theme files , unzipped then to get the custom.css and 2 other .PNG files.

    Used WinSCP to get the folder level access to the router and copied the theme files to "/var/wwwext/" folder.

    I can choose to change to the custom theme then from the "Administration -> Admin Access" menu.

    However to my surprise, every time I power cycle the router or restart it from a cold boot, the theme files saved in the folder are automatically gone and theme is reverted to default tomato. It is happening with both the routers.

    Any ideas what could be missing or does something needs to be fixed.

    Thanks for your support.
  2. but2002

    but2002 Networkin' Nut Member

    It's because that directory is formatted on reboot.
    What you need to do is store the files in the JFFS portion of the router, and then in the init script have them copied to /var/wwwext folder
  3. Aquafire

    Aquafire LI Guru Member


    Would you be kind enough to share the script to do this task and where should I place it in the scripts section of tomato.

  4. but2002

    but2002 Networkin' Nut Member

    Be sure you have JFFS enabled, and formatted.
    Then copy your theme files there.

    This is what I have in the init script that puts them where they need to be.

    mkdir /var/wwwext
    cp /jffs/* /var/wwwext
    That makes sure the "/var/wwwext" directory is there, and then copies everything out of the JFFS folder to the /var/wwwext folder

    (Note, if you have other things in JFFS, you might want to modify that a bit)
  5. Aquafire

    Aquafire LI Guru Member

    Thanks for the tip. Made it work , one via JFFS and the other one via external USB Flash disk connected directly to the router.

Share This Page