Install Bind in ClarkConnect 4 as dns resolver

I used to use djbdns in every situation I have, so far I use it in FreeBSD and Ubuntu server 8.0.4 LTS I always try to install djbdns as first option for dns stuff. Yesterday I met situation where clarkconnect 4.2 installed as internet gateway in internet cafe, the owner choose clarkconnect as internet gateway …

More

Using temporer email address to fight spam

Giving email address to anyone isn’t wise specially when U use that email address for daily activity, work and your mailing list. Its OK to give our email to other provider as long we know their credibility that they won’t share or sell our email address. Many people seem use interesting content for trapping innocent …

More

Detect RB44GV on FreeBSD 7

New ethernet card we order arrived yesterday, its RB44GV from mikrotik. I just curious to see if its work with my FreeBSD box materibasuki# ifconfig -a em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> ether 00:1a:92:b3:db:c2 inet 172.88.1.7 netmask 0xfffff000 broadcast 172.88.15.255 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> …

More

Make Virtual Host in Engine X (nginx)

Since last time I install php-fpm in my freebsd box I still looking way to make virtualhost. I think its not easy to make vhost in nginx but I’m wrong Just add : server { directive } will add new vhost. Full sample from my vhost : server { listen 80; server_name sandbox.digitalfusi.com; location / …

More

MYSQL server has gone away

Its very rare case when I see message : “MYSQL server has gone away” , a few things to consider are : * Check variable max_timeout * Check variable max_allowed_packet These setting available in my.ini or my.cf file, edit the value and restart mysql daemon. Example : max_allowed_packet=16M max_timeout=28800 Try again to import database using …

More

Hide your plurk karma using css

I forgot the source of css code I get from browsing activity, this code can hide your plurk karma and other attribute. Here’s the code : #dash-stats h3{ opacity:0.0;filter:alpha(opacity=0); height:0; margin:0; padding:0; font-size:0; } #dash-stats a.link_arrow { opacity:0.0;filter:alpha(opacity=0);height:0;margin:0;padding:0;font-size:0; } Just drop a comment for the source and I’ll update this post Basically I like this …

More

101 nginx tutorial and articles

I’m bit lazy to read manual and prefer to read it as a case. Nginx is my favourite now, by collecting related tutorial, blog posting and articles I hope I can learn nginx more. Links I found so far : Reverse proxy in depth tutorial Step by step install Engine X (nginx) and php-fpm in …

More

undefined function imagecreatefromjpeg()

Call to undefined function imagecreatefromjpeg() in /home/materi/prog/cms_study/admin/pageuploadadd.php on line 88   Yes, that message show up when my friend try to access web based application. I think thats my fault Doing preliminary check : edp# pkg_info | grep php5-gd edit /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 WITHOUT_X11=yes save. edp# whereis php5-gd php5-gd: /usr/ports/graphics/php5-gd edp# cd /usr/ports/graphics/php5-gd && make …

More

Start gammu service with event.d in Ubuntu Server 8.04

By default when run gammu in Windows I can leave the window by closing it. Since I must run it in linux I must type and wait : root@dns:/etc# /gammu 0 –smsd MYSQL /etc/smsdrc bash: /gammu: is a directory root@dns:/etc# gammu 0 –smsd MYSQL /etc/smsdrc Log filename is “/etc/smsdlog” Press Ctrl+C to stop the program …

More

Detect more than one device for gammu

Another device for sms gateway has arrived, its Nokia 6070 I have connect it to server and need to configure : Steps taken to do that using gammu are : 1. Edit gammurc file, for example : [gammu] port = /dev/ttyUSB0 connection = at115200 [gammu1] port = /dev/ttyUSB1 connection = at115200 2. Detect it using …

More

Relaying mail in postfix

We have new server configured, the problem is the ISP. They not allow port 25 for sending mail. Fortunately we have another existing postfix server . After edit main.cf in new server, we can send email through existing server. The only change to do is : Edit main.cf, find relayhost line and add existing server …

More

Unknown SMSD service type (“MYSQL”)

That message show up when I install gammu from source in Ubuntu server 8.04 : root@dns:/home/edpteam# gammu –smsd MYSQL smsdrc Unknown SMSD service type (“MYSQL”) After dig in mailing list I have clue to install mysql library : apt-get install libmysqlclient15-dev apt-get install libmysqlclient15-dev Reading package lists… Done Building dependency tree Reading state information… Done …

More