Skip to content
June 25, 2011 / azmawee

Smart-V Bio Energy Water Filter

logo-smart-v_2

RM369 sahaja! (Harga biasa RM598) 

Apa itu “Bio Energy Water Filter”?

 

“Bio Energy Water Filter” adalah penapis air dengan teknologi nano silver yang berfungsi untuk mengubah air mentah menjadi air “Hexagonal” yang amat baik untuk kesihatan. Air “Hexagonal” adalah air yang terdiri dari 6 molekul H2O dan berbentuk segi enam.

 

    • Sistem penapis air “Smart-V Bio Energy” menggunakan 7 kartrij penapisan, penapis jenama terkenal yang lain kebanyakannya hanya menggunakan 6 kartrij penapisan.
    • Menggunakan kartrij penapis yang berkualiti dari “OLSMO PURE U.S.A.” :-                      http://www.olsmopure.com dan mendapat pengiktirafan dari “NFS International”.

    • Kartrij penapis “OLSMO PURE U.S.A.” telah diuji dan mendapat lesen pensijilan barangan dari SIRIM Malaysia serta bebas dari sumber haiwan.

    • Kualiti air adalah setanding dengan penapis jenama terkenal dan lebih efektif (7 kartrij penapisan) untuk menghapuskan unsur-unsur toksin, bakteria, klorin dan logam berat supaya air selamat untuk diminum.
    • Menghasilkan komponen bersifat Nano dan kandungan oksigen yang tinggi serta menggalakkan pertumbuhan sel-sel badan yang sihat, meningkatkan metabolisme, melancarkan sistem peredaran darah dan memperkuatkan sistem imunisasi badan.
    • Pemasangan penapis air “Smart-V Bio Energy” adalah mudah dan ianya senang untuk digunakan.
    • Harga yang mampu dimiliki oleh semua golongan dan tanpa kos pemasaran yang tersembunyi.
    • Tempoh hayat gantian kartrij adalah sekitar 2 tahun, harga untuk semua gantian kartrij yang perlu ditukar hanya RM239 sahaja.

 

Type 1: 7 kartrij penapisan (1 diluar, 6 di dalam) pada harga RM369 sahaja!

(Harga biasa RM598)

Upgrade atau tambah “faucet” dengan tambahan RM30 dari harga biasa. 

 

Smart-V_Bio_Energy_Water_Filter (1)Smart-V_Bio_Energy_Water_Filter (2)Smart-V_Bio_Energy_Water_Filter (3)

 

Smart-V_Bio_Energy_Water_Filter (4)Smart-V_Bio_Energy_Water_Filter (6)

 

Smart-V_Bio_Energy_Water_Filter (8)Smart-V_Bio_Energy_Water_Filter (7)

 

Type 2: 6 kartrij penapisan (1 di luar, 5 di dalam) juga pada harga RM369!!

(Harga biasa RM598)

 

Smart-V_Bio_Energy_Water_Filter (9)Smart-V_Bio_Energy_Water_Filter (10)

 

Smart-V Bio Energy Water Filter waranti adalah 1 tahun.

 

Pesanan atau pertanyaan sila hubungi 012-2776331 @ 019-4480024.

***Reseller amat dialukan.

 

Facebook Twitter More...

October 29, 2010 / azmawee

Neopets Battledome clips

These are my battledome clips of the “The Faerie’s Ruin” plot.

“Into the Fray” and “The Battle of Brightvale”.

Official battlepage for the plots can be found here.

Click here for full list of my other neopets clips.

Facebook Twitter More...

October 14, 2010 / azmawee

Squid bandwidth limit (delay pool)

This is a sample of ACL config for using squid to limit a bandwidth of downloaded files and videos, such as youtube. The config are pretty much self-explanation, if you have any question, please toss it in the comment section for discussion. Open-mouthed smile

 

