By default, when you install snmpd (this was tested on Ubuntu 10.04, not sure about other Linux variants), the daemon is set to listen only on 127.0.0.1 (localhost)

If you run chech the process, you can see this:

techedemic@demo:/etc/default$ ps awux | grep snmp
snmp     32753  0.3  2.0  47916  4948 ?        S    09:29   0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1
sintrex  32757  0.0  0.3   7624   904 pts/0    S+   09:29   0:00 grep --color=auto snmp

To allow access to any machine from outside (make sure your company security policies allow for this), you need to edit the /etc/default/snmpd file as follows:

Continue reading

Knowing your BIOS information, e.g. Revision or Release Date, can be critical in troubleshooting your hardware (and even software in some cases) issues.

This begs the question, where do you find this information? Well, you could obviously just reboot your PC/Server, go into your BIOS and get the information there. Of course, not all of us have the luxury of being able to boot our PC and going into the BIOS at free will. Especially in either ‘headless’ or off-site boxes.
Continue reading

Sometimes you might have to activate some interfaces in your Ubuntu Server (or desktop for that matter) that you could use for your VMWare server, or to do a tcpdump for some promiscious traffic coming from a mirrored port…or hell’s bells, whatever…you just need it active without any IP assigned – and you need it to be up even if the box restarts.

If you want to do it, here’s how …
Continue reading

Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? For example,the less command is located under the /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories?

In this article, I will review the Linux filesystem structures and explain the meaning of individual high-level directories.
Continue reading

If you are looking for an easy way to customize a LiveCD (any linux) using Ubuntu, don’t look farther!

LCDCK (LiveCD Customization Kit) makes it easy to customize, by letting you edit the LiveCD like as if it is your own system!

LCDCK can also be used as a virtual system (like VirtualBox).

To install, simply open up a Terminal window, and type in it:

svn co https://lcdck.svn.sourceforge.net/svnroot/lcdck lcdck

To use, simply type in it:

cd lcdck/Release
./LCDCK

Thanks to @lkjoel for this tip! View the original post here