Monday, November 12, 2007

Connecting to XL 3G via Sony Ericsson W850i

While it is not so newbie friendly, I never thought that configuring Internet connectivity using my cellular phone will be a straightforward process. All I did just edit the /wtc/wvdial.conf into this:

Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Modem Type = USB Modem
Baud = 460800
Modem = /dev/ttyACM1
ISDN = 0
Phone = *99***1#
Phone1 = *99***2#
Password = proxl
Username = xlgprs

then, I connect by calling wvdial (with root privillege)

sudo wvdial

Just be very cautious with the cost as it is charged per KB!
Enjoy...

Tuesday, September 18, 2007

Monday, August 20, 2007

Installing ZABBIX 1.4.1

The new ZABBIX is getting better and better. Below are the steps I did to get
ZABBIX 1.4.1 up and running. (Assumed there is already Apache2, PHP and MySQL running)

1. First, get the source code.
$ wget

http://optusnet.dl.sourceforge.net/sourceforge/zabbix/zabbix-1.4.1.tar.gz

2. Extract the source code
$ tar -xvvzf zabbix-1.4.1.tar.gz

3. Prepare MySQL. by creating database for ZABBIX
$ mysql -u<username> -p<password>
mysql> create database zabbix;
mysql> grant all on zabbix.* to <username>@localhost identified
by '<mysqlpassword>';
mysql> quit;
$ cd <path-of-your-zabbix-source>/create/schema/
$ cat mysql.sql | mysql -u<username> -p<password> zabbix
$ cd ../data
$ cat data.sql | mysql -u<username> -p<password> zabbix
$ cat images_mysql.sql | mysql -u<username> -p<password> zabbix
$ cd ../..

4. Configure the source code, then proceed with install
$ ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
$ sudo make install

5. Create zabbix config files
$ sudo mkdir /etc/zabbix/
$ sudo cp
<path-of-your-zabbix-source>/misc/conf/zabbix_server.conf /etc/zabbix/
$ sudo nano /etc/zabbix/zabbix_server.conf

6. Create directories for the frontends
$ sudo mkdir /usr/local/zabbix
$ sudo chown -R <username.username> /usr/local/zabbix/
$ rsync -rvu <path-of-your-zabbix-source>/frontend/php /usr/local/zabbix/

7. Edit Apache2 config file to point your own ZABBIX url into the frontend's
path

8. Open a web browser, go to your ZABBIX url, then proceeds from there

9. To get ZABBIX up, you need to execute zabbix_server.

Done :-)

Monday, July 30, 2007

Wednesday, January 03, 2007

2007

Selamat Tahun Baru 2007