Moin und Hello!
I am refering to thread http://www.ip-phone-forum.de/showthread.php?t=233963 where Hiawatha was recommended as a good solution to run static and dynamic web pages:
Now I would like to adjust the config files of hiawatha on my fritz box:
1. How can I edit hiawatha config files like?:
I know that /var is writeable and can be flashed via "modsave" command.
My given binary files:
Thank you!
I am refering to thread http://www.ip-phone-forum.de/showthread.php?t=233963 where Hiawatha was recommended as a good solution to run static and dynamic web pages:
Maybe it is easier for you to start with lighttpd, because it is in the current trunk version (just select it from make menuconfig; don't forget to select PHP too).
For hiawatha you can do this:
Know that there is not much experience with hiawatha on Freetz yet, but I will try to help you were I can.
- Download hiawatha_7_4_1_subop_250411.patch (from ticket)
- Download hiawatha-webif-only-3.patch
- In your Freetz folder: patch -p0 <hiawatha_7_4_1_subop_250411.patch
- In your Freetz folder: patch -p0 <hiawatha-webif-only-3.patch
- Edit make/Config.in to add hiawatha (you will see how)
- Edit make/external.in to add hiawatha
- make menuconfig to select hiawatha
You can create a SWAP file here. Start with a SWAP file that has the size of your memory: 32MB.
Now I would like to adjust the config files of hiawatha on my fritz box:
Code:
root@fritz:/var/mod/etc# ls -ahl
...
lrwxrwxrwx 1 root root 25 Jan 1 2000 default.avm-firewall -> /etc/default.avm-firewall
lrwxrwxrwx 1 root root 17 Jan 1 2000 default.ftpd -> /etc/default.ftpd
lrwxrwxrwx 1 root root 21 Jan 1 2000 [COLOR="blue"]default.hiawatha -> /etc/default.hiawatha[/COLOR]
...
root@fritz:/var/mod/etc# ls -ahl default.hiawatha/
-rw-r--r-- 1 root root 226 Apr 30 00:43 hiawatha.cfg
-rw-r--r-- 1 root root 977 Apr 30 00:43 hiawatha_conf
-rw-r--r-- 1 root root 232 Apr 30 01:03 hiawatha_extra.def
1. How can I edit hiawatha config files like?:
Code:
root@fritz:/var/mod/etc# vi /etc/default.hiawatha/hiawatha.cfg ^C
root@fritz:/var/mod/etc# cp -p /etc/default.hiawatha/hiawatha_conf /etc/default.hiawatha/hiawatha.conf^C
root@fritz:/var/mod/etc# vi /etc/default.hiawatha/hiawatha.conf^C
I know that /var is writeable and can be flashed via "modsave" command.
My given binary files:
Code:
root@fritz:/var/mod# ls -ahl /var/media/ftp/uStor01/external/usr/bin/
drwxr-xr-x 2 root root 4.0K Apr 30 01:23 .
drwxr-xr-x 4 root root 4.0K Apr 30 01:23 ..
-rwxr-xr-x 1 root root 101.4K Apr 30 01:01 hiawatha
-rwxr-xr-x 1 root root 398.1K Apr 29 22:12 mc.bin
-rwxr-xr-x 1 root root 8.0M Apr 29 23:45 php-cgi
-rwxr-xr-x 1 root root 24.7K Apr 30 01:01 php-fcgi
-rwxr-xr-x 1 root root 24.3K Apr 30 01:01 wigwam
Thank you!
Zuletzt bearbeitet: