Archive for the 'Linux Support' Category

How can I get access to a Windows file system

By default, Linux supports direct read/write access to FAT16 and FAT32 file system that Microsoft Windows uses, but not to an NTFS file system.

To access an NTFS file system on Linux.

Install a third party software named kernel-module-ntfs. We can get the rpm package from
http://sourceforge.net/projects/linux-ntfs/files

The kernel-ntfs kernel module will be load automatically by default when server reboot next time. Then you can mount your ntfs file system manually. We can load the kernel module by modprobe and use lsmod to confirm it’s installed

modprobe kernel-ntfs
lsmod | grep ntfs

Install a third party software named ntfs-3g and fuse.

Please access http://www.tuxera.com/community/ntfs-3g-download/ to get ntfs-3g and fuse.

NTFS-3G is a stable, read/write NTFS driver for Linux, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems.

After successfully install, you can run command such as:

mount -t ntfs-3g /dev/sda2 /mnt
SBDavid

The /etc/modules.conf file

The /etc/modules.conf file

modules.conf - configuration file for loading kernel modules

The configuration file consists of a set of lines.
All empty lines, and all text on a line after a ‘#’, will be ignored.
Lines may be continued by ending the line with a ‘\’.

Example:

alias eth0 e1000

Driver for the Intel/Pro 1000 Network card which uses the e1000 driver.

The /etc/modules.conf file should only be modified if the system requires a driver that will be loaded during the boot sequence. The behavior of modprobe(8) (and depmod(8) ) can be modified by the (optional) configuration file /etc/modules.conf.

Checking your outgoing mail server (Is Port 25 blocked?)

Many email clients and services use port 25 for SMTP to send out emails. However an ISP (Internet Service Provider) may block port 25 in order to prevent spamming by its customers. Here is how you can check to see if port 25 is blocked on your network.

1. Type the following command:

telnet serverbuddies.com 25

2. View Results:
If port 25 is not blocked you will get a successful 220 response (text may vary).

telnet serverbuddies.com 25
Trying 67.228.43.85…
Connected to serverbuddies.com.
Escape character is ‘^]’.
220-box.serverbuddies.com ESMTP Exim 4.69 #1 Mon, 07 Jun 2010 02:23:15 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

If port 25 is blocked you will get a connection error or no response at all.

Trying 67.228.43.85…
telnet: connect to address 67.228.43.85: Connection refused
telnet: Unable to connect to remote host

How do I apply package updates from the Red Hat Network?

Systems must be registered before updates from RHN can be applied. This can be done by using the “Software Updater” application from the “System Tools” menu, or via the command line by using the “rhn_register” command.

To access updates from RHN when using Red Hat Enterprise Linux 5, launch the graphical update tool through Applications -> System Tools -> Software Updater, or from the command line via the following command:

# pup

For a command line interface, use the following command to update the operating system:

# yum update

To install a specific package, such as elinks, use the following command:

# yum install elinks

To update a specific package, such as httpd, use the following command:

# yum update httpd
SBDavid

Some common Linux kernel processes

Some common Linux kernel processes

kjournald Commits ext3 journal updates to disk
kswapd Swaps processes when physical memory is low
kreclaimd Reclaims memory pages that haven’t been used recently
ksoftirqd Handles multiple layers of soft interrupts
khubd Configures USB devices

There is one kjournald for each mounted ext3 filesystem.

Among these processes, only init is really a full-fledged user process. The others are actually portions of the kernel that have been dressed up to look like processes for scheduling or architectural reasons.

« Prev - Next »