BlackBerry - Full Wipe

Blackberry “Wipe-Handheld” command list: => Options menu => Security Options => General Settings => Menu => Wipe handheld => Enter password (“blackberry” by default or your security password)

4 September 2009 @ 13:07 · Updated: 30 June 2026 @ 03:28 · leo

OpenSSH - Generate server key

OpenSSH require different keys depending if you use SSH1 or SSH2 protocol. All keys are generated by “ssh-keygen” commad, that one should be available on your system with the ssh package. Default key lengths are also appropriate (2048 bits for rsa and 1024 bits for dsa) For SSH1 protocol, you need a rsa1 key generated has follow: # ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa1 For SSH2 protocol, you need two keys, one rsa key and one dsa key generated has follow: ...

11 August 2009 @ 22:08 · Updated: 30 June 2026 @ 03:28 · leo

Asterisk - Eutelia SIP

Questo risulta essere un argomento un po’ delicato sopratutto sconsigliato a chi non ha un minimo di dimestichezza con asterisk, dal momento che non mi dilunghero troppo in spiegazioni sul funzionamento ma darò indicazioni essenziali e basta. Chiunque abbia provato ad usare asterisk su eutelia una volta skypho è sicuramente incappato in qualche problema sia sulla parte di registrazione sia sulla parte di streaming dei flussi rtp, la spiegazione di tutto ciò è abbastanza semplice eutelia appoggia il sistema sip che distribuisce ai cliente utilizzando il Cisco SIP Gateway, lo si può capire velocemente facendo debug. Questa soluzione spesso non è molto propensa a dialogare con asterik in modo standard, pertanto se state usando interfacce GUI o soluzioni embedded potete smettere di leggere perchè la maggior parte delle volte è impossibile uscire dagli schemi imposti. ...

18 July 2009 @ 04:55 · Updated: 30 June 2026 @ 03:28 · leo

Miaoo - Tomcat su Debian

Breve draft su come installare tomcat su debian, in questo caso lenny, le versioni dei pacchetti potrebbero cambiare ma il risultato finale è quello. Partiamo installando quello che ci serve: #apt-get install tomcat5.5 tomcat5.5-admin sun-java5-jdk tomcat5.5-webapps Attenzione, se l’installazione debian di default sicuramente non trovo il java jdk, è necessario quindi aggiungere il repository non-free, in apt editando in questo modo: /etc/apt/source.list deb http://your-mirror-url/debian/ lenny main non-free deb-src http://your-mirror-url/debian/ lenny main non-free Configurare il sistema per utilizzare java ...

18 July 2009 @ 03:40 · Updated: 30 June 2026 @ 03:28 · leo

SCSI R.I.P.

During a raining night.. Syslog tail: Jul 18 03:02:18 pbx01 kernel: [265460.092056] >>>>>>>>> Dump Card State Begins <<<<<<<< Jul 18 03:02:18 pbx01 kernel: [265460.092059] scsi0: Dumping Card State in Command phase,/ at SEQADDR 0x157 Jul 18 03:02:18 pbx01 kernel: [265460.092063] Card was paused [cut] Jul 18 03:02:18 pbx01 kernel: [265460.092511] Pending list: Jul 18 03:02:18 pbx01 kernel: [265460.092514] 6 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) Jul 18 03:02:18 pbx01 kernel: [265460.092521] SCB_SCSIID[0x7] SCB_LUN\[0x0]Jul 18 03:02:18 pbx01 kernel: [265460.092526] 2 SCB_CONTROL[0x74\]: / (DISCONNECTED|MK_MESSAGE|TAG_ENB|DISCENB) Jul 18 03:02:18 pbx01 kernel: [265460.092534] SCB_SCSIID[0x7] SCB_LUN[0x0\] Jul 18 03:02:18 pbx01 kernel: [265460.092539] 3 SCB_CONTROL[0x0] SCB_SCSIID[0x7] SCB_LUN[0x0] Jul 18 03:02:18 pbx01 kernel: [265460.092547] Kernel Free SCB list: 7 1 4 5 11 10 9 8 Jul 18 03:02:18 pbx01 kernel: [265460.092556] Jul 18 03:02:18 pbx01 kernel: [265460.092558] <<<<<<<<< Dump Card State Ends >>>>>>>>> Jul 18 03:02:18 pbx01 kernel: [265460.092570] scsi0:0:0:0: Cmd aborted from QINFIFO Jul 18 03:02:18 pbx01 kernel: [265460.092579] aic7xxx_abort returns 0x2002 Jul 18 03:02:18 pbx01 kernel: [265460.092590] sd 0:0:0:0: [sda] Attempting to queue a TARGET RESET message Jul 18 03:02:18 pbx01 kernel: [265460.092594] CDB: 0x2a 0x0 0x0 0x5a 0xf3 0xbc 0x0 0x0 0x8 0x0 Jul 18 03:02:18 pbx01 kernel: [265460.092604] aic7xxx_dev_reset returns 0x2003 Jul 18 03:02:18 pbx01 kernel: [265460.092655] Recovery SCB completes Jul 18 03:02:18 pbx01 kernel: [265460.092696] Recovery SCB completes pbx01:/# pbx01:/# Timeout, server not responding. leobook2-w:~ leonardorizzi$ Ouch!

18 July 2009 @ 02:57 · Updated: 30 June 2026 @ 03:28 · leo

ProFTP(D) - Ident Lookups

Visto che mi è capitato e mi dimentico sempre, proftpd nell’installazione standard (Debian per capirci) è attivo di defaultl l’ident del client, quindi colpa del reverse o colpa dei dns mal configurati la connessione risulta parecchio lenta nella fase di autenticazione. Per risolvere: #/etc/proftpd/proftpd.conf IdentLookups no

17 March 2009 @ 22:20 · Updated: 30 June 2026 @ 03:28 · leo

Linux - Iftop

iftop command listens to network traffic on a named network interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts. iftop is a perfect tool for remote Linux server over ssh session. iftop must be run by the root or the user who has sufficient permissions to monitor all network traffic on the network interface. Type iftop command at tge shell prompt to display traffic: ...

26 January 2009 @ 03:34 · Updated: 30 June 2026 @ 03:28 · leo

Linux - Send mail from command line

The Linux command line can be very powerful once you know how to use it. You can parse data, monitor Mutt: One of major drawbacks of using the mail command is that it does not support the sending of attachments. mutt, on the other hand, does support it. I’ve found this feature particularly useful for scripts that generate non-textual reports or backups which are relatively small in size which I’d like to backup elsewhere. Of course, mutt allows you to do a lot more than just send attachments. It is a much more complete command line mail client than the “mail” command. Right now we’ll just explore the basic stuff we might need often. Here’s how you would attach a file to a mail: ...

26 January 2009 @ 03:28 · Updated: 30 June 2026 @ 03:28 · leo

Debian - Service startup

Under Debian Linux startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup file Using rcconf: This tool configures system services in connection with system runlevels. It turns on/off services using the scripts in /etc/init.d/. Rcconf works with System-V style runlevel configuration. It is a TUI(Text User Interface) frontend to the update-rc.d command. ...

26 January 2009 @ 03:23 · Updated: 30 June 2026 @ 03:28 · leo

Debian - Change installation language

# dpkg-reconfigure locales

26 January 2009 @ 03:21 · Updated: 30 June 2026 @ 03:28 · leo