Toolbox package - v0.34

Changelog;

2008-03-22 - v0.21. Bug fixed in scripts for finding correct pid for telnetd
2008-03-23 - v0.3   thttpd compiled (thanks to Lundmans toolchain) and the binary 
                    is included in the httpd directory. index.html updated
2008-04-02 - v0.31  Again another q&d fix to get correct pid for telnet & httpd
2008-04-17 - v0.32  Small fix, cgi script output not displayed ok after April FW release, fixed.
2008-06-09 - v0.33  SMB changed in beta 080529? Transferred files now have different filepermission. 
		    New menu item to correct this now implemented. Run once (and reboot).
		    Processes menu item removed.
2008-07-19 - v0.34  Old config scripts removed. These are now only available via the thttpd server.
2008-08-06 - v0.35  Added Popchmod.bat. windows batch file that should take care of setting
                    all permissions ok after toolbox package is transferred to the popcorn


Installation
------------

Unpack the content of the zip file. Move the directory 'toolbox' with all of
its content to your samba-shared internal HDD. The 'toolbox' directory
must be placed in the root of the shared drive with the exact name of 'toolbox'
(without quotes...)

Note! If you want to use another name or path then you must change paths in almost
all of the cgi-scripts, html and config files

------------

Via your popcorn, browse to the toolbox directory and view the index.htm file.

You should now be presented with a 'Services Menu'. In here you can

1. Enable or disable the telnetd daemon.
   (Thanks to who ever it was compiling the busybox26 binary)
   
2. Enable or disable the TinyHTTPD server. Default config file included
   This lets your Popcorn act as a webserver with cgi capabilities. 
   Listens, by default configuration, on port 80. 
   
   Surf to http://<ip.of.pop.corn> when thttpd is enabled.
   
   The ws_config.cgi and share_config.cgi scripts are available here
   You can reach them at;
   
   http://<ip.of.pop.corn>/cgi/
   
   Additional web content should be put in 'toolbox/httpd/www/'
   Config-file located in 'toolbox/httpd/etc/thttpd.conf'
   
   Note! TinyHTTPD gets problems when html files in /www has the file
   permission of 777 (this is how samba creates files) this must be corrected. 
   This is done by running 'Repair permissions' from the menu.
   
3. Reboot the system, make a reboot immediately.

4. Make ToolBox stuff executable 
   To correct file permission on the transferred 'toolbox' directories

   
Hint, make a first test by making the 'Services menu' available as a webservice;
Name: ToolBox Url: file:///opt/sybhttpd/localhost.drives/HARD_DISK/toolbox/index.htm
   
IExplorer may have some difficulties showing pages correctly, use FireFox if possible.

------------

..and of course you use all of this at your own risk.

With some changes I guess all of this can be installed on a USB connected drive aswell.

Only tested with the latest firmware by 2008-06-09

hassex