Apr 042012
 

For a customer i was in need of a quick way to send an email every time his system (centos) stop, reboot or simply boot.
I’ve found an useful article http://www.syntaxtechnology.com and most of this article is based on that.

To get an email at both start up and shut down we need to write an init script. The tips below are specific to a Red Hat based system (Red Hat, Fedora, CentOS, etc) but should be fairly similar to others, depending on the boot system you’ll have to change slightly the script.
Continue reading »

flattr this!

Nov 132011
 

After the update to Ubuntu 11.10 my wireless goes up and down, and so i’m trying to debug this problem looking into dmesg.

But this brought me to another small issue, dmesg prints timestamps in the form of seconds.nanoseconds since the system booted. And no, there seems to be no -h option to make it human readable. so you should check your boot time and make some calculations to see where the events logged are happened.

This don’t seem so useful !
Let’s see how to have these information in a better format.
Continue reading »

flattr this!

Nov 032011
 

by
Frank Harris-Smith

There are many reasons I prefer Linux. Near the top of the list is that I’m a tweaker. Someone who enjoys making changes and having things “My Way”, like the song by Frank Sinatra.

Linux has many configuration files, most of which “lurk” in the “/etc” folder. These files are used to configure the mounting of drives, network lists like what IP address goes with what computer name, passwords and admin access, application configuration and even what the boot menu looks like. “Under the Hood” Linux is highly customizable.
Continue reading »

flattr this!