# — Squid delay pool config start —
# Define boss IP for unlimited bandwidth
acl boss src 192.168.1.245/32
# Caching youtube domain
acl youtube dstdomain -i .youtube.com
# Define file extension for download limit
acl big-file url_regex -i ftp .exe .flv .mp3 .mp4 .mkv .3gp .avi .mpeg .mpe .mpg .iso .mov .zip .rar
cache allow youtube
cache allow big-file
# create 2 set of delay pools
delay_pools 2
# First pool class 2, for boss pc with unlimited bandwidth, no limit
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow bos
# Second pool, for others that will have downloaded limits
delay_class 2 2
# — notes. –
# limit 29kbps (29000 bps), 29000/150000 = whole network, 29000/120000 = single IP
# “29000/150000″ means, after a downloaded files exceed 150000 bytes,
# they will continue to download at 29000 bytes/s.
delay_parameters 2 29000/150000 29000/120000
delay_access 2 allow big-file
# — Squid delay pool config end —

Facebook Twitter More...

October 14, 2010 / azmawee

MPD5, FreeBSD singlelink or multilink PPP daemon

What is mpd5 ? here is the description/info of mpd5, taken from pkg-descr file in freebsd port tree (/usr/ports/net/mpd5).

 

– file start–

Mpd is a netgraph(4) based implementation of the multi-link PPP

protocol for FreeBSD. It is designed to be both fast and flexible.

It handles configuration and negotiation in user land, while routing

all data packets strictly in the kernel. It supports several of

the numerous PPP sub-protocols and extensions, such as:

 

Multi-link PPP capability

PAP, CHAP, MS-CHAP and EAP authentication

PPP compression and encryption

IPCP and IPV6CP parameter negotiation

 

Mpd have support for many link types:

 

Serial port modem

Point-to-Point Tunnelling Protocol (PPTP)

Layer Two Tunnelling Protocol (L2TP)

PPP over Ethernet (PPPoE)

PPP over TCP

PPP over UDP

PPP over specified netgraph(4) node

 

Mpd also includes many additional features:

 

IPv4 and IPv6 support

RADIUS authentication and accounting

NetFlow traffic accounting

Network address translation (NAT)

Dial-on-demand with idle timeout

Multiple active connections running simultaneously

Dynamic demand based link management (also known as “rubber bandwidth”)

Powerful chat scripting language for asynchronous serial ports

Pre-tested chat scripts for several common modems and ISDN TAs

Clean device-type independent design

Comprehensive logging

Telnet and HTTP control interfaces.

— file end —

 

Basically mpd5 is another ppp dialer for FreeBSD and it have much more features then the default FreeBSD ppp.

 

Ok let’s get on and roll out… this time you wont need your 32GB china brand mp3/mp4 player, I tell you why later :p

 

First of all, install the mpd5 from the ports tree or from pkg_add, mind you all, we will still need to use the default freebsd ppp to connect to the internet for this step :p

 

cd /usr/ports/net/mpd5

make clean install

 

or from pkg_add command.

 

pkg_add -r mpd5

 

While waiting, it’s time for a good comic books reading, or just read some online manga at mangareader dot net, put away your 32GB china brand mp3/mp4 player, it’s not healthy for you, same goes for manga reading.. but… what the heck.. I’m very curious to find what happen to Luffy, Ichigo, Naruto, Ashigori-kun and others. :P

 

OK next, to setup and configure the mpd5, head to this directory,

 

cd /usr/local/etc/mpd5

 

and create mpd.conf

 

touch mpd.conf

 

This is a sample of mpd.conf that I used.

 

# — file start –

# MaUi^ : mauix (5th Oct 2010) http://staff.MyBSD.org.my/maui (staff.MyBSD.org.my/maui)

Config file for mpd5, mpd.conf

# This file should be in put /usr/local/etc/mpd5

# IMPORTANT! every line IN A LABEL (label:) should start with a space!!

# word “#” infront of the line tells mpd5 not to read that line

# to start dialing, start mpd5 rc script, sh /usr/local/etc/rc.d/mpd5 start

 

startup:

 # configure users for console and web login

 set user username password

 # configure the console (any if ip/port)

 set console self 127.0.0.1 5005

 set console open

 # configure the web server (any if ip/port)

 set web self 192.168.1.254 5006

 set web open

 

default:

 load mypppoe

 

