IMPORTANT NOTICE
During the next period of time, the Thecus Wiki will migrate to a new site - the NAS Website. The migration is part of an improvement initiative, which includes giving the site a new look and making it more user friendly.
During the migration information may exist both at the old and new site, however slowly pages should start to be located mainly at the new site. Please see the NAS Website for details.
N5200 Module: UTILS
From Thecus Wiki
Contents |
Facts
Name: UTILS (Utility programs)
Maintainer(s): Andreas Vogel (omega)
Target: N5200
Latest version: 2.00.01
Depends on module(s): none
Description
General Overview and Installation
This module comes as a ZIP compressed file with the name N5200_<modname>_<version>.zip, where <modname> is the module name and <version> is the version number of the module. While unpacking the ZIP file, a new directory N5200_<modname>_<version> containing the module and its source code is created.
The module file is called <modname>.mod and the source code is located in the directory <modname>. The source code is included for interested people and is not needed for module installation. The file Makefile can be used to rebuild the module on Linux systems.
The module is installed using the "System"->"Module Mgmt" menu in the Thecus Web Server Administration. Specify the file <modname>.mod as the module file and press "Install".
The whole installation process is logged and sent as an E-Mail if you're configured in the E-Mail notification configuration. After successful installation enable the module in order to run the module.
After uninstallation of the module, a log of the uninstall process will be send to the user(s) configured in the E-mail notification configuration. Prior uninstallation of the module, the actual configuration data is backed up to the place "/data/raid/module/backup/<modname>". When the module is installed again, the module configuration is restored from that place if available.
Module version 2.00.00
This module provides several programs which are either not part of the Thecus firmware or which have only reduced functionality e.g. because they are part of busybox.
These programs are only available in the shell: so you need to login to your Thecus via SSH. For this, you need to have the modules SSHD and SYSUSER installed.
All programs are prefixed with "ut_" in order to avoid name clashes with already existing programs. After installation of this module the search path (PATH variable) has been augmented so these programs are found by just issuing the command name. There is no need to specify the absolute path.
Here comes a list of the programs which are installed by this module:
- ut_joe - The JOE text editor.
- ut_diff - Show differences between two files.
- ut_lspci - Show PCI devices.
- ut_tune2fs - Tune parameters of EXT2/EXT3 file systems.
- ut_od - Show octal/hex dump of a file.
- ut_ps - Show running processes.
- ut_top - Show top list of processes.
- ut_vmstat - Show memory and disk I/O statistics.
On the module property page, you can do this:
- See a short module description and the list of available programs.
Module version 2.00.01
Added the ISCSI utility script ut_iscsi which creates and mounts ISCSI target files on the N5200. Furthermore it shows mounted ISCSI tragets and the ISCSI configuration which is currently active.
Calling this script without any command line arguments shows you a help message.
News
- <2007-09-17>: First public release.
- <2008-01-25>: Added ut_iscsi utility script.
Versions
- Version 2.00.01
- Release date: 2008-01-25
- Works on firmware: >=1.00.06.5
- Does not work on firmware: <= 1.00.05
- Download: N5200_UTILS_2.00.01.zip (approx. 1 MB)
- Major changes: Added ut_iscsi.
- Version 2.00.00
- Release date: 2007-09-17
- Works on firmware: >=1.00.06.5
- Does not work on firmware: <= 1.00.05
- Download: N5200_UTILS_2.00.00.zip (approx. 1 MB)
- Major changes: First public release.