Linux

Change ethernet settings using ethtool

Force network speed on a network card to 100 MBit Full Duplex and in the same time disable auto negotiation # ethtool -s eth0 speed 100 duplex full autoneg off These settings are active until you reboot the machine or restart the network. In order to keep this change on each system reboot, append the […]

Read More
Misc

Replace RPMforge packages with Redhats own on a RHEL5 system

This post came to life after experiencing some upgrade problems with missing dependencies and RPM packages from RPMforge and Redhat Enterprise Linux Client release 5. The prosess to remove or replace the packages was to remove RPMforge as a package repository and replace the blocking packages with Redhats own packages. The process of replacing RPMforge […]

Read More
Linux

Force a user to change password upon first login

This is how you can force a Redhat user to change his password upon first login on a Redhat 5 installation. This might work on other versions and distributions… First lock the account to prevent the user from logging in until the change has been made # usermod -L <username> Change the password expiration date […]

Read More
Linux

Redhat documentation in one place

http://www.redhat.com/docs/manuals/enterprise/ is a documentation page I always return to when I manage Redhat Enterprise Linux systems. Redhat has put a lot of effort in their documentation and even allow you to download them as PDF documents. The documentation below is for RHEL5.2 Deployment Guide May 21, 2008 PDF Installation Guide May 21, 2008 PDF Virtualization […]

Read More
Network

Disable IPv6 on Redhat RHEL4

First you remove this line from /etc/modprobe.conf if this line exists. alias net-pf-10 ipv6 Add the following line to /etc/modprobe.conf alias net-pf-10 off Reboot the system. IPv6 is now disabled. To re-enable IPv6, remove the alias net-pf-10 off line from /etc/modprobe.conf and reboot the machine. I’ve also made a post about how to disable IPv6 […]

Read More