Archive

Archive for the ‘ubuntu’ Category

Adding a non-detected modeline in ubuntu as default

December 16, 2010 Leave a comment

I adapted the procedure I found here to make my old Samsung Syncmaster 192N work at its native resolution. It is running through an old projector on the ceiling, which I’m sure is what is breaking the autodetection.

cvt 1280 1024 75

That returned: # 1280×1024 74.90 Hz (CVT 1.31M4) hsync: 80.30 kHz; pclk: 138.75 MHz
Modeline “1280x1024_75.00”  138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync

Added these lines to /etc/gdm/Init/Default:

xrandr –newmode “1280x1024_75.00”  138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync

xrandr –addmode VGA-0 1280x1024_75.00

xrandr –output VGA-0 –mode 1280x1024_75.00

Now it starts out at the correct resolution at startup, regardless of the state of the projector.

Advertisements
Categories: DIY, linux, ubuntu

Install ESXi VMWare tools on Ubuntu Server Edition

November 18, 2010 Leave a comment
  1. sudo su
  2. apt-get update
  3. apt-get upgrade
  4. apt-get install build-essential binutils linux-headers-`uname -r`
  5. mount /dev/scd0 /cdrom
  6. cp -a /cdrom/VMwareTools* /tmp/
  7. cd /tmp/
  8. tar -vxzf VMwareTools*.gz
  9. cd vmware-tools-distrib/
  10. ./vmware-install.pl

All the defaults are fine.

Categories: linux, ubuntu, VMWare

Vmware: “SIOCSIFADDR: No such device eth0″ after cloning

June 20, 2010 Leave a comment

from: http://muffinresearch.co.uk/archives/2008/07/13/vmware-siocsifaddr-no-such-device-eth0-after-cloning/

This is specifically for ubuntu.

sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old
sudo reboot

May need to edit /etc/network/interfaces eth0 or eth1 to match detected adapter, restart the network, and it should be back to normal.

Categories: linux, ubuntu, VMWare

Ubuntu Server 8.04.3 – freenx setup

November 17, 2009 Leave a comment

Sorry for the brevity – it was quickly written to fill a need. I will try and flesh it out later. This is a minimal ubuntu server setup with just enough gui to function with nx client. We use these for remote access terminals on low powered equipment.

Install ubuntu server 8.04.3 from CD

only select openssh-server, use all other defaults

login and note ip address

ifconfig

change ssh port to non-standard port e.g. 8888

sudo nano /etc/ssh/sshd_config

change port 22 to port 8888, save and exit.

sudo reboot

From remote machine login with ssh

ssh <user>@<ip addr> -p 8888

sudo su

apt-get update

apt-get upgrade -y

–let it work for a while

reboot

log back in after a few minutes

sudo nano /etc/apt/sources.list

add this at the bottom:

deb http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main

deb-src http://ppa.launchpad.net/freenx-team/ppa/ubuntu hardy main

save and update key, then reload repositories:

sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2a8e3034d018a4ce

sudo apt-get update

Now actually install freenx:

sudo aptitude install freenx

wait 5-10 minutes for it to finish

sudo /usr/lib/nx/nxsetup –install

You should be ready to connect with NX Client from nomachine

optionally Install a few items you may need later:

sudo apt-get install gnome-terminal firefox tsclient libstdc++5

Categories: linux, networking, Software, ubuntu

Active Directory integration in Linux and OSX

August 26, 2009 Leave a comment

Likewise has a really impressive free product that lets Linux and OSX users integrate into an Active Directory environment very easily. In fact with linux I think it’s easier than with Windows!

In ubuntu you can install the likewise-open-gui package. For OSX you can download the installer package from the likewise.com website and follow the 10 minute setup guide.

Categories: DIY, linux, networking, OSX, Software, ubuntu

VMWare ESXi working on a Dell Optiplex GX280

April 13, 2009 1 comment

It is pretty easy to get VMWare ESX installable working on a GX280. Boot from a CD burned from the ISO, and hit tab at the first prompt.

Add  nocheckCPUIDlimit  as a boot option. Here is the whole string:

mboot.c32 vmkernel.gz nocheckCPUIDlimit — binmod.tgz — ienviron.tgz — cim.tgz — oem.tgz — license.tgz — install.tgz

Proceed with the install.

When the system reboots, you will get an error message about the CPUID. The boot option needs to be changed again on the installed system.

Boot from a linux livecd (I used Ubuntu 8.04 desktop), and navigate to the “HYPERVISOR1” partition. Edit boot.txt

Add the boot option there are well:

kernelopt=nocheckCPUIDlimit

Reboot and it should start right up.

Then connect to the server with VMWare Infrastructure Client

Click on the server name, then the Configuration tab, and advanced settings.

Click on VMKernel and uncheck the VMKernel.Boot.checkCPUIDlimt checkbox, and hit OK.

Now you can reboot it in the future without problems.

Categories: linux, ubuntu, VMWare

adding bluetooth mouse to ubuntu

March 7, 2009 Leave a comment

As of ubuntu 8.04, the gnome bluetooth utility does not work by itself to enable a bluetooth mouse.

Here are the steps I had to go through to get my razer pro|click mobile working with my eee pc running eee ubuntu 8.04:
push the button on the bottom of the mouse

sudo hidd –search
Copy the mac address
sudo nano /etc/bluetooth/hcid.conf

add this at the bottom, replacing MOUSE_ADDR with device mac address:

device MOUSE_ADDR {
name “Bluetooth Mouse”;
}

save and exit file

/etc/init.d/bluetooth restart

sudo hidd –search

Categories: eee pc, linux, ubuntu