Archive

Archive for the ‘Old Post dari Unilanet’ Category

IPv6 activated on BIND –> ns1.unila.ac.id

February 9th, 2011 No comments

This Morning ns1.unila.ac.id already setup and support with IPv6, prefix address assign from Tunnel broker. Read carefully if you want to have your own BSD name server that support IPv6

Assumptions :

Everyone knows / has little knowledge on how to configure the IPv4 DNS

Important Terms

  • A – address record maps a host name to 32-bit IPv4 address (Forward lookup)
  • AAAA – address record maps a host name to 128-bit IPv6 address (Forward lookup)
  • ip6.arpa – Reverse mapping name space for IPv6
  • ip6.int – Reverse mapping name space which has been deprecated but still maintained by some hosts

Forward Lookup (AAAA)

  • Uses AAAA records for assign IPv6 addresses to names.
  • Multiple addresses possible for any given name – for example, in a multi-homed situation.
  • Can assign A records and AAAA records to a given name/domain.
  • Can also assign separate domains for IPv6 and IPv4.
  • Don’t be afraid to experiment! Read more…

BGP Loopback0 VS Inbound

February 9th, 2011 No comments

Tulisan kecil ini mudah2an bisa membantu mengingatkan saya dan rekan pengelola jaringan INHERENT perihal perbedaan Metode Update BGP Routing Table di CISCO 7606 masing-masing PTN.

Awalnya skenario migrasi tidak akan menyentuh layer 2 di tiap Network, yang berubah hanya layer Physic Just (That man !!), berhubung kendala lapangan yang sangat kompleks Pada saat migrasi, terpaksa jurus2 ampuh dari sesepuh INHERENT dikeluarkan untuk segera mengatasi kondisi “Darurat” ini. mulai dari restrukturisasi subnetting pengalamatan IP, hingga perubahan secara besar-besaran terhadap existing logical topology yang sudah ada. Read more…

HOW To Build Your Own YouTube Server Using PHPMOTION 5 , phpshield FFMPEG , PHP5 on FREEBSD

February 9th, 2011 No comments

So Many people  Looking Tutorial How To Develop Their Own Video streaming Server Like You tube already done. This time i’ll tell you how to make it’s happen, we’ll using FreeBSD 7.0 as OS.

Langkah pertama silahkan downlod PHPMOTION5 dari website Official PHPMOTION, atau dari link ini http://unilanet.unila.ac.id/~gigih/data/PHPMOTION-PHP5/PHPMOTION_PHP5.zip

Downlod phpshield library untuk freeBSD dialamat

http://unilanet.unila.ac.id/~gigih/data/PHPMOTION-PHP5/phpshield.5.2.fre Atau dari Official phpshieldnya langsung

Asumsi saya Anda sudah berhasil menginstall Apache 2.2 dan Mysql 5 di PC anda, dan saya tidak membahas langkah2 instalasi Apache,Mysql,PHP5, PHP5-EXTENSION Read more…

Load Balancing 2 E1 Astinet on Juniper J Series 2300

February 9th, 2011 No comments

Load Balancing di Juniper ????????

begini sodara2…

