Posted: Fri Jun 02, 2023 4:55 Post subject: Customize the GUI
I am using DD-WRT in my travel trailer to share wifi from either the local camp group etc, iPhone hotspot or iPhone USB tether.
I only make a few settings tweeks at each location (local SSID / passkey etc.). I would love to have the root page just have these settings with a link back to the full GUI etc.
I am only talking plain old HTML. I am pretty versed in web design and some sorter development (PHP, Ruby, Python, Javascript etc.) and done my foreshore of Mac / linux CLI compiling etc.
Is this a trivial task or would this be a huge undertaking?
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Thu Jun 08, 2023 12:54 Post subject: Re: Customize the GUI
jasper502 wrote:
I am using DD-WRT in my travel trailer to share wifi from either the local camp group etc, iPhone hotspot or iPhone USB tether.
I only make a few settings tweeks at each location (local SSID / passkey etc.). I would love to have the root page just have these settings with a link back to the full GUI etc.
I am only talking plain old HTML. I am pretty versed in web design and some sorter development (PHP, Ruby, Python, Javascript etc.) and done my foreshore of Mac / linux CLI compiling etc.
Is this a trivial task or would this be a huge undertaking?
Theoretically, all settings of DD-WRT are stored in NVRAM. You can just use a script to modify and commit relevant NVRAM variables, then reboot the router. That's not GUI of course, but could still be simple(?).
DD-WRT WEBUI''s backend is a process called httpd, basically a simplified, micro web server.
I suppose one can fork a set of screens in visuals, to be called by httpd after hitting a "Simple Mode" button in the main screen (index.c & menu.c). _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!