
WordPress plugin wp-cache is a plugin that caches the WordPress post the first time when someone visits it then it uses the cache next time when the same post needs to load again. This saves processing power and also improves user experience as WordPress posts are loaded faster.
For some reason, wp-cache stop working. The “Cache contents” in WP-Cache Manager (accessible from Settings –> WP-Cache) shows both “cached pages” and “expired pages” are “0″ (zero) all the time.
The fix is :
Read More »

Much great have been said on FreeBSD;
- the license has all the freedom you need
- server apps setup are mostly manual. no wizard of oz, no gui. Which makes the administrator have control over everything.
- it boots faster
- its stability is like rock, hard to crash
- default installation are lean and mean. Is meant to be built from scratch. Ain’t no rubbish you want on the system to trade for vulnerabilities.
Even though some of the above might scare off a normal user, no doubt it is still a great OS that no others can beat. Don’t believe me? Try it yourself with the below few pictures (to guide) :
Read More »

PPTP VPN uses protocol GRE on two way, both inbound and outbound. Setting up the firewall to allow PPTP VPN dialup client (e.g. Ubuntu’s NetworkManager) to use protocol GRE is just a few steps in adding rules and interfaces. This post is based on the previous post “How to set up Shorewall firewall (alternate to FireStarter)“, which is a quick tutorial on setting up Shorewall firewall on a single network interface. Here it is :
Read More »

There are a few option of firewall interface available on Linux for iptables, both GUI (Graphical User Interface) and CLI (Command Line Interface). FireStarter user interface on GUI is easy to use and configure. The only problem is it does not work properly with PPTP VPN dialup, it blocks protocol GRE. It does provide a workaround (dont ask, it is too painful to remember) but the steps are too tedious and involve the mixture of setup in command line and GUI, and this kind of setup always spells trouble.
Shorewall (www.shorewall.net) is another firewall interface that operate on CLI. This is taken from the Shorewall’s introduction :
“The Shoreline Firewall, more commonly known as “Shorewall”, is high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables, iptables-restore, ip and tc utilities, Shorewall configures Netfilter and the Linux networking subsystem to match your requirements. Shorewall can be used on a dedicated firewall system, a multi-function gateway/router/server or on a standalone GNU/Linux system. Shorewall does not use Netfilter’s ipchains compatibility mode and can thus take advantage of Netfilter’s connection state tracking capabilities.”
Shorewall’s way of configuring iptables firewall made easy by just describing the rules and interfaces into a few files and the firewall is ready to go. Shorewall’s website also provides extensive documentation on how it works and how to setup.
This post’s intended to setup Shorewall in a few simple steps and thus, it is not really suitable to implement it on medium to large enterprise. Here it is :
Read More »

Halfway through installing KDE4 or any ports that is related to Xine, ended fail with the below error message :
===> Found saved configuration for libxine-1.1.16.3_1
=> xine-lib-1.1.16.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://superb-east.dl.sourceforge.net/sourceforge/xine/.
xine-lib-1.1.16.3.tar.bz2 100% of 7293 kB 232 kBps 00m00s
===> Extracting for libxine-1.1.16.3_1
=> MD5 Checksum OK for xine-lib-1.1.16.3.tar.bz2.
=> SHA256 Checksum OK for xine-lib-1.1.16.3.tar.bz2.
===> libxine-1.1.16.3_1 depends on file: /usr/local/bin/perl5.8.9 - found
===> Patching for libxine-1.1.16.3_1
===> libxine-1.1.16.3_1 depends on file: /usr/local/bin/perl5.8.9 - found
===> Applying FreeBSD patches for libxine-1.1.16.3_1
1 out of 1 hunks failed--saving rejects to src/combined/ffmpeg/Makefile.in.rej
=> Patch patch-src_combined_ffmpeg_Makefile.in failed to apply cleanly.
=> Patch(es) patch-config.rpath patch-configure patch-misc_Makefile.in patch-misc_libxine.pc.in patch-src:libffmpeg:libavcodec:h263.c patch-src:libffmpeg:libavcodec:mpeg12.c patch-src:libffmpeg:libavcodec:msmpeg4.c patch-src:xine-engine:xine_internal.h patch-src_audio_out_audio_oss_out.c applied cleanly.
*** Error code 1
Stop in /usr/ports/multimedia/libxine.
*** Error code 1
It seems that the patching for ffmpeg in libxine fail for some reason. Checking out the freebsd.org bugs database, it is due to ffmpeg in libxine does not need that patch. The solution to it is :
Read More »

After manually editing /etc/network/interfaces for dynamically assigned IP or static IP, Network Manager (the icon sits on the upper panel with 2 monitor) stops working. Specifically it stop managing interface, but manually assigning IP through “ifconfig” or editing config files (/etc/network/interfaces) still works. Another reason NetworkManager stop working is after applying some updates between Intrepid (8.10) to Jaunty (9.04) it just stop working. Here is the solution :
Read More »

This post is part of the “How to install FreeBSD as your Desktop” series and it shows how to install flash plugin onto FireFox internet browser in FreeBSD. Here it is :
Read More »

UPDATE : After testing PC-BSD for a while (more then 6 months), PC-BSD indeed is a FreeBSD variant that is superior in Desktop environment. Its user friendly installation and configuration have make FreeBSD so much more suitable running as an Desktop. Unless you’re interested in figuring out how to tweak and turn FreeBSD to work in a Desktop, give PC-BSD a try, you’ll love it!
Check it out at PC-BSD website !!!
PsyberMonkey is turning his desktop to FreeBSD and this is the work he has done :-
1. FreeBSD quick install guide (aka How to install FreeBSD).
2. make sure hardware are detected properly
- How to install or add sound card driver module
- wireless (how to still in progress)
- ACPI (still having trouble making it work)
- remote control through SSH (how to still in progress)
- all others e.g. external drive formatted in FAT32, display card, track pad, external mouse, gigabit network card & etc are detected and function properly.
3. Using ports to install software – go to Section III.
4. Getting KDE, GNOME and XFCE up and running (how to still in progress)
Other miscellaneous stuff :
This post will be updated periodically to reflect the progress of using FreeBSD as a Desktop.
Adios !!!

A reminder to myself on how to disable the keyboard beep sound (serve as an alert) when ever an error occured in the console command line. It is control by a sysctl value. To stop it now on all console, execute :
sysctl hw.syscons.bell=0
To make it permanent, such as every time FreeBSD boots, disable the beep sound :
echo "hw.syscons.bell=0" >> /etc/sysctl.conf
Alternately, to disable only this console :
kbdcontrol -b off
Vaarwel !!!

FreeBSD is getting more and more attention due to its stability and (well done) documentation. Geeks and nerds are getting their hands into installing FreeBSD onto their Desktop or Laptop. Some might ask “Eh ??? Why ain’t ya mentioning the servers? Is BSD.”. Sound card, sound card belongs to multimedia. It’s mostly meant for entertainment so it’s gonna stay on the “personal” thing. e.g. Personal Computer, laptop, notebook, rig, moo or whatever you called it. :p
Back to the topic. This post will try to demo on how to install sound card driver onto FreeBSD.
Read More »