mypppoe:

 create bundle static B1

 set iface route default

 set iface enable nat

 set iface enable tcpmssfix

 set iface up-script /usr/local/etc/mpd5/ip-up.sh

 set iface down-script /usr/local/etc/mpd5/ip-down.sh

 set ipcp ranges 0.0.0.0/0 0.0.0.0/0

 set ipcp disable vjcomp

 set bundle enable compression

 set ccp yes deflate mppc

 set mppc yes compress

 set mppc no e40 e56

 set mppc yes e128

 set mppc yes stateless

 set mppc disable policy

 create link static L1 pppoe

 set link action bundle B1

 set auth authname “celakalu@streamyx”

 set auth password “dogfather”

 set link max-redial 0

 set link mtu 1492

 set link mru 1492

 set link keep-alive 10 60

 set link disable acfcomp

 set link disable protocomp

 set pppoe iface xl0

 set pppoe service “”

 log +echo

 open

 

# — file end–

 

You can use the above setting or fetch the file from http://azmawee.pbworks.com/f/mpd.mauix.conf.txt and rename it to mpd.conf, if you have a task or script to perform on every connection up or connection down, you can configure it under “set iface up-script” and  “set iface down-script” in mpd.conf file.

 

fetch  http://azmawee.pbworks.com/f/mpd.mauix.conf.txt

 

You will need to edit your username and password for web/console and for ISP auth, and put the correct pppoe iface nic name. Try around which are the best setting for you with the enable or disable vjcomp, acfcomp, protocomp, compression, deflate, and mppc options.

 

Finally you can test the config by dialing it manually, disconnected the internet from default ppp first, and just run mpd5 command from prompt. It should be working if you see something like this:

 

Oct 6 15:02:45 server mpd: [B1] IPCP: LayerUp

Oct 6 15:02:45 server mpd: [B1] 115.134.68.197 -> 219.93.218.177

Oct 6 15:02:45 server mpd: [B1] IFACE: Up event

 

It’s getting external ip and connected to the internet, now exit the testing. The “mpd5 -b” command will start mpd5 in background process, but it would be better to start mpd5 by it’s rc script, as it will create a proper pid file. You need to edit /etc/rc.conf before you can use the script.

 

Put these 2 lines in your /etc/rc.conf file

 

mpd_enable=”YES”

mpd_flags=”-b”

 

Start the mpd5 from the rc script.

 

sh /usr/local/etc/rc.d/mpd5 start

 

ng0 interface will be created for internet connection., so if you have firewalls or redirection rules, you might want to edit the connection interface in your rules. The default mpd5 rc script will be started on every startup of the server, if you don’t want this, just set mpd_enable=”NO” in your /etc/rc.conf or chmod 644 to the script file and it will not run on startup anymore.

 

mpd5 also logging the logs to system log and it also have console and web interface for you to check the details of the connection. From the sample config above, I set mine to use http://192.168.1.254:5006 (192.168.1.254:5006) for the web interface.

 

Thats’s all, and maybe if mangareader dot net down again, I will post the config for the multilink ppp connection, say 2 or 3 broadband connection on the sametime? :)

 

Now back to manga business…. – mauix. :D

 

Facebook Twitter More...

October 14, 2010 / azmawee

3G on FreeBSD, Malay and English version :D

English version are down below :)

 

Malay version.

 

Untuk menggunakan modem hsdpa ni, kene switch dulu antara mode “install driver” atau “Zero-CD” ke mode “modem”, biasa la kan dalam windows modem ni akan install driver sendiri kan.

Kita ada 2 cara iaitu cara camcontrol+dedv dan usb_modeswitch.

Dalam howto ni aku guna cara camcontrol+devd je pasal senang sikit.

Mula2 kena prepare dulu la system kita, freebsd 7.2 dah ada u3g driver so tak perlu lagi compile apa2 cume load je driver tu dalam /boot/loader.conf

antara benda2 yang kene load adalah:

 

u3g_load=”YES”

umass_load=”YES”

 

Kadang2 ade yang kene load ugen, pasal lain modem lain perangai dia (ugen_load=”YES”), tapi biasanye dah default ada dalam kernel GENERIC (default install).

Ok, reboot kalau nak, kalau tak nak load module tu manually guna kldstat.

