17 September 2008

how to instal in Ubuntu or debian

Sourclist baru

# Mirror.cbn.net.id
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-security main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-proposed main restricted universe multiverse

# Mirror.kambing.ui.edu
#deb http://kambing.ui.edu/Ubuntu intrepid main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-security main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-proposed main restricted universe multiverse

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

===root@Jetcoms:/# vim /etc/apt/sources.list====

### Repository dengan menggunakan server mirror kambing.vlsm.org
deb http://kambing.vlsm.org/debian/ stable main contrib non-free
deb http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb http://kambing.vlsm.org/debian-security/ stable/updates non-free
deb-src http://kambing.vlsm.org/debian/ stable main contrib non-free
deb-src http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb-src http://kambing.vlsm.org/debian-security/ stable/updates non-free

Informasi situs: http://kambing.ui.edu

root@Jetcoms:/#apt-get update (enter)
root@Jetcoms:/#apt-get upgrade (enter)
root@Jetcoms:/#apt-get install (aplikasinya)
root@Jetcoms:/# apt-get install apache2
root@Jetcoms:/# apt-get install mysql-admin
root@Jetcoms:/#apt-get install libapache2-mod-php5
========================================================
how to change password Mysql-Admin

# /etc/init.d/mysql stop
# mysqld --skip-grant-tables
# mysqladmin -u root password 'newpasswd'
# /etc/init.d/mysql start

http://wiki.ubuntu-id.org/PanduanUbuntuDapper

12 September 2008

memisahkan routing lokal dan international

Teknik lainnya utk memisahkan traffic data local/IIX dan International adalah dengan menggunakan mark-routingMisal untuk traffic International dilewatkan melalui gateway 203.89.24.65 sedangkan traffic local Indonesia di lewatkan melalui gateway 203.89.24.177.

Image

contoh konfigurasi IP address router user pada interface yang terhubung ke router Datautama

