How to setup a custom page in the Web interface of DD-WRT.
The Buffalo WZR-HP-AG300H doesn't have any space where we could save our data, but it has an USB port. A simple USB key is enough to store the content of some Web pages.
So plug the USB key in your Buffalo and go on the Web interface, under the menu Services > USB. Enable the options as following:
Then Save and Apply Settings. It should now display some information about the key plugged in.
We still have to write the script executed every time the Buffalo would mount our USB key. Connect to Buffalo's CLI through SSH or Telnet and paste the following script in the /opt/opt.startup file:
#!/bin/sh OPT_WWW="/opt/www" TMP_WWW="/tmp/www" # Link /opt/www to /tmp/www for MyPage support [ -d $TMP_WWW ] && rm -rf $TMP_WWW ln -s $OPT_WWW $TMP_WWW