Plug in modem anda ke usb, anda akan nampak massage akan keluar kat screen samaada umass atau ugen, so modem tu dah detech dan masuk ke mode “install driver”.

Kita kene tukar mode “Zero CD” ni ke mode “modem”, kalau tak tak boleh guna modem tu.

Listkan usbdevs yg ada, command usbdevs -v

 

[root@Server]# usbdevs -v

 

Cari modem anda yg mana satu, linenya lebih kurang camni:

 

port 1 addr 3: full speed, power 100 mA, config 1, USB MMC Storage(0×1000), Qualcomm, Incorporated(0x05c6), rev 0.00

 

Dalam line tu ada id intuk vendor = 0x05c6 dan product = 0×1000, rekod kat mana2 2 id tu.

Run command camcontrol devlist dan tengok yg mana satu modem anda.

 

[root@USB-Server]# camcontrol devlist

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

 

Dalam contoh ni modem aku adalah Option ICON. So mark line tu, kita nak ambil “pass1″ saja untuk masukkan dalam conf kita seterusnya.

Create folder /etc/devd, dalam folder /etc/devd ni, create apa2 nama file, dlm contoh ni nama option.conf pasal aku guna modem vodafone option globesuffer icon.

 

File option.conf dalam /etc/devd/:

 

attach 100 {

match “device-name” “umass[0-9]+”;

match “vendor” “0x05c6″;

match “product” “0×1000″;

match “devclass” “0×00″;

action “sleep 3; /sbin/camcontrol cmd `/sbin/camcontrol devlist | /usr/bin/grep Option | /usr/bin/awk ‘{match($10, /pass[0-9]+/); print substr($10, RSTART, RLENGTH) }’` -c ’01 00 00 00 00 00′ -i 1 i1 > /dev/null”;

};

 

Replace vendor dan product tu ikut id modem anda.

Ok, pada line action, edit dan replace section ni dengan output camcontrol devlist anda.

 

/usr/bin/grep Option <- tukarkan kepada output dari line camcontrol devlist tadi.

 

$10 <- $10 merupakan nilai yang paling akhir/last dari seluruh line tu

perkataan dalam line yang ada “pass1″ tadi, kita guna “awk” utk ambik nilai tu.

 

Contoh:

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

Perkataan $1 = <Option

Perkataan $2 = ICON 

Perkataan $3 = 2.31>

Perkataan $4 = at

Perkataan $5 = scbus1

Perkataan $6 = target

Perkataan $7 = 0

Perkataan $8 = lun

Perkataan $9 = 0

Perkataan $10 = (da1,pass1)

 

/pass[0-9]+/ <- gantikan dengan kepada apa yg ada dalam $10 selepas “,”, kalau cd1, jadi /cd[0-9]+/

 

Save file option.conf tadi.

Plug out modem anda dan run /etc/rc.d/devd restart untuk loadkan option.conf tadi.

 

[root@Server]# /etc/rc.d/devd restart

Stopping devd.

Starting devd.

 

Sekarang plug in semula modem anda, cara ni adalah untuk buat automated setiap kali anda plugin modem 3g anda.

Amaran awal, bende ni still buggy, so kalau tak keluar ucom0 atau apa2 selepas detached, plug out dan plug in beberapa kali.

 

Cara manual:

 

[root@USB-Server]# camcontrol devlist

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

[root@USB-Server]# camcontrol cmd pass1 -c “01 00 00 00 00 00″ -i 1 i1

 

 

Kalau semua OK akan keluar message lebih kurang macam ni:

 

umass1: detached

ucom0: <Option N.V. Fusion UMTS Quad-GPRS, class 0/0, rev 1.10/0.01, addr 2> on uhub2

ucom0: configured 3 serial ports (U0.%d)

 

Jadi ucom0 sudah up dan /dev/cuaU0.0 akan di created (auto), kalau guna ubsa, /dev/cuaU0 akan di created.

Kita akan gunakan /dev/cuaU0.0 ni dalam ppp.conf.

 

Sample ppp.conf untuk Celcom 3G:

 

# MaUi^ (Jun, 21, 2009)

