Archive for the ‘FreeBSD’ Category

FreeBSD Upgrade Release ke Stable

March 15, 2010 Leave a comment

Installasi CVSUP :

# whereis cvsup-without-gui
cvsup-without-gui: /usr/ports/net/cvsup-without-gui
# cd /usr/ports/net/cvsup-without-gui/
# make install clean
Tunggu sampe selesai installasinya

Jika udah selesai lakukan
#cp /usr/share/examples/cvsup/ports-supfile /etc/
#cp /usr/share/examples/cvsup/stable-supfile /etc/

Read more…

Categories: FreeBSD

PF: Load Balancing

December 11, 2009 Leave a comment

The following example balances outgoing traffic across two Internet


lan_net = “”
int_if  = “dc0”
ext_if1 = “fxp0”
ext_if2 = “fxp1”
ext_gw1 = “”
ext_gw2 = “”

pass in on $int_if route-to
{ ($ext_if1 $ext_gw1), ($ext_if2 $ext_gw2) } round-robin
from $lan_net to any keep state

The route-to option is used on traffic coming in on the
internal interface to specify the outgoing network interfaces
that traffic will be balanced across along with their respective
gateways. Note that the route-to option must be present on
each filter rule that traffic is to be balanced for. Return
packets will be routed back to the same external interface that they
exited (this is done by the ISPs) and will be routed back to the
internal network normally.

Read more…

Categories: FreeBSD

How to Repair Corrupted rc.conf file

July 3, 2009 Leave a comment

Procedure on how to solve FreeBSD boot up problem with the error message:

Loading configuration files.
/etc/rc.conf:51 Syntax error: Unterminated quoted string
Enter full pathname of Shell or RETURN for /bin/sh:

This error is normally encountered if there is a misplaced or missing double quote in the configuration file of the FreeBSD installation.
Sample invalid rc.conf file:


Note that there is a missing double quote in the example above. This error may also be triggered by a misplaced or unnecessary double quote in the configuration file.
To fix this problem:

1. (Optional) Reboot your FreeBSD and select the login option:
4. Boot FreeBSD in single user mode This can by done by pressing the number 4 upon boot up.

Read more…

Categories: FreeBSD Tags:

mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x08 Depth 128

July 3, 2009 Leave a comment

proxy# dmesg |grep mpt

mpt0: <LSILogic SAS/SATA Adapter> port 0x4000-0x40ff mem 0xd8610000-0xd8613fff,0xd8600000-0xd860ffff irq 25 at device 3.0 on pci5
mpt0: [ITHREAD]
mpt0: MPI Version=
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 0 Active Volumes (2 Max)
mpt0: 0 Hidden Drive Members (10 Max)
da0 at mpt0 bus 0 target 8 lun 0
da1 at mpt0 bus 0 target 9 lun 0

Scenario: Performed a clean install of FreeBSD 7.1-STABLE with a SAS RAID controller, which completed without errors. After rebooting and beginning to install packages, I started seeing the following error: mpt0: QUEUE FULL EVENT: Bus 0×00 Target 0×08 Depth 128.

Solution: Searching online indicated that the problem was with support for Tagged Command Queuing in the mpt driver. The output of camcontrol was:

Read more…

Categories: FreeBSD Tags:

From ZDNet Australia: Security measures: Linux vs BSD

October 10, 2008 1 comment

Sebuah comotan dari ZDnet Australia dan cukup menarik untuk dibaca, agar lebih mengerti keberadaanya
“From ZDNet Australia: Security measures: Linux vs BSD”

Security measures: Linux vs BSD

I hear a lot of discussion about how superior Linux is to Microsoft’s operating systems. Certainly, there are many more attacks targeting Windows and IIS platforms.

A good case can also be made that Linux is inherently more stable and secure than Microsoft products, either because it’s based on a better core of code or because it’s open source, and many individuals have a stake in monitoring and making repairs.
Monggo di woco…

Categories: FreeBSD

Upgrade pfsense dari FreeBSD 6.2 ke FreeBSD 6.3

October 9, 2008 2 comments

Bagi rekan yang Pfsense nya masih FreeBSD 6.2 dan ada masalah dengan squid nya bisa di upgrade dengan FreeBSD 6.3
Ini hasil iseng berkunjung ke forum pfsense, dapet link

berikut sepenggal kutipan dari comment di forum tsb

Looks like the throughput issue may have resolved itself in the FreeBSD 6.3 build of pfSense 1.2_RELEASE. I have had success with the new build, please let us know if you see improvements as well.

Interesting…we only have 3MBit of bandwidth and don’t see ANY difference between squid or direct.

ini link nya

Categories: FreeBSD Tags:

You might ask why squid on pfsense is so slow?

October 9, 2008 8 comments

Bagi yang pake Pfsense dan package squid nya di aktifin … pasti lemot dehh…. selidik punya selidik ternyata pfsense tersebut dikususkan pada class router, bukannya untuk server dengan beban tinggi sperti high load proxy server.

Monggo dibaca selengkapnya

Categories: FreeBSD Tags: , ,
%d bloggers like this: