Shuttle wireless not working with WPA in Ubuntu Edgy

Today I used my Ubuntu Linux workstation at home for several hours. I usually only use it for playing World of Warcraft (which until now have been on Windows). When even I need to do some Linux stuff I usually just fire up my trusty IBM x40 laptop, which only takes a few seconds since I always suspend to RAM.

Well while I was playing around with some different things (including getting “World of Warcraft - The Burning Crusade” to run with wine), I got the crazy idea to try use the wireless net instead of the wired. My workstation is a Shuttle and I bought the “special” Shuttle wireless (USB) card, which doesn’t take up the precious single free PCI slot.

The module the card is using is:

zd1211rw

When set up from the commandline WPA is working just nicely… but together with Network Manager I can only connect to WEP encryptet networks… this is a know bug :(

VMware guest install from CD-ROM hangs

Today I wanted to install Suse Linux Enterprise Server 10 (SLES10) from my USB DVD drive on my VMware Server (the free edition). I went though the wizard and powered on the machine but when the SUSE installer started to read the initial ramdisk it never got any further.

Troubleshooting VMware issues… First I seached Google but didn’t really found anything usefull. My problem was to generic. Then I found that each VMware machine has its own log file at the same location as the vmx files etc. I found that when the machine stopped responding the log file would say something like this:

Jan 19 12:04:22: vcpu-0| VIDE: (0x170) Rep INSW ATAPI Unknown Cmd 0x52 Data len 8
Jan 19 12:04:22: vcpu-0| VIDE: (0x170) Rep INSW ATAPI Unknown Cmd 0x52 Data len 28
Jan 19 12:04:22: vmx| CDROM_SG: AIOCallbackSGIO: Unexpected errno: Input/output error (5)
Jan 19 12:04:22: vmx| VIDE: ATAPI DMA 0x28 Failed: key 0x2, asc 0x0, ascq 0x0

Okay now this seems to be a CD/DVD drive problem. I found another working version of SLES 10 on VMware and compared the 2 vmx files.

diff working.vmx not_working.vmx
...
11,12c10,11
< ide1:0.fileName = "/dev/cdrom"
 ide1:0.fileName = "/dev/scd0"
> ide1:0.deviceType = "cdrom-raw"

Now shut down the virtual machine and edited the vmx fil to use atapi-cdrom and now I was able to install.

A thing I dont like about Suse Linux Enterprise Server 10

When I install a server I usually make a minimal install and put on the software which is needed for the task the machine is to perform. Less packages which needs security updates the better IMO. Today I was setting up a heartbeat cluster on a SLES10. When the heartbeat package is installed the system also installs shaitloads of other packages like gtk pango and some X-libs… and I simply dont get why?!?

It feels so Windows like…. eeeeekkk.

Sorry just had to get it out.

Merry Christmas

This have been an awesome Christmas. I didn’t really realize that Christmas was upon us until December the 22. when my and my girlfriend headed for Jutland to spend Christmas with my side of the family. Work have been stressing in December, so when I got home I didn’t have the energy to think of Christmas. Anyways…now it is over :)

My girlfriend gave me one of the best gifts ever: Nintendo Wii

And my little sister and her boyfriend gave me: Rayman Raving Rabbits

Just wanted to wish my readers a merry Christmas. MERRY CHRISTMAS GUYS.

HOWTO install smbldap-tools on SLES10

You can download smbldap-tools from their homepagedon’t!

If have searched yast for smbldap-tools, you will probably (like me) have found nothing. I tried to install the platform independent RPM package. Only to find that I was missing:

perl(Unicode::MapUTF8) is needed by smbldap-tools

Well there is not specific package for smbldap-tools for SLES 10… but I found that the perl scrips is included in the samba-doc package. After you have installed the samba-doc package, you will be able to find somewhere like this:

/usr/share/doc/packages/samba/examples/LDAP/smbldap-tools-0.9.1

The version might vary when new service packs arrive.

Now copy the the following files to /usr/local/sbin/:

smbldap-groupadd
smbldap-groupmod
smbldap-passwd
smbldap-tools.spec
smbldap-userdel
smbldap-usermod
smbldap_tools.pm
smbldap-groupdel
smbldap-groupshow
smbldap-populate
smbldap-useradd
smbldap-userinfo
smbldap-usershow

And copy the following configuration files to /etc/smbldap-tools:

smbldap.conf
smbldap_bind.conf

From here you are on your own :)