# 3G (HSDPA/UTMS) /etc/ppp/ppp.conf (FreeBSD)

# File ni kene letak dalam /etc/ppp/

# Perhatian! kene ada space pada setiap line di dalam satu label (label bermula dengan “:”)

# Tanda “#” di depan line menandakan ppp tidak membaca line ini (remark)

# untuk dial, taip –> ppp -ddial label (sebarang label yang ada)

default:

# setkan default gateway bila online

add! default HISADDR

# ——————————

# enablekan nat untuk sharing internet

nat enable yes

# ——————————

# enable dcc send pada client di belakang gateway

nat same_ports yes

nat use_sockets yes

# ——————————

# untuk cek connection error/link/speed : tail -f /var/log/ppp.log

set log connect phase tun connect

enable dns

# atau pakai dns server lain

# set dns 127.0.0.1

# ——————————

# 3G Celcom.

# kalau guna ubsa, ucom0 = cuaU0

# kalau guna u3g, ucom0 = cuaU0.0

3g:

set device /dev/cuaU0.0

# set dial ni sebaris je, edit kalau perlu.

set dial “ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \”\” ATZ OK-ATZ-OK AT+CGDCONT=1,\\\”IP\\\”,\\\”celcom3g\\\” OK \\dATD\\T TIMEOUT 40 CONNECT”

# dial number adalah *99# atau *99***1

set phone “*99***1#”

set authname “”

set authkey “”

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

enable lqr

disable ipv6cp

 

Sekian.

 

# End of Malay version.

 

######################################

 

English version.

 

First of all, almost all of 3G modem in the market have a “Zero-CD” mode, that will automaticaly install a driver when plug in to windows based os, so by default when we plug it in to our freebsd system, it will go to “Zero-CD” mode. We need to change this mode to a “Modem” mode in order to use it in our freebsd system.

There are two way to do this, either using camcontrol+devd or usb_modeswitch. I use camcontrol+devd method as by default it already in the system.

 

So, while listening to your 8 GB china brand mp3 player or your Apple iphone or ipod, or some of you that have a super duper high output amp stereo hifi with a very big speaker that can blow out your entire neighborhood house, lets get started!

 

Freebsd 7.2 has include u3g driver in it, so we are going to use that driver, load up the driver in /boot/loader.conf or compile it into the kernel, so ask your wife or your house cleaning maid for a choice :) . My modem detected as umass0, some of the modem detected as ugen0 so load which that are detected.

 

u3g_load=”YES”

umass_load=”YES”

 

Then reboot if you want or load it up using kldstat.

Plugin you modem to your system and use usbdevs command to see your modem details, you will need to search which one of the lines are your modem belongs.

 

[root@Server]# usbdevs -v

 

mine was :

 

port 1 addr 3: full speed, power 100 mA, config 1, USB MMC Storage(0×1000), Qualcomm, Incorporated(0x05c6), rev 0.00

 

In this line, we need to get the id for vendor and product, so mine was  vendor = 0x05c6 and product = 0×1000.

Next use camcontrol devlist command.

 

[root@USB-Server]# camcontrol devlist

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

 

So my modem detected as Option ICON 2.31, in the last part of the line was (da1,pass1), we need to use the “Option” and “pass1″ value.

 

Create a folder in /etc namd devd, /etc/devd, in this folder create any file name, I’m using option.conf same with my modem, vodafone option globesuffer icon.

 

In the option.conf file, put this:

 

attach 100 {

match “device-name” “umass[0-9]+”;

match “vendor” “0x05c6″;

match “product” “0×1000″;

match “devclass” “0×00″;

action “sleep 3; /sbin/camcontrol cmd `/sbin/camcontrol devlist | /usr/bin/grep Option | /usr/bin/awk ‘{match($10, /pass[0-9]+/); print substr($10, RSTART, RLENGTH) }’` -c ’01 00 00 00 00 00′ -i 1 i1 > /dev/null”;

};

 

Next, be warn, some of you might be needing master yoda training to help you on this :)

just kidding.. move on..

Replace vendor and product with the id or your modem.

In the action line, you will need to edit a few things:-

 

/usr/bin/grep Option <- replace with the output of your camcontrol devlist before, mine was Option.

 

