06.27.06
Posted in gadgets, howto, unix at 8:49 pm by brainstorm
Sending sms via bluetooth with gentoo is “fairly” simple:
# emerge -pv gnokii
[ebuild R ] app-mobilephone/gnokii-0.6.10 +X +bluetooth -irda +mysql -nls -postgres +sms 0 kB
# emerge gnokii
(...)
Now tune your /etc/gnokiirc like this:
[global]
port =
model = 6510
initlength = default
connection = bluetooth
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[gnokiid]
bindir = /usr/sbin/
Then launch xgnokii, the gui is intuïtive enough. If you want to send the messages via cmdline, just use the example from gnokii’s manpage:
echo "This is a test message" | gnokii --sendsms +48501123456 -r
Read the rest of this entry »
Permalink
02.25.06
Posted in howto, software, unix at 2:59 pm by brainstorm

Primer de tot, no podia deixar d’incloure aquesta frase (”eslógan” oficial de bacula):
It comes by night and sucks the vital essence from your computers.
Després d’aquest incís, anem a veure com fer còpies de seguretat dels nostres sistemes amb aquest software de backups tant complet (feu un cop d’ull a la gran quantitat de documentació i els dispositius soportats).
Bacula té una estructura modular, en poques paraules hi ha tres daemons:
- Storage Daemon: S’encarrega de gestionar les particularitats del(s) dispositi(s) físics
- File Daemon: Té accés als conjunts de fitxers dels quals hem de fer els backups
- Director: Gestiona tots els recursos de forma centralitzada: Amb quina periodicitat s’han de fer backups, sobre quins dispositius, etc…
Per els impacients, hi ha un petit tutorial que explica molt ràpidament com muntar bacula. Com que la documentació de bacula és força bona i molt extensa, comentaré una mica com m’ho he muntat jo…
Read the rest of this entry »
Permalink
02.20.06
Posted in howto, security, software at 11:51 pm by brainstorm
So you forgot your MySQL database password ? Don’t worry, I’ll go straight to the point:
- Stop your running mysqld instances (/etc/init.d/mysql-server stop or killall mysqld)
- # mysqld –skip-grant-tables
- # mysql -uroot and you’re in, easy, isn’t it ?
For god sake, don’t do this on a production server leaving mysqld running like this X”D
Permalink
Next entries »