Monthly Archives: March 2009

Linux networking – edit /etc/network/interfaces for auto IP assingment aka DHCP

Commonly, changing network interface IP, subnet mask or DNS used to be on GUI (Graphical User Interface). But they will be times it needs to be done on CLI (Command Line Interface). e.g. the windows manager fail to start, window manager does not provide a GUI to change it, it is a server and [...]

telnet – using telnet to test email server or send email (smtp pop 25) using telnet

telnet is a Swiss army knife for troubleshooting layer 7 application problem, especially useful on smtp & pop3 protocol.

Scenario 1 :
to test is our domain is being block by recipient domain, using telnet on our email server to send email on recipient email server.

Scenario 2 :
a quick test on error occurs sending email, using email [...]

telnet – using telnet to test email server or read email (pop port 110) using telnet

telnet has a lot of weakness compare to ssh. Most notably would be it transmits in plain text across the network, which everyone can look at it as long as one can tap into the line.  Still, it is very much useful in trouble shooting application layer problems, e.g. http, smtp, pop, ftp, irc & [...]

sed – search & replace with variables within bash

sed is extremely helpful in search & replace text, in file & variables. Often we need to construct a list of strings together with variables. But the normal usage of sed :

e.g.
sed -e ’s/text-to-search/string-to-replace-$variable-name/g’

will only replace the variable $variable-name literally rather then the pre-define value. After meddling with a few more stuff, the problem lies [...]

Ubuntu or Debian linux – utilities to monitor fan, temperature, speed

Another reason to use open source software. If you have just got yourself a Dell laptop and want to monitor the system fan, temperature, processor speed & other stuff, you’re in luck. The open source community have come out with a piece of excellent utility to do the job. Better, the utility is able [...]

Fluxbox – assign custom buttons for various program / operation in fluxbox

After some brief hiccups on fluxbox customization, some of you might be asking how to bind those volume keys (or other keys of that matter) into fluxbox. Wait no more, here it is :

Fluxbox – mouse left click not working after ~/.fluxbox/keys modified

Fluxbox is a extremely lightweight window manager that not only require little resource (compare to the resouce monsters KDE & GNOME), it also allow one to customize almost every aspect of it. It also allow changes on skin to reflect a much more customized desktop interface. Due to its nature, customization on it is quite [...]

regex – pattern matching with numbers in sequence

Arghhh… Disk space is full. First thing to do? Of cause, is to free some disk space first. Next question, what to delete? Log files are the first on the list. But log files are normally named after running number in sequence. To delete them, it has to be either a “one by one” command”s” [...]

VIM shortcut key – quick save & quit

Ever wonder is there any shortcut key for save & quite? Here it is :

Linux – system & various devices status information on desktop

System Admins like to monitor stuff. CUP, memory, network interface card, hard disk & etc. It would be better if the skin can be change. Of cause, since it is going to on it on the desktop most of the time, it should be light in resources. Plug in support is a must, to extend [...]

-->
Improve the web with Nofollow Reciprocity.