Logging module for Thecus N2100

October 13th, 2006 by ktula

Thecus N2100 Network Attached Storage

Sundevil requested a module that will allow him to see the Apache and FTP logs for troubleshooting purpose. Well, you asked for it, so here it is.

When i tested this module initially, i had tons of problem getting the N2100 web admin to respond after enabling logging or restore the default settings using the module. I finally figured out that if i use shell_exec to launch a shell script from PHP, PHP will make sure that all the child processes spawned by the main shell script have ended before continuing. That explained the irresponsiveness of N2100 web admin. Also, having to cycle the Apache webserver while using the N2100 web admin did not help, duh!

I tested this module on a Thecus N2100 with firmware version 2.1.01. The screenshot of the module is shown below.
MORELOG screenshot

Download either the gzip or the zip version:
MYMORELOG.mod.gz
MYMORELOG.mod.zip

This module is written based on the FANCTRL module by mshapf.

Related posts

  • No Related Post

1 Response to “Logging module for Thecus N2100”

  1. 1

    martinNo Gravatar Says

    there seens to be a problem with this script on the last firmware.
    Processes do not terminate, so the system gets crowded with processes and gets unresponsive after some time (mine was running 9 days, the power button and the halt command did not shut down the box, i had to cut the power.)
    thanks for the scipt though - concept is nice, down’t know if the probblem is my own configuration or the script itself.

Leave a Response

Ja, ich möchte bei Kommentaren benachrichtigt werden!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word