#Gentoo

3 posts tagged Gentoo

VMware Server and kernel 2.6.33

· errors, linux

Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:

# uname -a Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux

This is a Gentoo machine.

Error 1:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.33).  Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

This can be resolved by editing version.h (usually in /usr/src/linux/include/linux) and adding this line:

MRTG

· hardware, misc, networking, software, www

As I often have people asking for the files I use to make my pretty MRTG graphs; I’ll publish them here.

Here are some examples:

Zero - One - Four - vm1 - Sauron

The config files:

Sauron (including Squid stats),

Zero (including fan stats).

List of files included:

  • indexmaker; simple script (included with MRTG) to generate a simple index file with all the graphs
  • snmp-if.sh; will show you the IDs of the interfaces on the server/pc. These IDs have to be edited in the mrtg.cfg file; e.g.:

Target[eth0]: 2:public@localhost:

OpenVPN Linux + Mac howto

· apple, linux, networking

A short howto, as I was unable to find any clear ones on the net.

I'm using Mac OS X (Leopard) as client, and a Gentoo server as server/host.

I both tried Viscosity and Tunnelblick on my Mac as OpenVPN software, and Viscosity is probably somewhat easier to configure (using the GUI), it was shareware. So I ended up using Tunnelblick and it seems to be doing its job quite well.

First of all, make sure Gentoo is set up and working as intended. I used my home router as VPN server (having both eth0 and eth1 (= ppp0).