VMware errors – FC6 and/or 2.6.19 Kernel

Posted on February 21st, 2007 by rob.
Categories: Fedora, Linux.

If you are using 2.6.19 kernel, then you will notice some errors with the vmware-config.pl script. If… actually, you better be using the 2.6.19 kernel now, or whatever the latest release is as of now

Error runninging vmware-config.pl :
/tmp/vmware-config2/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config2/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6′
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmnet-only’
Unable to build the vmnet module.

It seems CHECKSUM_HW has been remove from 2.6.19 and replaced with CHECKSUM_PARTIAL. You can either replace any CHECKSUM_HW lines with CHECKSUM_PARTION, or you can use the patch that Robin Kearney (usefulthings.org.uk) has writtenHow to use the Patch:

FIX – As root:

  • cd /tmp
  • wget http://usefulthings.org.uk/wp-content/uploads/vmnet-only-2.6.19.patch
  • cd /usr/lib/vmware/modules/source/
  • cp vmnet.tar vmnet.tar.orig
  • tar xf vmnet.tar
  • patch -p0 < /tmp/vmnet-only-2.6.19.patch
  • tar cf vmnet.tar vmnet-only
  • vmware-config.pl (if OS is FC6, this will probably fail again)

Fedora Core 6 will most likely have another error we need to fix:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmnet-only’
make -C /lib/modules/2.6.19-1.2911.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686′
CC [M] /tmp/vmware-config1/vmnet-only/driver.o
CC [M] /tmp/vmware-config1/vmnet-only/hub.o
CC [M] /tmp/vmware-config1/vmnet-only/userif.o
CC [M] /tmp/vmware-config1/vmnet-only/netif.o
CC [M] /tmp/vmware-config1/vmnet-only/bridge.o
CC [M] /tmp/vmware-config1/vmnet-only/procfs.o
/tmp/vmware-config1/vmnet-only/procfs.c:33:26: error: linux/config.h: No such file or directory
make[2]: *** [/tmp/vmware-config1/vmnet-only/procfs.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686′
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmnet-only’
Unable to build the vmnet module.

FIX – as root:

  • cd /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/linux (or whatever kernel version you are using)
  • touch config.h
  • vmware-config.pl (should actually complete this time)

1 comment.

Secure FTP (ProFTPD with TLS)

Posted on September 1st, 2006 by rob.
Categories: Fedora, Linux.

I always wondered how hard it might be to get ftp running with encryption (preferably proFTPd since that has always been my choice ftp server).

I did realize how easy it was. Of course again this documentation really only refers to Fedora Core 5. I am sure you can take this info and put it towards any other linux os.

proFTPd+TLS extremely mini howto

  1. edit /etc/proftpd.conf
    ## Add the Following lines.. or uncomment them# TLS
    # Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
    TLSEngine on
    TLSRequired on
    TLSRSACertificateFile /etc/pki/tls/certs/proftpd.pem
    TLSRSACertificateKeyFile /etc/pki/tls/certs/proftpd-key.pem
    TLSCipherSuite \ ALL:!ADH:!DES
    TLSOptions NoCertRequest
    TLSVerifyClient off
    TLSLog /var/log/proftpd/tls.log
  2. Create the proftp.pem and proftpd-key.pem files
    ## Run this command as root
    openssl req -new -x509 -days 365 -nodes -out /etc/pki/tls/certs/proftpd.pem -keyout /etc/pki/tls/certs/proftpd-key.pem
  3. Start the proFTPd service
    ## Run the command as root
    service restart proftpd

Continue below if your FTP server is behind a firewall or is part of a NAT

  1. Allow passive ftp to work… need to specify what passive ports to use
    edit /etc/proftpd.conf
    ## Add the line below
    PassivePorts 60000 60500
  2. Add the Passive ports through your firewall
    edit /etc/sysconfig/iptables
    ## Add the line below (may need some changing to fit the format)
    -A RH-Firewall-1-INPUT -p tcp -m tcp –dport 60000:60050 -j ACCEPT

0 comments.

SuperKaramba

Posted on August 14th, 2006 by rob.
Categories: Fedora, KDE, Linux.

SuperKaramba Window

SuperKaramba is a tool that allows the end user easily install or create interactive eye-candy on a KDE desktop. It’s even popular and stable enough to be put into KDE 3.5.
What SuperKaramba can do for you!

  • Control/View XMMS or Amarok
  • System Monitor (CPU, Network, Heat)
  • Monitor Email, News, RSS feed
  • Animated Menu Bars
  • Weather Information
  • Toolbars

There are hundreds of different widgets to choose from and many new ones are added often. I currently use 3 plugins, but it’s hard not to clutter up the desktop with many more. You can find all the widgets at KDE-LOOK.org

    1. Tight-n-Burn
    2. LiquidAmarok
    3. Liquid Weather
SuperKaramba Desktop

Hans Karlsson created Karamba as a school project in March 2003. The application was uploaded to kde-look where it became very popular. The project required quite a bit of attention thereafter so Hans handed the project over to the opensource community. Adam Geitgey took ownership of the project, which is how the name SuperKaramba came about. Adam had worked on the project until April 2005 adding new features and patches from other developer. Now, with SuperKaramba in the hands of a group developers, it has been included in a KDE 3.5.

0 comments.