Archive for April, 2007

HowTo: Fix VMware on Ubuntu Feisty

April 22nd 2007

The upgrade from Edgy to Feisty worked pretty good for me. A few things broke though. I don’t have the shutdown/restart options anymore on the KDE menu. My VMware server stopped working for me. That one I can fix. Well this guy can. The info I’m posting here is basically straight from here:

Install VMware Server To Ubuntu Feisty

I’m just posting the no-nonsense copy-past solution. Anyway. On to the fun.

VMware doesn’t compile for Feisty. Here you can fix it

  1. cd /usr/lib/vmware/modules/source
  2. sudo tar xf vmmon.tar
  3. cd vmmon-only/include
  4. Open compat_kernel.h in a text editor as root (sudo vi compat_kernel.h for example)
  5. Find this section of code: /* * compat_exit() provides an access to the exit() function. It must * be named compat_exit(), as exit() (with different signature) is * provided by x86-64, arm and other (but not by i386). <strong>/ #define __NR_compat_exit __NR_exit static inline _syscall1(int, compat_exit, int, exit_code);
  6. Comment out the 2 lines of actually code so it looks like this: /</strong> * compat_exit() provides an access to the exit() function. It must * be named compat_exit(), as exit() (with different signature) is * provided by x86-64, arm and other (but not by i386). <strong>/ /</strong> #define __NR_compat_exit __NR_exit static inline _syscall1(int, compat_exit, int, exit_code); */
  7. Save the file
  8. cd ../../
  9. sudo tar cf vmmon.tar vmmon-only
  10. Now you can run vmware-config.pl and it should finish successfully

The link I posted above lists some changes to make to some code in vmnet.tar which I didn’t do. Honestly I don’t know if it makes any difference…my VM’s run fine doing just the vmmon hack. If you have problems, try the hack they suggest.

Happy VM’ing!

Posted by darkhelmet under Linux & Programming | No Comments »

YouTube - Frank Caliendo - Impressions

April 19th 2007

This guy is hilarious




YouTube – Frank Caliendo – Impressions

Posted by darkhelmet under Random | No Comments »

HowTo: Install latest openssh on Ubuntu

April 16th 2007

Ubuntu is pretty good about updating software, but sometimes you just want the latest. This howto will show you how to compile and install the latest openssh (4.6p1 at the time of writing) with the latest openssl library (0.9.8e at the time of writing).

First, install some important tools. I’m not sure about all the packages you need to compile this, but usually build-essential does the the trick for most things. (Run things in code blocks on the command line, in a program like konsole or terminal)

1
sudo aptitude install build-essential libpam-dev

If you get any errors at any point about command not found or anything, leave a comment and I’ll update the howto with the new information. You can try just ‘apt-get’ing the software it claims to be missing.

So anyway, let’s get started.

Make a directory to work in:

1
cd && mkdir dev && cd dev

Now let’s download the latest openssl.

1
wget -c http://www.openssl.org/source/openssl-0.9.8e.tar.gz

And while we are in a downloading mood, let’s get the latest openssh package.

1
wget -c ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-4.6p1.tar.gz

Again, these are the latest at the time of writing, so for newer release head over the the websites and go to the download section to find out what the latest is, and download that.

OpenSSL
OpenSSH

Unpack the archives:

1
for i in `ls *.gz`; do tar zxf $i; done

Now you should have to directories: openssl-0.9.8e and openssh-4.6p1

Move into the openssl directory:

1
cd openssl-0.9.8e

Configure openssl:

1
./config --prefix=/opt/openssl-0.9.8e

You can replace prefix with something else to install elsewhere or just remove the option to install the default. For this application, I like to install it in /opt to keep it seperate.

Compile openssl:

1
make

Make sure openssl compiled properly:

1
make tests

If everything compiled and tested okay, install openssl

1
sudo make install

Now you should have the directory /opt/openssl-0.9.8e with a bunch of folders and files in it. Sweet.

Lets move on and get openssh going.

The install will not overwrite existing files (like sshd_config or your host key files) if it finds them, so if you want to keep your existing configuration, leave the /etc/ssh directory alone. If you want new everything, backup the original ssh directory.

1
sudo mv /etc/ssh /etc/ssh.bak

Move into the openssh directory:

1
cd ../openssh-4.6p1

Configure openssh

1
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-ssl-dir=/opt/openssl-0.9.8e

Replace the—with-ssl-dir option with whatever you configured openssl with as the prefix (again to keep things simple, I just used /opt)

Compile openssh

1
make

And install openssh

1
sudo make install

Now you have the latest openssh installed with the latest openssl. Check if the install worked and restart the ssh server and check the running version.

1
sshd -v

Which should return some info, including OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007

Restart the server:

1
sudo /etc/init.d/ssh restart

And test it:

1
telnet localhost 22

Which should return some info, including SSH-1.99-OpenSSH_4.6

Now you have the latest and greatest openssh installed. Happy secure remote console access!

Posted by darkhelmet under Linux & Programming | No Comments »

This looks like what every program should use

April 13th 2007

I know every time a program crashes, I want Microsoft to know about it…...tools. Maybe it would be better to inform the company that made the software. This does it, and it looks to do it in a very slick fashion.

Catch all bugs with BugTrap! – The Code Project – Free Tools

Posted by darkhelmet under Programming & Windows | No Comments »

The Poop Report

April 13th 2007

Wow. I’ve never seen this page before, but it has some of the funniest shit (no pun intended) I’ve read. This is awesome.

The Intellectual Appreciation of Poop Humor | PoopReport.com

Posted by darkhelmet under Random | No Comments »

Easter

April 9th 2007

WTF is easter. This comic sums it up. This guy gets murdered and we buy chocolates and hang out with a big rabbit. sigh Holidays are going down the drain.

Cyanide and Happiness, a daily webcomic
Cyanide & Happiness @ Explosm.net

Start Slide Show with PicLens Lite PicLens

Posted by darkhelmet under Life & Random | No Comments »

« Prev - Next »

My wishlist

 Subscribe in a reader
  • Categories

  • Monthly

  • Pages

  • Blogroll

  • Last.fm

  • Einstein@home

  • Word of the Day