≡ Menu


FAQ Updates – May/27/2011

Our FAQ section is updated in last few days with new howtos:

  1. Linux Find Out CPU Architecture Information
  2. Gnome Network Manager VPN Tab Disabled ( Greyed out )
  3. Gnome Volume Control: Disabled Sound Themes
  4. Debian Linux (Squeeze) Install Firefox 4
  5. UNIX: Find Out the Server Model
  6. Linux / UNIX: Run Command a Number of Times In a Row
  7. Linux: TMOUT To Automatically Log Users Out
  8. RHEL 6: Change OpenSSH Port To 1255 ( SELinux Config )
  9. RHEL 6: semanage SELinux Command Not Found
  10. HowTo: UNIX Set Date and Time Command

FAQ & Howtos RSS Feed

Get intimated about our new howtos / faqs as soon as it is released via RSS feed.

nixCraft is on Facebook!

Not our Fan yet? We suggest you become one right away! Just visit our Facebook Page. Click on the "like" button.

Linux List The Open Ports And The Process That Owns Them

So how do you list the network open ports on your Linux server and the process that owns them? The answer is simple. Use the following command (must be run as the root user):

sudo lsof -i
sudo netstat -lptu
sudo netstat -tulpn

Sample outputs (see video demo):

Hacking Linksys router: WRT54GL DIY Internal POE

This is an interesting idea. This small howto will teach you to wire up a Power Over Ethernet (POE) cable AND make it provide power INTERNALLY i.e. no external power connector going into the router. So if you have limited space in your outdoor AP enclosure, you can use this hack. You can also apply this hack to other linksys products.

Slackware 12 Review Notes and Howtos

Here is an interesting Slackware review and some helpful hints about the newly released Slackware Linux version 12:

I'm big fan of Slackware Linux, I have used it since the 9.0 version, and I am very happy with this distribution, in the beginning was challenging to setup mostly because I was a newbie, today I am installing and reviewing the recently released version 12

On a related note use SlackBook project book to get you started with the Slackware Linux operating system.

Slackware 12 Review

Linux device driver tutorial using kernel driver frameworks

A device driver is computer program allowing other computer programs to interact with a computer hardware device. Writing a Linux device driver is considered as a black art by many. If you ever been tempted to try writing a device driver, this howto will serve as a kick start guide:

For many seasoned Linux developers, device drivers still remain a bit of a mysterious black art practiced by a select few. While no single article could possibly attempt to covered everything there is to know about writing drivers, Valerie Henson gives us a brief taste of what's involved, by implementing a device to return "Hello World" using all the major driver frameworks.

On a related note if you just want get a comprehensive overview of kernel configuration and building, a critical task for Linux users and administrators, try Linux Kernel in a Nutshell

/dev/hello_world: A Simple Introduction to Device Drivers under Linux (linuxdevcenter.com)

HowTo: Flashing Your System BIOS Under Linux

The BIOS is Basic Input/Output System used by a computer, which embedded on a chip on a computer's motherboard. It is used to controls various devices connected to your computer. When you turn on the computer, the BIOS starts up and perform a Power-On Self Test (POST). The BIOS will check all devices connected to your computer such as the CPU, RAM, the video card, the sound card and so on. Once the post test has completed, the BIOS will looks for Linux operating systems on the hard drive. At this point, the Linux takes over control of your computer and finishes starting up system in GUI or text based mode.
[click to continue…]

Iptables Restricting Access By Time Of The Day

Recently I was asked to control access to couple of services based upon day and time. For example ftp server should be only available from Monday to Friday between 9 AM to 6 PM only. It is true that many services and daemons have in built facility for day and time based access control. [click to continue…]