Category: Distributions

Mount Windows drive share on RHEL5

RHEL5 replaced the old smbmount command with mount.cifs so to mount a shared Windows drive do something like:

Read More »

Reinstall grub in MBR

Two approaches to this. The first is to use the grub-install utility:

The second approach is to use the grub command line: 1. Start the grub command line:

2. Determine the boot device:

You’ll get something like “(hd0,0)”. 3. Tell grub where the root is:

4. Install the MBR:

Read More »

Fix strange characters from pstree on RedHat.

By default on Redhat, the output from pstree is scrambled like this:

There are a couple of ways to clear this up so that it looks like this:

Here are two possible solutions: 1. Use “pstree -G” to force VT100 line drawing 2. Do “export LANG=’en_US’” to change the language from UTF-8 to English

Read More »

Static Routes On RedHat

Here’s the docs from redhat on how to setup static routes:

Let’s say you want to add two static routes to eth1. The first routes 10.10.10.0/255.255.255.0 to 10.10.10.1 and the second routes traffic from 10.10.11.0/255.255.255.0 to 10.10.11.1. To accomplish this create a file at:

And place the following lines in the file:

Then restart networking with:

Read More »

Fixing ethernet interface speed

On redhat, the ETHTOOL_OPTS can provide some control over interface speed. Here’s the description from documentation:

The ethtool utility provides extensive low level control over ethernet interfaces.

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.