Bootable FreeDOS Live image for BIOS upgrade

Download Link: http://pingtool.org/downloads/fd11src_live.iso

I was struggling with BIOS upgrades for our new Dell servers, as Dell didn’t provide bootable ISO image for BIOS upgrades.
After searching for DOS bootable images I have found FreeDOS project.

Unfortunately FreeDOS 1.1 LiveCD mode is not supported out of the box.

Using modified iso image from this page you can boot directly to DOS without need to install anything:

To add your own files to the iso, just use trial version of Magic ISO Maker (300MB maximum), or some similar program.
Just put your custom files in FREEDOS folder and after booting you will be able to run them in DOS environment.

After boot process is complete run dir command to see what files are in current directory.

[code]E:\FREEDOS> dir[/code]

On the following picture you can see that Dell BIOS update utility – M620-0~0.EXE is present in the directory.

The only thing left is to execute it:

[code]E:\FREEDOS> M620-0~0.EXE[/code]

This Bootable DOS ISO was tested on HP, DELL, Supermicro iKVMs and on VmWare.

Download Link: http://pingtool.org/downloads/fd11src_live.iso

Generate lines in vi editor

When you need to add multiple similar records to a configuration file (IP addresses for example), you may use vi editor to do it directly:

[code] :r! for i in $(seq 1 5); do echo “This is line \#${i}”; done[/code]

This command wil generate 5 lines:
[code]
This is line #1
This is line #2
This is line #3
This is line #4
This is line #5
[/code]

Similar command used to generate Reverse DNS entries in BIND:

[code] :r! for i in $(seq 1 5); do echo “$i PTR host${i}.domain.com”; done[/code]
[code]
1 PTR host1.domain.com
2 PTR host2.domain.com
3 PTR host3.domain.com
4 PTR host4.domain.com
5 PTR host5.domain.com
[/code]

Line numbers can be changed, modifyng the $(seq 1 5); part.

CheckPoint SPLAT to Gaia migration script

CheckPont Gaia firewalls have new text-based configuration format.
Here you can download a script, that converts most of configuration on SPLAT system to new Gaia CLI commands, that can be pasted on to new system.

Script converts following data:

Interfaces (including bonding and vlans)
Routing
DNS
NTP

Bonding parameters and timezone data have to be preconfigured.

Script does not modify anything on the system, so it can be safely run on production systems.

Donwload:
splat2gaia.sh

Zabbix SNMP – Error building asn.1 representation

When installing Zabbix on Debian 6, you may enconter an error with SNMP checks.

Error building asn.1 representation

First try to retrieve the most basic uptime value with snmpget

[code]
snmpget -v2c -c public 123.45.67.89 SNMPv2-MIB::sysUpTime.0
Cannot find module (SNMPv2-MIB): At line 0 in (none)
[/code]

If you get similar output as above you are missing package snmp-mibs-downloader.

You can install this package via apt:

[code]
apt-get install snmp-mibs-downloader
[/code]

After installation restart zabbix-server