auto-update Antivirus Essential for Synology NAS behind proxy

Since DSM 4.1 you can configure proxy service at the Control Panel – Network:

but if you have installed the AntiVirus Essential package, it wouldn’t use this settings to update it’s virus definitions and will fail:

To configure autoupdate for the virus definitions behind a proxy server, you need to configure some settings manualy:

activate ssh on your NAS:

connect to your NAS by SSH and login as root (not as admin!)

create a new script:

change vi to the insert mode by press key i, then insert this lines: read more

network calculations in Excel 2010

i need often to calculate network addresses, subnet-masks/bits, Hosts and more. For this i wrote this script Network.bas, which you can implement in your Excel file or your Default template book.xltm:

i implemented this functions:

  • NetworkCalculate
    • Add or subract from an IP-Address:
add second default route to Synology NAS

Shortly i need to connect a Synology NAS to two separated networks. At default you can only define one Gateway for your Synology NAS. To define a second route, do this steps:

Activate SSH access to your Synology NAS:

configure first LAN interface:

configure second LAN interface:

configure default gateway:

Connect to NAS by ssh and configure the second route:

after configuring this, you can disable ssh access again.

There are several valid reasons to demand that a vbscript runs in CSCRIPT instead of WSCRIPT, like for example to allow the use of Standard Input or to prevent a separate popup for each Wscript.Echo line.

The following code can be copied and pasted at the top of your own scripts to force them to run in CSCRIPT:

The code may look more complicated than necessary, that’s because it returns CSCRIPT‘s return code to the WSCRIPT engine, just in case this return code is monitored by the program that started the script in WSCRIPT. read more

Did you ever wonder, how to backup your cisco configuration on a regular base? Earlier you need a tool which made the backups for you.

Since IOS version 12.2(25)S cisco has integrated the archive command, which can backup the IOS configuration based on time or an event:

in this example, the config is archived whenever you write your running config to the startup config and additionaly on a weekly (10080 minutes) interval.

note: if you like to write your backups in a subfolder for each switch, you have to create the subfolder on your server. read more

In the last time i have a lot to do with creating and testing SNMP monitors in our monitoring system. Rather than being surprised when a SNMP monitor doesn’t work correctly, i would like to test my newly created monitors against a SNMP simulation tool.

So i was looking for an SNMP simulating tool. But the only ones i could found, are to expensive for me or not useable.

Cause of this, i started to develope my own SNMP simulation tool running on Windows system.

The currently planed features are: read more

i created a new WordPress plugin to display your Menalto Gallery3 albums in your posts and pages. Unlike other plugins, this plugin can handle user permissions from Gallery3.

[WPGallery3 AlbumID=405 RootAlbumID=405]

See detailed information and download link for the newest version at the project page.

Installing HP ESXi Offline Bundle for VMware ESXi 5.0

The steps to install the offline bundle for VMware ESXi 5.0 has changed from VMware ESXi 4.X. The vihostupdate command used in ESXi 4.X does not work against ESXi 5.0 hosts.

1. Download the bundle.zip.

Either Google “HP ESXi Offline Bundle for VMware ESXi 5.0” or go to www.hp.com → Support & Drivers → Drivers & Software → Search for the server model (e.g. ProLiant BL640c) → Select the server series → Select operating system = VMware ESXi 5.0 → Find “* RECOMMENDED* HP ESXi Offline Bundle for VMware ESXi 5.0 → Download read more