Linux

How to install VMware on Ubuntu Gutsy Gibbon

This is my first task. I would like to run VMware under Ubuntu Gutsy Gibbon. Unfortunately, it seems like VMware doesn't support the latest kernel, 2.6.22-9, yet. As a result, I got below error messages.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.22-9-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-9-386'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
/tmp/vmware-config0/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config0/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’
make[2]: *** [/tmp/vmware-config0/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-9-386'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
Unable to build the vmnet module.

Upgrading Ubuntu Feisty Fawn to Gutsy Gibbon

Yesterday, I upgraded my laptop which formerly was Ubuntu Feisty Fawn to Gutsy Gibbon Alpha release. Yes, it is still an alpha release and actually I just upgraded to the most up-to-date version. In other words, I didn't upgrading through CD image, instead, I downloaded all fresh packages from public archive site.

How to solve "sudo: timestamp too far in the future"

sudo is a must to have in all Unix host to prevent wide-spread of root account. It also has built-in security checking by time. However, sometimes this feature might annoy sudo to stop working after adjusting date/time back from the future.

sudo: timestamp too far in the future: Aug  9 18:31:44 2007

To solve this problem, I have a clue.

How to configure PAM authentication in Squid

Sometimes you may want to classify web traffic per user, not IP-based classification, in Squid. Squid supports this mechanism via external authentication plugin. The most common one is NCSA authentication but a flexible one is PAM since it is possible to use LDAP backend as well as unsecured passwd and shadow.

How to filter HTTP traffic using SquidGuard in Ubuntu

Most offices have internet access especially for managers and employees to read and compose e-mails with customers. Anyway, everything has their bad side so most employees will try to access other things consuming more traffics, e.g., music videos, video streaming, songs and many more. As a result, e-mail applications may slow down. Since most of them will also have proxy to save valuable bandwidth and a popular one is Squid, [SquidGuard][] is able to help controlling internet usage for unimportant purposes.

How to play RMVB using Mplayer

Even though Mplayer is able to play RMVB by binary codec, sometimes it may not work as expect due to something weird as follow.

mplayer: symbol lookup error: /share/apps/codecs/drvc.so: undefined symbol: pthread_mutexattr_init

Fortunately, it has a workaround for this issue.