$10 <- $10 is the value of the 10th result from the camconrol devlist line, mine has pass1 value remember?

 

example:

 

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

 

$1 = <Option

$2 = ICON 

$3 = 2.31>

$4 = at

$5 = scbus1

$6 = target

$7 = 0

$8 = lun

$9 = 0

$10 = (da1,pass1)

 

/pass[0-9]+/ <- replace with your camcontrol devlist last value, if it was cd1 then it will be /cd[0-9]+/

 

Save the option.conf file.

Plug out your modem and run /etc/rd.d/devd restart to reload new conf for devd.

 

[root@Server]# /etc/rc.d/devd restart

Stopping devd.

Starting devd.

 

Now, plug back your modem and if everything fine, they will be a message like this:

 

umass1: detached

ucom0: <Option N.V. Fusion UMTS Quad-GPRS, class 0/0, rev 1.10/0.01, addr 2> on uhub2

ucom0: configured 3 serial ports (U0.%d)

 

This was still buggy I think, some of you might not have any message at all, try to plug in and out a few times.

You can also do manual switch without using devd:

 

[root@USB-Server]# camcontrol devlist

<Option ICON 2.31> at scbus1 target 0 lun 0 (da1,pass1)

[root@USB-Server]# camcontrol cmd pass1 -c “01 00 00 00 00 00″ -i 1 i1

 

So if everything working, ucom0 already up, then /dev/cuaU0.0 will be created by u3g, if you are using ubsa, then /dev/cuaU0 will be created.

we are going to use /dev/cuaU0.0 in ppp.conf.

 

This is the sample of ppp.conf for Malaysia Celcom 3G ISP, you can use it as a birthday present for your wife, I dont mind :)

 

# MaUi^ (Jun, 21, 2009)

# 3G (HSDPA/UTMS) /etc/ppp/ppp.conf (FreeBSD)

# This file should be in put in /etc/ppp/

# IMPORTANT! every line IN A LABEL (label:) should start with a space!!

# word “#” infront of line tell ppp not to read the line

# to start dialing. run –> ppp -ddial label (or any label you add)

default:

# add default gateway when connected

add default HISADDR

# ——————————

# to enable NAT for sharing internet with other pc

nat enable yes

# ——————————

# enable dcc send from client behind the gateway

nat same_ports yes

nat use_sockets yes

# ——————————

# to see connection error/link/speed : tail -f /var/log/ppp.log

set log phase tun connect

# ——————————

# auto update with the isp nameserver in /etc/resolv.conf

enable dns

# or used other dns server

# set dns 127.0.0.1

# ——————————

# 3G Celcom.

# if using ubsa, ucom0 = cuaU0

# if using u3g, ucom0 = cuaU0.0

3g:

set device /dev/cuaU0.0

# set dial is only one line, ediit this if requried.

set dial “ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \”\” ATZ OK-ATZ-OK AT+CGDCONT=1,\\\”IP\\\”,\\\”celcom3g\\\” OK \\dATD\\T TIMEOUT 40 CONNECT”

# dial number are *99# or *99***1

set phone “*99***1#”

set authname “”

set authkey “”

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

enable lqr

disable ipv6cp

 

Thats all, enjoy taking over the world.. erkk I mean surfing the world wide web. :)

 

# End of English version.

 

Facebook Twitter More...

October 14, 2010 / azmawee

Squid config with Facebook or any http/1.1 website

Recently Facebook start using the Hypertext Transfer Protocol HTTP/1.1, so most of the squid proxy out there might having problem when accessing facebook.com web pages, client web browser will mostly giving out blank pages.

 

On squid 2.7, add this line to your squid.conf  file to enable the HTTP/1.1 Protocol (still on experimental but working) :-

 

server_http11 on

 

Then run squid -k reconfigure to refresh squid using the new config and clear the facebook cookies on client web browser.

 

For squid 3.0, as far as I know there is no http/1.1 support for it, however squid 3.1 have this natively support, but still under development for full http/1.1 compliance.

 

Done, happy facebooking…. :D

 

Facebook Twitter More...

Follow

Get every new post delivered to your Inbox.