Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Running a Headless Virtual Machine under VMPlayer
    03/12/2013 5:10PM

    If you want to run a headless VM under VMPlayer simply add the following to your vmware preferences file ($HOME/.vmware/preferences):

    pref.vmplayer.exit.vmAction = "disconnect"

    Restart VMPlayer and fire up your VM.  When you quit that VMPlayer instance it will ask you if you are sure that you want to quit and leave the virtual machine running.

    When you quit the player the VM will now be running headless.

  • Cloned VMware CentOS6 Server and "device eth0 does not seem to be present, delaying initialization" Error
    11/17/2011 3:31PM
    Recently, I cloned a vmware install of CentOS6 and after firing up the clone and trying to start networking received the error: "device eth0 does not seem to be present, delaying initialization"

    It turns out that the NIC on the cloned machine was being renamed and registered to eth1.

    To list the current ethn devices:

    # ls /sys/class/net
    eth1 lo

    There is a device manager, udev, which stores the settings from the NIC of the vm prior to the cloning process.  When you clone a vm it also changes the mac address of the NIC and as a result the vm sees it as a new NIC and assigns it to /dev/eth1.

    As a result, we now have to edit the udev config file as well as the ifcfg-eth0 file to get the newly update virtual NIC card to operate on the eth0 device.

    First, edit: /etc/udev/rules.d/70-persistent-net.rules

    # This file was automatically generated by the /lib/udev/write_net_rules
    # program, run by the persistent-net-generator.rules rules file.
    #
    # You can modify it, as long as you keep each rule on a single
    # line, and change only the value of the NAME= key.

    # PCI device 0x15ad:0x07b0 (vmxnet3) (custom name provided by external tool)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bc:00:45", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

    # PCI device 0x15ad:0x07b0 (vmxnet3)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bc:00:46", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


    Delete the first SUBSYSTEM entry in the file.

    Update the 'eth1' attribute in the remaining entry to 'eth0'

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

    . Change the HWADDR to match the new mac address listed in the newly edited 70-persistent-net.rules file.

    reboot.
  • Setting the Screen Resolution of a Linux Guest in VMWare vSphere Client
    03/03/2011 3:32PM

    I am currently working with virtual machines via Vmware vSphere on a Windows 2008 server. Initially I was unable to get the guest to render full screen and did not have all of the screen resolutions that I would have thought I should. What I was trying to do was have the guest Linux (in this case RedHat Enterprise Linux 6) run full-screen. It was not as straight forward as setting the screen resolution in the VM guest settings dialog.

    After much trial and error the way to do it is to crank up the amount of ram allocated for the virtual video card. The guest will then have enough resources to render at full screen and you will have a wide array of screen resolution choices.

  • A Library of Pre-Configured, Linux, VMWare Guests
    04/21/2010 9:21PM

    A collegue pointed me to ThoughtPolice.co.uk:? a website with an entire library of VMWare images of various Linux distros.

    Want to play around with some different distros of Linux, here's a great way to try out a wide selection really quickly (as long as you have a lot of bandwidth).

  • VMWare: Fix for arrow and delete keys not working
    02/25/2009 9:33AM
    Under VMWare Workstation 6.5 I noticed that the arrow keys no longer worked.  After a bit of searching around I found the following: Edit your "/etc/vmware/config" file and add:


    xkeymap.keycode.108 = 0x138 # Alt_R

    xkeymap.keycode.106 = 0x135 # KP_Divide

    xkeymap.keycode.104 = 0x11c # KP_Enter

    xkeymap.keycode.111 = 0x148 # Up

    xkeymap.keycode.116 = 0x150 # Down

    xkeymap.keycode.113 = 0x14b # Left

    xkeymap.keycode.114 = 0x14d # Right

    xkeymap.keycode.105 = 0x11d # Control_R

    xkeymap.keycode.118 = 0x152 # Insert

    xkeymap.keycode.119 = 0x153 # Delete

    xkeymap.keycode.110 = 0x147 # Home

    xkeymap.keycode.115 = 0x14f # End

    xkeymap.keycode.112 = 0x149 # Prior

    xkeymap.keycode.117 = 0x151 # Next

    xkeymap.keycode.78 = 0x46 # Scroll_Lock

    xkeymap.keycode.127 = 0x100 # Pause

    xkeymap.keycode.133 = 0x15b # Meta_L

    xkeymap.keycode.134 = 0x15c # Meta_R

    xkeymap.keycode.135 = 0x15d # Menu
Advanced Search

Categories

Archives