[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
2 10.8.8.185/24 10.8.8.0 10.8.8.255 ether3

Pertama masukkan daftar ip blok dari router NICE ke /ip firewall address-list seperti berikut:

/ ip firewall address-list
add list=nice address=58.65.240.0/23 comment=”" disabled=no
add list=nice address=58.65.242.0/23 comment=”" disabled=no
add list=nice address=58.65.244.0/23 comment=”" disabled=no
add list=nice address=58.65.246.0/23 comment=”" disabled=no
add list=nice address=58.145.174.0/24 comment=”" disabled=no
add list=nice address=58.147.184.0/24 comment=”" disabled=no
add list=nice address=58.147.185.0/24 comment=”" disabled=no
dst…

untuk mendapatkan script diatas dapat melalui URL berikut:

http://www.datautama.net.id/harijanto/mikrotik/ip_firewall_address_list_nice.php

Kemudian tandai packet data yang menuju local Indonesia

/ ip firewall mangle
add chain=postrouting dst-address-list=nice action=mark-routing \
new-routing-mark=nice passthrough=yes comment=”" disabled=no

Selanjutnya buat ip route berikut

/ ip route
add dst-address=0.0.0.0/0 gateway=
202.47.77.241 scope=255 target-scope=10 \
comment=”traffic selain local Indonesia” disabled=no
add dst-address=0.0.0.0/0 gateway=10.8.8.1 scope=255 target-scope=10 \
routing-mark=nice comment=”traffic local Indonesia” disabled=no

Dengan demikian maka jika ke jaringan local Indonesia akan melalui 203.89.24.177 sedangkan untuk ke International melalui 203.89.24.65, sehingga jika interfacenya dipisah diantara router user dengan router datautama dapat diberi dua mikrotik sebagai bridge utk melimit traffic International maupun local secara terpisah.


"tapi masalahnya kok pas di traceroute larinya ke IP 202.47.77.241 terus yach"
apa ip nya 22 nya harus Ip public yach baru bisa di pisah???

proyek blom clear===eh atpi management bandwith simple queee udah berhasil

08 September 2008

konfigurasi Mikrotik sebagai internet gateway

pertama instal dulu mikrotik Router OSnya

[admin@jetcom-test] > ip address add address=202.47.77.247 netmask=255.255.255.240 interface=ether1
[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2

untuk IP public "202.47.77.247" di tempatkan di ethernet 1
untuk Ip Private "192.168.0.1" di tempatkan di ethernet 2
__________________________________________
[admin@jetcom-test] > ip dns set primary-dns=202.47.78.8/9
[admin@jetcom-test] > ip dns print
primary-dns: 202.47.78.8
secondary-dns: 202.47.78.9
allow-remote-requests: no
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 86KiB

untuk DNS prymary dan secondarynya sesuai dengan koneksi
internetnya
============================================================
[admin@jetcom-test] > ip firewall nat add action=masquerade out-interface=ether1
[admin@jetcom-test] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether1 action=masquerade

untuk NAT nya outputnya di larikan ke interface ether1/ip
public yang kita punya
=============================================================
[admin@jetcom-test] > ip route add gateway=202.47.77.246
[admin@jetcom-test] > ip route print Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.0.0/24 192.168.0.1 ether2
1 ADC 202.47.77.240/28 202.47.77.247 ether1
2 A S 0.0.0.0/0 r 202.47.77.241 ether1

=============================================================

untuk DHCP nya menggunakan Ethernet2 yaitu IP Privatenya
192.168.0.2-192.168.0.254
/ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.100
/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1


menentukan Interface output DHCP
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool enable 0


user manager menyusul.....
"http://opiq.jardiknas.net/blog/wp-content/plugins/downloads-manager/
upload/Hotspot%20dengan%20Mikrotik.pdf"

17 September 2008

how to instal in Ubuntu or debian

Sourclist baru

# Mirror.cbn.net.id
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-security main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-proposed main restricted universe multiverse

# Mirror.kambing.ui.edu
#deb http://kambing.ui.edu/Ubuntu intrepid main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-security main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-proposed main restricted universe multiverse

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

===root@Jetcoms:/# vim /etc/apt/sources.list====

### Repository dengan menggunakan server mirror kambing.vlsm.org
deb http://kambing.vlsm.org/debian/ stable main contrib non-free
deb http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb http://kambing.vlsm.org/debian-security/ stable/updates non-free
deb-src http://kambing.vlsm.org/debian/ stable main contrib non-free
deb-src http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb-src http://kambing.vlsm.org/debian-security/ stable/updates non-free

Informasi situs: http://kambing.ui.edu

root@Jetcoms:/#apt-get update (enter)
root@Jetcoms:/#apt-get upgrade (enter)
root@Jetcoms:/#apt-get install (aplikasinya)
root@Jetcoms:/# apt-get install apache2
root@Jetcoms:/# apt-get install mysql-admin
root@Jetcoms:/#apt-get install libapache2-mod-php5
========================================================
how to change password Mysql-Admin

# /etc/init.d/mysql stop
# mysqld --skip-grant-tables
# mysqladmin -u root password 'newpasswd'
# /etc/init.d/mysql start

http://wiki.ubuntu-id.org/PanduanUbuntuDapper

12 September 2008

memisahkan routing lokal dan international

Teknik lainnya utk memisahkan traffic data local/IIX dan International adalah dengan menggunakan mark-routingMisal untuk traffic International dilewatkan melalui gateway 203.89.24.65 sedangkan traffic local Indonesia di lewatkan melalui gateway 203.89.24.177.

Image

contoh konfigurasi IP address router user pada interface yang terhubung ke router Datautama

[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
2 10.8.8.185/24 10.8.8.0 10.8.8.255 ether3

Pertama masukkan daftar ip blok dari router NICE ke /ip firewall address-list seperti berikut:

/ ip firewall address-list
add list=nice address=58.65.240.0/23 comment=”" disabled=no
add list=nice address=58.65.242.0/23 comment=”" disabled=no
add list=nice address=58.65.244.0/23 comment=”" disabled=no
add list=nice address=58.65.246.0/23 comment=”" disabled=no
add list=nice address=58.145.174.0/24 comment=”" disabled=no
add list=nice address=58.147.184.0/24 comment=”" disabled=no
add list=nice address=58.147.185.0/24 comment=”" disabled=no
dst…

untuk mendapatkan script diatas dapat melalui URL berikut:

http://www.datautama.net.id/harijanto/mikrotik/ip_firewall_address_list_nice.php

Kemudian tandai packet data yang menuju local Indonesia

/ ip firewall mangle
add chain=postrouting dst-address-list=nice action=mark-routing \
new-routing-mark=nice passthrough=yes comment=”" disabled=no

Selanjutnya buat ip route berikut

/ ip route
add dst-address=0.0.0.0/0 gateway=
202.47.77.241 scope=255 target-scope=10 \
comment=”traffic selain local Indonesia” disabled=no
add dst-address=0.0.0.0/0 gateway=10.8.8.1 scope=255 target-scope=10 \
routing-mark=nice comment=”traffic local Indonesia” disabled=no

Dengan demikian maka jika ke jaringan local Indonesia akan melalui 203.89.24.177 sedangkan untuk ke International melalui 203.89.24.65, sehingga jika interfacenya dipisah diantara router user dengan router datautama dapat diberi dua mikrotik sebagai bridge utk melimit traffic International maupun local secara terpisah.


"tapi masalahnya kok pas di traceroute larinya ke IP 202.47.77.241 terus yach"
apa ip nya 22 nya harus Ip public yach baru bisa di pisah???

proyek blom clear===eh atpi management bandwith simple queee udah berhasil

08 September 2008

konfigurasi Mikrotik sebagai internet gateway

pertama instal dulu mikrotik Router OSnya

[admin@jetcom-test] > ip address add address=202.47.77.247 netmask=255.255.255.240 interface=ether1
[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2

untuk IP public "202.47.77.247" di tempatkan di ethernet 1
untuk Ip Private "192.168.0.1" di tempatkan di ethernet 2
__________________________________________
[admin@jetcom-test] > ip dns set primary-dns=202.47.78.8/9
[admin@jetcom-test] > ip dns print
primary-dns: 202.47.78.8
secondary-dns: 202.47.78.9
allow-remote-requests: no
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 86KiB

untuk DNS prymary dan secondarynya sesuai dengan koneksi
internetnya
============================================================
[admin@jetcom-test] > ip firewall nat add action=masquerade out-interface=ether1
[admin@jetcom-test] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether1 action=masquerade

untuk NAT nya outputnya di larikan ke interface ether1/ip
public yang kita punya
=============================================================
[admin@jetcom-test] > ip route add gateway=202.47.77.246
[admin@jetcom-test] > ip route print Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.0.0/24 192.168.0.1 ether2
1 ADC 202.47.77.240/28 202.47.77.247 ether1
2 A S 0.0.0.0/0 r 202.47.77.241 ether1

=============================================================

untuk DHCP nya menggunakan Ethernet2 yaitu IP Privatenya
192.168.0.2-192.168.0.254
/ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.100
/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1


menentukan Interface output DHCP
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool enable 0


user manager menyusul.....
"http://opiq.jardiknas.net/blog/wp-content/plugins/downloads-manager/
upload/Hotspot%20dengan%20Mikrotik.pdf"