A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Uptime Contest

1424 days


Automatically clone zone from a bind master

My situation, ns1 and ns2, master and slave. On ns1 I’ve installed smbind to simply manage my zones.

Now I want that ns2 will be automatically updated with the new zones from ns1 but, unfortunately, I wasn’t able to find anything ready on internet.

At the end I wrote a simple script that simply connect […]

Renew a Certification Authority that is going to expiry

Esempio classico: il certificato di openvpn dopo 10 anni scade, il certificato originale era stato creato con easy-rsa

È possibile rinnovare il certificato della Certification Authority e del server in scadenza e far si che i client continuino a collegarsi. Nel caso di alcuni software (vedi openvpn), il client dispone anche di copia del certificato […]

Tunnel IPIP between RouterOs and Linux

This is a small tutorial on how to establish an IPIP tunnel between a Linux Debian server and a Mikrotik RouterOs.

Linux Machine:

ip tunnel add tun0 mode ipip remote <remote_ip_address> local <local_ip_address> ip link set tun0 up ip addr add dev tun0

Mikrotik RouterBoard:

/interface ipip add local-address=<local_address> remote-address=<remote_address> /ip address add address= […]

OpenVPN Linux Server – Router OS Client

Launch this commands:





cd /etc/ssl

mkdir $CATOP

mkdir $CATOP/certs

mkdir $CATOP/crl

mkdir $CATOP/newcerts

mkdir $CATOP/private

echo “00” > $CATOP/serial

echo “00” > $CATOP/crlnumber

touch $CATOP/index.txt

export OPENSSL_CONF=/etc/ssl/essetigiCA.cnf

copy /etc/ssl/openssl.cnf to personalCA.cnf and edit OrganizationName, Country, State, ecc fields.

Then execute:

openssl req -new -keyout $CATOP/private/$CAKEY -out $CATOP/$CAREQ

write a complex passhprase […]

Clonezilla PXE Setup

We assume that our server has ip, and root directory of tftp server is /srv/tftp

Download and on a local directory and unzip them. Obviously you can use only one of them.

# wget

# tar xjvf syslinux-4.04.tar.bz2 # cp syslinux-4.04/core/pxelinux.0 /srv/tftp/ # cp syslinux-4.04/com32/menu/vesamenu.c32 /srv/tftp # mkdir /srv/tftp/clonezilla-amd64 # cp […]

openWrt non-standard module compiling

Now I want to use an easycap DC60 device also on my NSLU2 with openwrt, so similar for sheevaplug i’ve to compile the module.

All the operations described here are executed on a standard i686 linux pc (debian).

Download openwrt 8.09.2 and default config file:

cd /usr/src/nslu2/test svn checkout svn:// 8.09.2 wget

go into […]

BlackBerry Bold 9700 as Linux Modem

In questa breve guida andrò ad illustrare come usare il nostro BlackBerry Storm 9700 quale modem HSDPA/UMTS/GPRS. Ovviamente il metodo illustrato funziona con (teoricamente) qualsiasi terminale BlackBerry.

Il tutto è reso possibile dal software prodotto da NetDirect, Barry. Scarichiamolo a questo indirizzo

Grazie a barry (in particolare l’eseguibile è pppob) ci viene fornita una […]