Home Technical Support

VMWare

/techsup/kickstart.php

Text with a white background will vary between users and systems.

Text in a Courier/Serif-type font is to be typed at a terminal/command prompt.

Text inside [square brackets] is optional to the command and can be ignored or changed.

"example.net" is a fictitious domain.



Clock issue with Redhat/CentOS/Fedora

VMWare guests can have problems with their clock running too fast or too slowly. If this is a problem then try these steps:

Disable ntpd:

chkconfig ntpd off ; /etc/init.d/ntpd stop

Add boot-time parameters:

Append clock=pit nosmp noapic nolapic to /boot/grub/grub.conf:

   title CentOS (2.6.18-53.1.14.el5)
      root (hd0,0)
      kernel /vmlinuz-2.6.18-53.1.14.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet clock=pit nosmp noapic nolapic
      initrd /initrd-2.6.18-53.1.14.el5.img

Reboot

A script to monitor clock drift:

#!/bin/bash

ntp_server="clock.redhat.com"
[ -f /var/lock/subsys/ntpd ] && /etc/init.d/ntpd stop
ntpdate $ntp_server
/sbin/hwclock

  while true
    do
      out=`ntpdate -q $ntp_server | grep ntpdate`
      time=`echo $out | awk '{print $3}'`
      skew=`echo $out | awk '{print $10}' | awk -F. '{print $1}'`
      echo "$time $skew seconds"
      echo "$time $skew seconds" >> drift.log
      sleep 60
    done


Network issue with Redhat/Fedora

Getting the network up "Error message: no link present. Check cable?":

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Append the lines:

check_link_down () {
return 1;
}

Bring the network interface up:

ifup eth0


Network issue with Debian/Ubuntu

SIOCSIFADDR errors:

vi /etc/udev/rules.d/z25_persistent-net.rules

Remove any sections that refer to the interface that doesn't work, e.g.

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:19:db:49:71:36", NAME="eth0"

Reboot


Creative Commons License
website uptime

m0j0.net ©2008

Disclaimer
The views expressed on this site are solely those of the author.
Quotations are attributed as far as possible to their authors.
The author of this site is not responsible for the content of external internet sites.