« Archives in April, 2009

iSprawl Exapod

I've found this on Hackady and I can't stop whatching this video...

Take a look to  Sangbaee Kim's website for info about.

CiscoBK

This is a shell script that I've wrote in order to backup my cisco devices configuration and to keep my backup update.

Features:

  • Automatically copy configuration via tftp.
  • Compare previous configurations with new downloaded with "diff" command.
  • Send email alert if configuration change and attach to alert new and old configurations.
  • Always keep a backup copy.

Configuration:

Uncompress the archive in a place like /opt/ciscobk
Take a look to ciscobk.sh in order to correct paths according to your configuration
Open etc/ciscobk/ciscobk.conf and put ip addresses of your Cisco device
Open etc/ciscobk.mail and type here mail addresses that'll receive mail alert

HowTo configure Cisco device:

First of all I'm assuming that you know what you're doing...I'm not responsible if you destroy your running config then "wr"...
Ok, we're ready, go in enable mode and simply type

myrouter# conf t
myrouter# tftp-server nvram:startup-config
myrouter# wr

Now your Cisco device is ready to serve his configuration to anyone; I recommend to use ACL's to prevent somebody hack your router...

[dm]1[/dm]

Pingmon

This is a simple shell script that I've found on sourceforge.net (thanks to Anatoly...) that sequentially ping a list of ip address and send a report by mail.

I've improved this script with SMS alerting, sms are sent through Gnokii and a Nokia cell. phone connectet to USB port.
I've also added host down and alive reporting, and some structural improvement.

You can download directly from sourceforge.net by clicking Here

Using Vmware webaccess under linux and Firefox 3

The only way to have a working vmware console under linux, is using "webaccess" or connecting via msRDP to a win client .

Let's start setting up webaccess plugin.

Open you r *zilla browser and point to http://yourvirtualcenter.yourdomain and don't worry about "usupported browser message"; I've made this under Iceweasel on Debian Squeeze.
Try to open a virtual machine's console; you'll be asked to install a plugin, but unfortuantely the plugin installation fails.

How to solve this problem...

Frist install libexpat library.
Under  Debian Squeeze (and all debian like distros):

  1. apt-get update
  2. apt-get install libexpat1
  3. ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0

Go another time to your virtualcenter webaccess and now you can install the pluging and open the console.