Doa Niat Sholat Wajib Lima Waktu


Lafadz niat shalat fardhu adalah sebagai berikut :

1. Niat Sholat Dhuhur 4 Raka’at

اصلّى فرض الظّهراربع ركعات مستقبل القبلة اداءلله تعالى

Ushalli fardhadz dzuhri arba’a raka’aatin mustaqbilal qiblati adaa-an lillaahi ta’aala.
Artinya : (di dalam hati pada saat takbiratul ihram!) Sengaja aku shalat fardhu dzuhur empat raka’at menghadap ke kiblat karena Alllah Ta’ala.
Continue reading

Setup squidguard Centos 6.2


-Install squidguard & squidguard-blacklist from rpmforge repo
# yum -y --enablerepo=rpmforge install squidguard squidguard-blacklists

-Copy squidguard.cgi access denied page if you want to use it..
# cp /usr/share/doc/squidguard-1.3/squidGuard.cgi /var/www/cgi-bin/
# cp /usr/share/doc/squidguard-1.3/squidGuard-simple.cgi /var/www/cgi-bin/

Continue reading

Proxy gateway CentOS 6


I. Skenario:
Internet Router — eth0:192.168.0.11:cumi.bachem.local:eth1:192.168.10.1 — client

II. Setting Statik IP Address,DNS, etc
# system-config-network-tui

or

-Via CLI, setting ip address eth0
# cd /etc/sysconfig/network-scripts/
# vi ifcfg-eth0

DEVICE=eth0
HWADDR=32:E8:71:6C:BF:E7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=192.168.0.11
BOOTPROTO=static
NETMASK=255.255.255.0
TYPE=Ethernet
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no

 
Continue reading

Setup TP-Link TL-MR3220/3420 dengan modem Smartfren AC682


Skenario:
-Konfigurasi TP-Link dalam keadaan default
-Firmware TP-Link TL-MR3220: 3.12.8 Build 110418 Rel.43954n (Mungkin jika versi firmware lebih baru sudah support smart AC682)
-Firmware TP-Link TL-MR3420: 3.12.8 Build 110418 Rel.43954n
-Modem Smartfren AC682 yg bisa internetan

Mulai Setup:
1. Colokkan kabel LAN dari Laptop/PC ke port TP-Link LAN 1 atau port LAN yg laen, tunggu sampai dapat IP Address 192.168.1.xx (Secara default TP-Link sudah terkonfigurasi dengan DHCP Server dengan subnet 192.168.1.x/24)

2. Ketik 192.168.1.1 di browser, Login: admin dan Password: admin
Continue reading

Example Static Route CentOS 5


References:
http://www.ehowstuff.com/how-to-add-persistent-static-routes-in-centos-5-6/
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html

Skenario:
-Membuat LAN kecil(30 user) untuk user hotspot PC training dan hotspot untuk tamu.

Topologi (existing):
Proxy Squid Gateway CentOS 5:eth0:192.168.0.254 — 192.168.0.240:eth1:Mikrotik RB750:eth2:192.168.88.1 — LAN Training & Hotspot
Continue reading