Ubuntu (and Linux in general) proving its worth

Yesterday I updated my kernel on my laptop after a record uptime (for me on my laptop anyways ;)):

16:26:58 up 42 days,  7:21,  3 users,  load average: 1.12, 1.46, 1.04

42 days without an update to the kernel in Ubuntu… I dunno if thats good or bad. But one thing that is really cool is that in all this time I used my suspend to ram function, and the laptop haven’t died on me once. It occasionally did in all the previous versions of Ubuntu. So I just wanna send a kudos to the developers.

Whenever the update manager notifies me about upgrades I usually just install it, though with a kernel update I try to push it to avoid rebooting. But this time I was excited because I noticed that the kernel apparently had a fix for the bug reading large SD cards I mentioned in an earlier post.

I can confirm that this is now fixed… YAY!

Anyways… im now gonna put an encrypted file system on the SD card for my gpg key, ssh key, VPN keys etc. I hope I can give it another label as well.

Howto enable Unix Attributes in Windows 2003 R2

With the latest version of Windows Server 2003 R2 it is no longer needed to install Windows Services for UNIX, since this is now a part of Windows Server 2003, though not enabled by default.

To enable it open Control Panel -> Add or Remove Programs. Now click on Add/Remove Windows Components. Double click on Active Directory Services and select Identity Management for Unix.

After this… surprise… you have to restart the Windows Server :-D

Now you should be able to see the “Unix Attributes”-tab when looking on properties for a user.

Free VMware server on SLES10 minimum install

First install a minimum SLES10 (only using selectiong Server Base).

I have a few issues with the minimum install thing in SLES10 (I had kind of the same feeling with SLES9):

  1. Why do I have to use CD2 to install a 76 kilobyte Zenwork Managemnet Daemon. Why not put it on CD1? It seems really lame that you cannot make a minimum install with CD1.
  2. No I really don’t want the Network Mmanager to manage my ethernet interface on my server… I want to give it a static ip. Ahhh I can disabled it. But why do SLES10 still want to install the network-manager package?… and worse all its dependencies is the reason why I choose the minimum install in the first place. Luckily after the install you can choose to use the old way of configuring network from within YAST.

Besides from that SLES10 have so far made a good impression on me.

I usually turn off the services slpd and portmap.

Preparing server for VMware

Extra packages needed:

xorg-x11-libs
gcc
kernel-source

Now install the the free VMware Server from www.vmware.com:

Large SD card hangs Ubuntu Edgy

Damn… never brag about uptime :-(

Today I received a 2GB SD card which I’m going to use to store ssh and gpg keys on. Of cause I’m going to encrypt it like I wrote about some days ago. When I inserted the SD card into my laptop everything just froze… it guess I’m hit by bug #61758. Ubuntu Edgy uses kernel 2.6.17 which seems to be affected by this bug. It should be fixed in 2.6.18 though.

I’ll try to patch my kernel module… god I hoped those days where over. Exciting to see if I can even remember how to do it. I hope this gets fixed soon, life is to short to compile kernel modules. My laptop should just work.

Solution to vmnet1 down after suspend

I rarely shut down my laptop, but I use suspend all the time. Right now I have like 14 days of “uptime” which would have been a lot more if it wasn’t because I just installed Edgy :) I have VMware Server installed on it which I use for my work. I have all the machines on a host only network which works just great. But every time I suspend my laptop the virtually device vmnet1 seems to “go down” and I have to make a:

sudo ip link set vmnet1 up

to be able to connect from my laptop to the VMware machines again.

Now I created a file at the following location:

/etc/acpi/resume.d/89-enable-vmware-host-only-net.sh

With the following content:

#!/bin/sh

ip link set vmnet1 up

Now I don’t have do it manually any more, horay :-D