Cisco - Autosave scp

Non ho mai trovato la giusta implementazione per usarla, ma questo dovrebbe copiare la configurazione di apparati cisco automaticamente ad ogni salvataggio: archive path scp://leo:xxxxxx@hostname/home/leo/router-backups/router write-memory

1 July 2009 @ 19:15 · leo

Offline Windows password & registry editor

Just another link of useful utility: http://home.eunet.no/pnordahl/ntpasswd/ http://pogostick.net/~pnh/ntpasswd/

1 July 2009 @ 18:49 · leo

Dump System log on Windows

If you wanna to dump windows event log, in readable format form debug youre fucking .NET application running on IIS you can do this: Fist of all you need a special tool for this “dumpel.exe” (in pure Microsoft style) part of Windows Resource Kit 2000 (yeah only 9 year ago): You can download from http://support.microsoft.com/kb/927229 Then create a bat or vbs file with this command: dumpel.exe -l Application -f "\\path-to\app_log\app_all.csv"

19 May 2009 @ 00:06 · leo

Worldly Wisdom

Life is a bitch, so fuck it!

18 May 2009 @ 23:52 · leo

Mac OS X - Cisco VPN Client

If you are running Cisco’s VPN Client on Mac OSX, you might be familiar with (or tormented by) “Error 51: Unable to communicate with the VPN subsystem”. The simple fix is to quit VPN Client, open a Terminal window, (Applications -> Utilities -> Terminal) and type the following from root user: # /System/Library/StartupItems/CiscoVPN/CiscoVPN restart Stopping Cisco Systems VPN Driver kextunload: unload kext /System/Library/Extensions/CiscoVPN.kext succeeded Starting Cisco Systems VPN Driver kextload: /System/Library/Extensions/CiscoVPN.kext loaded successfully

27 April 2009 @ 02:16 · leo

Tracking voli di ritorno.

Potete vedere a che punto sono del viaggio da qui: Da Amman ad Istambul partenza ore 3:30 Da Istambul a Milano partenza ore 8:05 Gli orari sono espressi con il fuso locale data 20/04.

20 April 2009 @ 02:00 · leo

Tracking voli di andata.

Potete vedere a che punto sono del viaggio da qui: Da Milano a Istanbul partenza ore 11:00 Da Istanbul ad Amman partenza ore 19:05 Gli orari sono espressi con il fuso locale data 14/04.

14 April 2009 @ 10:30 · leo

Cisco - page breaks

On Router IOS: To stop the page breaks: # terminal length 0 To resume them: # terminal no length 0 (or number ex. 24) On Pix/ASA: To stop the page breaks. # no pager To resume them: # pager 24

13 April 2009 @ 19:14 · leo

Cisco - Get & Save config using telnet

Vi è mai capitato di dover salvare delle configurazione da apparati cisco senza avere un tftp a disposizione? In aiuto un piccolo script: #!/bin/bash host=xx.xx.xx.xx port=23 login=user passwd=pass nobreak='terminal length 0' cmd='show running-config all' (echo open ${host} ${port} sleep 1 echo ${login} sleep 1 echo ${passwd} sleep 1 echo ${nobreak} sleep 1 echo ${cmd} sleep 30 echo exit) | telnet sw01.txt

13 April 2009 @ 19:08 · leo

Out of Office automatic reply

Thank you for your message. I’m currently out of office, with limited access to e-mail. I will be returning on 22/04 For very urgent issues, you may reach me at +393939878975 Leonardo Rizzi – Leonardo Rizzi - System & Network Architect HostingLab (Skillnet Srl) Viale E. Jenner 30 20159 - Milano Office: +39 025457173 Mobile: +39 3939878975 www.hostinglab.it

10 April 2009 @ 16:00 · leo