Articles

Keep a Debian fresh thanks to cron-apt

As I mentioned in an old comment , I use cron-apt to keep my Debian servers fresh. This post is just a quick reminder to my future self, about how I setup cron-apt on my machines. First we install the package: 1$ aptitude install cron-apt Then we configure it: 1$ sed …
➟ Read more

Setting up HDD’s SMART monitoring on Debian Squeeze

Here is how I setup SMART monitoring and maintenance of an array of Hard-Disk Drives running a Debian Squeeze. First, let’s install the smartmontools package: 1$ aptitude install smartmontools We now have to check that SMART is activated on our drives: 1$ smartctl -a /dev/sdb | grep "SMART support …
➟ Read more


FTT Migration from Subversion to Git

Last month I released the Feed Tracking Tool project (aka FTT) on GitHub . I reconstructed the code history from old tarballs. In the mean time, my friend at Uperto managed to recover the original Subversion repository from very old backups. Here is how I migrated the old SVN repository to …
➟ Read more

Network commands

Interfaces Get the list of all wireless networks reachable by the wlan0 interface: 1$ iwlist wlan0 scanning | grep ESSID Get some information about open ports: 1$ netstat --taupen 2$ netstat --lapute Watch network activity in real-time: 1$ watch -n 1 "lsof -i" Reboot machine if the 192.168.0.254 …
➟ Read more