## Last commit: 2008-04-10 12:31:36 UTC by root
version 8.2R1.7;
system {
host-name MAIN_ROUTER_UNILA;
root-authentication {
encrypted-password “xxxyyyyzzz.”; ## SECRET-DATA Read more…

ISP Config on Ubuntu Hardy Heron Chap

February 9th, 2011 No comments

To install such a system you will need the following:

Make sure Ubuntu instalation running success.

Now we will prepare to install all software for ISPConfig deployment

Type sudo -i on console , and  type your root password

1.  Install The SSH Server (Optional)

If you did not install the OpenSSH server during the system installation, you can do it now:

apt-get install ssh openssh-server

From now on you can use an SSH client such as PuTTY and connect from your workstation to your Ubuntu 8.04 LTS server and follow the remaining steps from this tutorial. Read more…

Develop VoIP server on Ubuntu 7.10

February 9th, 2011 No comments
Distro Linux yang digunakan : Ubuntu server 7.10
Versi Kernel                : 2.6.22-14-server
Download ippbx-src-p4-0.1.tar.gz from http://www.voiprakyat.or.id/pub
Login as root and follow steps below:
	notes:
	- you are required to connect your Ubuntu server to the Internet
	- for fast update and upgrade please configure your apt source
	  to the fastest reachable server
	- in this tutorial you are assumed using Intel Pentium 4
	- some of your installed apache server configuration will be changed
	- you are recommended to use fresh install of Ubuntu server 7.10
	  (you will later update and upgrade this server)
Edit  apt-source.list
point to IIX Server,
========================================================================================
## REPOSITORY UTAMA
deb http://kambing.ui.edu/ubuntu gutsy main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu gutsy main restricted universe multiverse

## INI UNTUK MAJOR BUG FIX UPDATES
deb http://kambing.ui.edu/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu gutsy-updates main restricted universe multiverse

## INI UNTUK UBUNTU SECURITY UPDATES
deb http://kambing.ui.edu/ubuntu gutsy-security main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu gutsy-security main restricted universe multiverse
========================================================================================
apt-get update
apt-get upgrade

apt-get install mc build-essential libncurses5-dev libssl-dev libmysqlclient15-dev

apt-get install linux-headers-`uname -r` apache2 php5 php5-cli php-pear php-db
apt-get install php5-gd php5-mysql mysql-server openssh-server curl sox subversion
	note:
	put 'rahasia' (without quote) as mysql server root password
	please remember that this is only for the sake of following this manual
	later on you have to change it to your own password

tar -zxf asterisk-sounds-0.1.tar.gz
tar -zxf zaptel-firmware-0.1.tar.gz

tar -zxf libpri-1.4.3.tar.gz
cd libpri-1.4.3
make
make install
cd ../

tar -zxf zaptel-1.4.8.tar.gz
cd zaptel-1.4.8
./configure
make menuconfig
	note:
	select all options on ‘Utilities’
	press x to save selections
cp ../zaptel-firmware-0.1/firmware/* firmware/
make
make install
make config
cd ../

tar -zxf asterisk-1.4.17.tar.gz
cd asterisk-1.4.17
./configure
make menuconfig
	note:
	remove chan_mgcp, chan_phone, chan_oss, chan_skinny from ‘Channel Drivers’
	remove codec_adpcm, codec_a_mu, codec_lpc10 from ‘Codec Translators’
	select EXTRA-SOUNDS-EN-GSM from 'Extras Sound Packages'
	press x to save selections
cp ../asterisk-sounds-0.1/sounds/* sounds/
make
make install
make samples
genzaptelconf
	note:
	genzaptelconf is part of zaptel package, but make sure to execute this after
	installing asterisk
cd ../

tar -zxf asterisk-addons-1.4.5.tar.gz
cd asterisk-addons-1.4.5
./configure
make menuconfig
	note:
	remove chan_ooh323 from ‘Asterisk Addon Modules’
	make sure the rest is selected
make
make install
make samples
cd ../

tar -zxf codec-g723-g729-p4-0.1.tar.gz
cd codec-g723-g729-p4-0.1
cp codec_g729-ast14-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g729.so
cp codec_g723-ast14-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g723.so
cd ../

useradd -s /bin/false -m asterisk
	note:
	default shell is /bin/false and create a home directory (needed by FOP)

mcedit /etc/apache2/apache2.conf
	note:
	look for this lines:
	    User www-data
	    Group www-data
	and change to below lines:
	    User asterisk
	    Group asterisk

a2enmod php5
/etc/init.d/apache2 restart

chown asterisk.asterisk /etc/asterisk -R
chown asterisk.asterisk /usr/lib/asterisk -R
chown asterisk.asterisk /var/lib/asterisk -R
chown asterisk.asterisk /var/log/asterisk -R
chown asterisk.asterisk /var/spool/asterisk -R

mcedit /etc/asterisk/asterisk.conf
	note:
	look for astrundir path like this line:
	    astrundir => /var/run
	and change it to:
	    astrundir => /var/log/asterisk

asterisk -U asterisk -G asterisk

mysqladmin -u root -p password rahasia
	note:
	lets make sure that you change the mysql server root password
	'rahasia' (without quote) is a password chosen for testing purposes only

mysqladmin -u root -p create asterisk
mysqladmin -u root -p create asteriskcdrdb

tar -zxf freepbx-2.3.1.tar.gz
cd freepbx-2.3.1
mysql -u root -p asterisk < SQL/newinstall.sql
mysql -u root -p asteriskcdrdb < SQL/cdr_mysql_table.sql
./install_amp
	note:
	Q: Enter your USERNAME to connect to the 'asterisk' database:
	A: root
	Q: Enter your PASSWORD to connect to the 'asterisk' database:
	A: rahasia
	Q: Enter the path to use for your AMP web root:
	A: /var/www
	Q: Enter the IP ADDRESS or hostname used to access the AMP web-admin:
	A: <your server IP address>
	Change above IP address to your own IP

ln -s /usr/local/sbin/amportal /etc/init.d/amportal
update-rc.d amportal defaults
cd ../

rm -f /etc/asterisk/extensions.conf
rm -f /etc/asterisk/sip.conf
rm -f /etc/asterisk/iax.conf
rm -f /etc/asterisk/zapata.conf

mcedit /etc/asterisk/zapata.conf
	note:
	type below lines and save the file:
	    [trunkgroups]
	    [channels]
	    #include zapata-channels.conf

chown asterisk.asterisk /etc/asterisk/zapata.conf

/etc/init.d/amportal start

browse FreePBX admin web page, http://<your server IP address>/admin (please use Firefox)
and click 'Apply Configuration Changes' on top of the page

mcedit /etc/asterisk/sip.conf
	note:
	look for lines like below:
	    disallow=all
	    allow=ulaw
	    allow=alaw
	and change them to:
	    disallow=all
	    ; enable g729 and gsm only when you have remote agents (from internet)
	    ;allow=g729
	    ;allow=gsm
	    allow=ulaw
	    allow=alaw
	    ; enable below options for video support (now disabled)
	    ;allow=h264
	    ;allow=h263p
	    ;allow=h263
	    ;videosupport=yes
	    ;maxcallbitrate=128

mcedit /etc/asterisk/iax.conf
	note:
	look for lines like below:
	    disallow=all
	    allow=ulaw
	    allow=alaw
	    allow=gsm
	and change them to:
	    disallow=all
	    ; enable g729 and gsm only when you have remote agents (from internet)
	    ;allow=g729
	    ;allow=gsm
	    allow=ulaw
	    allow=alaw

asterisk -rx "reload"
Credit Point to Anton Raharja
http://www.antonraharja.web.id 

Manual Dynamips, dynagen Cisco Emulator on FreeBSD HOW To

February 9th, 2011 No comments

Pengen Ngoprek cisco tapi gak punya Duit Lebih untuk beli Mesinnya, Jangan sedih dulu karena sekarang udah ada emulator canggih, yang bisa mesdimulasikan kita layakanya punya mesin cisco  beneran.

Langsung saja yah, kita maenan sama dynamips dan dynagen

#cd /usr/ports/emulators/dynamips

#make install clean

#cd /usr/ports/emulators/dynagen

#make install clean

Download Cisco IOS image di sini

http://www.blog.persianadmins.com/?p=9

Ato yang ada di blog gw ini

http://unilanet.unila.ac.id/~gigih/data/IOScisco/ Read more…

Dynagen,dynamips mode Bridge with ETH interface on FreeBSD

February 9th, 2011 No comments

Sekarang kita akan mencoba mode bridging Fisikal interface di server dengan interface fast Ethernet Emulator dynamips

blog# cd ~gigih/tmp/
blog# ll
total 183352
-rw-r–r–  1 gigih  wheel   16384996 Mar 24 13:30 C7200-Is-Mz_20122-15_20T5.bin
-rw-r–r–  1 root   wheel       6092 Mar 24 12:21 blog.unila.ac.id
-rw-r–r–  1 gigih  wheel    4704832 Mar 24 08:37 c4500-is-mz.120-7.bin
-rw-r–r–  1 gigih  wheel    4683127 Mar 24 08:41 c4500-is-mz.120-7.image
-rwx——  1 root   wheel    8388608 Mar 25 15:46 c7200_R1_bootflash
-rw——-  1 root   wheel   67108864 Mar 25 15:46 c7200_R1_disk0
-rw-r–r–  1 root   wheel          0 Mar 25 15:46 c7200_R1_lock
-rw-r–r–  1 root   wheel      23880 Mar 25 16:04 c7200_R1_log.txt
-rwx——  1 root   wheel     131072 Mar 25 16:04 c7200_R1_nvram
-rwx——  1 root   wheel  167772160 Mar 25 16:06 c7200_R1_ram
-rwx——  1 root   wheel    8388608 Mar 25 15:46 c7200_R2_bootflash
-rw——-  1 root   wheel   67108864 Mar 25 15:46 c7200_R2_disk0
-rw-r–r–  1 root   wheel          0 Mar 25 15:46 c7200_R2_lock
-rw-r–r–  1 root   wheel      24318 Mar 25 15:48 c7200_R2_log.txt
-rwx——  1 root   wheel     131072 Mar 25 15:47 c7200_R2_nvram
-rwx——  1 root   wheel  167772160 Mar 25 16:06 c7200_R2_ram
-r–r–r–  1 root   wheel        522 Mar 25 15:46 simple1.net Read more…

Create VLAN on 7606

February 9th, 2011 No comments

Sore ini gw baru bikin Vlan Baru Di Router 7606 INHERENT,

Ada 48 Port GigaBit yang nganggur gak kepake, so langsung gw bikin untuk VLAN Net BBS Deh….

Caranya Gampang Kok……….

— Cuted–

controller E1 3/0/7
channel-group 0 unframed
!
vlan internal allocation policy ascending
vlan access-log ratelimit 2000 Read more…

Maenan Hotspot dan Radius di Mikrotik

February 9th, 2011 No comments

Package yang dibutuhkan adalah, radius dan user manager :

User Manager Mikrotik digunakan utk memanage user berikut:

  • HotSpot users.
  • Wireless users
  • RouterOS users.

Sebelumnya paket hotspot dan dhcp server harus sudah terintall/enable dan dikonfigurasi terlebih dahulu pada Mikrotik RouterOS.  Dan Diasumsikan anda menginstall semua package . Ether sebagai interface yang terhubung ke internet sedangkan wlan sebagai interface yang terhubung ke hotspot client.Ip ether 1 192.168.1.215 dan wlan 1 dengan ip 172.16.2.1/24. Langkah-langkahnya sebagai berikut: Read more…