Thursday, December 22, 2011

Status PTAPB Yogyakarta 22 Desember 2011

Pada Senin, tanggal 19 Desember 2011 sore hari, sambaran petir telah merusakkan 4 unit Fast Ethernet Switch di Gd. 02 (Kimia), Gd. 04 (Reaktor), Gd. 22 (BK2) dan Gd. 14 (MBE). Selain itu, 1 unit AP di Wisma Tamu mengalami kerusakan. Satu 1 buah media converter FO-UTP di Gd. 14 (MBE) juga mengalami kerusakan. Selain itu 5 buah board PABX juga ikut tersambar petir. Satu board PABX berisi 8 satuan sambungan telpon (SST). Berarti ada 60 nomor ekstensi yang tidak berfungsi.

Untuk melakukan penggantian, pada Selasa, 20 Desember 2011 telah dikirim 4 unit Fast Ethernet Switch cadangan. Meskipun keempat switch ini bekas pakai, namun diharapkan masih berfungsi baik. Pada Rabu, 21 Desember 2011, dikirim lagi sebuah D-Link 24-Port Fast Ethernet Desktop Switch Model DES-1024D dengan S/N : F30H49C011540.

Tujuan awal ke PTAPB adalah
  1. Konfigurasi Network Camera
  2. Implementasi load balancing berbasis ppc
  3. Penggantian Access Point di Wisma Tamu
Saat ini baru pekerjaan konfigurasi network camera yang dikerjakan. Network camera menggunakan produk Avtech model AVN212Z(EU)/F46-S. Dalam percobaan ini digunakan 2 unit dengan diletakkan pada subnet yang berbeda. Cam1 diberi IP 192.168.42.9 dan Cam2 diberi IP 192.168.47.9.

Selain menggunakan 2 unit kamera, percobaan ini juga menggunakan 2 komputer. Komp1 diberi IP 192.168.48.2 dan Komp2 diberi IP 192.168.47.38. Komp1 menggunakan sistem operasi IGN6 dan Komp2 menggunakan Win7.

Fakta :
  1. Ping dari Komp1 ke Cam1 : OK
  2. Ping dari Komp2 ke Cam2 : OK
  3. Ping dari Komp1 ke Komp2 : OK (kalau Komp2 pakai Mac OS)
  4. Ping dari Komp1 ke Cam2 : Gagal (Destination Host Unreachable)
  5. Ping dari Komp2 ke Cam1 : Gagal (Time out)
  6. Ping dari Komp1 ke komputer 192.168.42.x : ada yang bisa dan ada yang gagal.
  7. Ping dari Komp1 ke komputer 192.168.47.x : ada yang bisa dan ada yang gagal.
Dicoba rekonfigurasi pada sisi Network Cam, yaitu pada Network dan Filter. Pada Network dilakukan penyesuaian pada Gateway, Net Mask, DNS1 dan DNS2. Sehingga konfigurasi pada Cam1 menjadi :

Server IP : 192.168.42.9
Gateway : 192.168.42.1
Net Mask : 255.255.248.0
Port : 80
DNS1 : dikosongkan
DNS2 : dikosongkan

Konfigurasi Cam2 menjadi :

Server IP : 192.168.47.9
Gateway : 192.168.47.1
Net Mask : 255.255.248.0
Port : 80
DNS1 : dikosongkan
DNS2 : dikosongkan

Catatan: tadinya net masknya adalah 255.255.255.0

Pada Filter dilakukan penyesuaian sehingga pada Cam1 dan Cam2 menjadi :
IP/MAC Filter: Enable
IP/MAC Filter Policy: Allow
Rule : 192.168.40.0/21

Namun akses lintas sub net tetap saja belum bisa. Aneehhhh

Coba nge-scan subnet sendiri dengan Komp1 :

[root@localhost plugins]# nmap -sP 192.168.42.0/24


Starting Nmap 5.50 ( http://nmap.org ) at 2011-12-22 15:32 WIT
Nmap scan report for ptapb.net (192.168.42.1)
Host is up (0.00014s latency).
MAC Address: 00:0C:42:B6:82:19 (Routerboard.com)
Nmap scan report for 192.168.42.7
Host is up (0.00062s latency).
MAC Address: 00:1C:10:34:EB:10 (Cisco-Linksys)
Nmap scan report for 192.168.42.8
Host is up.
Nmap scan report for 192.168.42.9
Host is up (0.00039s latency).
MAC Address: 00:0E:53:1E:08:24 (AV Tech)
Nmap scan report for 192.168.42.10
Host is up (0.00024s latency).
MAC Address: 00:1D:0F:C1:84:15 (Tp-link Technologies Co.)
Nmap scan report for 192.168.42.15
Host is up (0.00023s latency).
MAC Address: 00:19:D1:87:D7:D8 (Intel)
Nmap scan report for 192.168.42.27
Host is up (0.066s latency).
MAC Address: C4:46:19:6B:76:0B (Hon Hai Precision Ind. Co.)
Nmap scan report for 192.168.42.30
Host is up (0.00069s latency).
MAC Address: 00:30:67:25:9F:9C (Biostar Microtech Int'l)
Nmap scan report for 192.168.42.33
Host is up (0.039s latency).
MAC Address: 00:22:5F:B8:E6:78 (Liteon Technology)
Nmap scan report for 192.168.42.108
Host is up (0.00023s latency).
MAC Address: 00:19:21:57:50:1D (Elitegroup Computer System Co.)
Nmap done: 256 IP addresses (10 hosts up) scanned in 15.83 seconds

Cek sistem operasi dari Cam1

[root@localhost ~]# nmap -O 192.168.42.9

Starting Nmap 5.50 ( http://nmap.org ) at 2011-12-23 08:15 WIT
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
Nmap scan report for 192.168.42.9
Host is up (0.00087s latency).
Not shown: 998 closed ports
PORT    STATE SERVICE
80/tcp  open  http
554/tcp open  rtsp
MAC Address: 00:0E:53:1E:08:24 (AV Tech)
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=5.50%D=12/23%OT=80%CT=1%CU=38029%PV=Y%DS=1%DC=D%G=Y%M=000E53%TM=4
OS:EF3D63C%P=i686-pc-linux-gnu)SEQ(SP=C3%GCD=1%ISR=CB%TI=Z%CI=I%II=I%TS=7)S
OS:EQ(SP=C6%GCD=1%ISR=D0%TI=Z%CI=I%II=I%TS=7)OPS(O1=M5B4ST11NW2%O2=M5B4ST11
OS:NW2%O3=M5B4NNT11NW2%O4=M5B4ST11NW2%O5=M5B4ST11NW2%O6=M5B4ST11)WIN(W1=16A
OS:0%W2=16A0%W3=16A0%W4=16A0%W5=16A0%W6=16A0)ECN(R=Y%DF=Y%T=40%W=16D0%O=M5B
OS:4NNSNW2%CC=N%Q=)T1(R=Y%DF=Y%T=40%S=O%A=S+%F=AS%RD=0%Q=)T2(R=N)T3(R=Y%DF=
OS:Y%T=40%W=16A0%S=O%A=S+%F=AS%O=M5B4ST11NW2%RD=0%Q=)T4(R=Y%DF=Y%T=40%W=0%S
OS:=A%A=Z%F=R%O=%RD=0%Q=)T5(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R
OS:=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=
OS:AR%O=%RD=0%Q=)U1(R=Y%DF=N%T=40%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%
OS:RUD=G)IE(R=Y%DFI=N%T=40%CD=S)

Network Distance: 1 hop

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 40.20 seconds


Coba nge-scan subnet lain dengan Komp1 :

[root@localhost plugins]# nmap -sP 192.168.47.0/24


Starting Nmap 5.50 ( http://nmap.org ) at 2011-12-22 15:30 WIT
Nmap scan report for 192.168.47.1
Host is up (0.00094s latency).
Nmap scan report for 192.168.47.22
Host is up (0.0011s latency).
Nmap scan report for 192.168.47.40
Host is up (0.25s latency).
Nmap scan report for 192.168.47.41
Host is up (0.00095s latency).
Nmap done: 256 IP addresses (4 hosts up) scanned in 60.09 seconds


Coba di-ping satu persatu, lintas subnet

[root@localhost plugins]# ping 192.168.47.1
PING 192.168.47.1 (192.168.47.1) 56(84) bytes of data.
64 bytes from 192.168.47.1: icmp_req=1 ttl=64 time=0.352 ms
64 bytes from 192.168.47.1: icmp_req=2 ttl=64 time=0.331 ms
^C
--- 192.168.47.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.331/0.341/0.352/0.021 ms

[root@localhost plugins]# ping 192.168.47.22
PING 192.168.47.22 (192.168.47.22) 56(84) bytes of data.
64 bytes from 192.168.47.22: icmp_req=1 ttl=63 time=0.533 ms
64 bytes from 192.168.47.22: icmp_req=2 ttl=63 time=0.444 ms
^C
--- 192.168.47.22 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.444/0.488/0.533/0.049 ms

[root@localhost plugins]# ping 192.168.47.40
PING 192.168.47.40 (192.168.47.40) 56(84) bytes of data.
^C
--- 192.168.47.40 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms

[root@localhost plugins]# ping 192.168.47.41
PING 192.168.47.41 (192.168.47.41) 56(84) bytes of data.
64 bytes from 192.168.47.41: icmp_req=1 ttl=63 time=0.438 ms
64 bytes from 192.168.47.41: icmp_req=2 ttl=63 time=0.364 ms
^C
--- 192.168.47.41 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.364/0.401/0.438/0.037 ms

Dari 3 client yang di-scan, 2 client bisa (192.168.47.22 dan 192.168.47.41) dan 1 client tidak bisa (192.168.47.40). Sekarang dilihat apakah ada hubungannya dengan sistem operasi atau status port.

[root@localhost plugins]# nmap -O 192.168.47.22


Starting Nmap 5.50 ( http://nmap.org ) at 2011-12-22 15:34 WIT
Nmap scan report for 192.168.47.22
Host is up (0.00042s latency).
Not shown: 992 filtered ports
PORT    STATE  SERVICE
22/tcp  closed ssh
53/tcp  open   domain
80/tcp  closed http
139/tcp closed netbios-ssn
443/tcp closed https
445/tcp closed microsoft-ds
515/tcp closed printer
631/tcp closed ipp
Device type: general purpose|WAP|router|firewall|broadband router|phone|remote management
Running (JUST GUESSING): Linux 2.6.X|2.4.X (95%), D-Link embedded (95%), Linksys embedded (95%), Peplink embedded (95%), Check Point Linux 2.4.X (92%), Dell embedded (90%)
Aggressive OS guesses: Linux 2.6.23 - 2.6.33 (95%), Linux 2.6.15 - 2.6.30 (95%), Linux 2.6.22 (Fedora Core 6) (95%), Linux 2.6.31 - 2.6.34 (95%), D-Link DSA-3100 or Linksys WRT54GL (DD-WRT v23) WAP, or Peplink Balance 30 router (95%), DD-WRT v24-sp2 (Linux 2.6) (94%), Linux 2.6.22 (93%), Linux 2.6.19 - 2.6.35 (93%), Linux 2.6.31 (92%), Check Point VPN-1 UTM appliance (92%)
No exact OS matches for host (test conditions non-ideal).


OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 8.85 seconds


[root@localhost plugins]# nmap -O 192.168.47.41


Starting Nmap 5.50 ( http://nmap.org ) at 2011-12-22 15:36 WIT
Nmap scan report for 192.168.47.41
Host is up (0.00033s latency).
Not shown: 992 filtered ports
PORT    STATE  SERVICE
22/tcp  closed ssh
53/tcp  open   domain
80/tcp  closed http
139/tcp closed netbios-ssn
443/tcp closed https
445/tcp closed microsoft-ds
515/tcp closed printer
631/tcp closed ipp
Device type: general purpose|WAP|router|firewall|broadband router|remote management
Running (JUST GUESSING): Linux 2.6.X|2.4.X (95%), D-Link embedded (95%), Linksys embedded (95%), Peplink embedded (95%), Check Point Linux 2.4.X (92%), Dell embedded (90%), Linksys Linux 2.4.X (90%)
Aggressive OS guesses: Linux 2.6.23 - 2.6.33 (95%), Linux 2.6.15 - 2.6.30 (95%), Linux 2.6.31 - 2.6.34 (95%), D-Link DSA-3100 or Linksys WRT54GL (DD-WRT v23) WAP, or Peplink Balance 30 router (95%), Linux 2.6.22 (Fedora Core 6) (94%), DD-WRT v24-sp2 (Linux 2.6) (94%), Linux 2.6.22 (93%), Linux 2.6.19 - 2.6.35 (93%), Linux 2.6.31 (92%), Check Point VPN-1 UTM appliance (92%)
No exact OS matches for host (test conditions non-ideal).


OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 8.74 seconds

Pengaturan IP, subnet dan port di RB1100:
  1. 192.168.41.x = Reaktor (eth4)
  2. 192.168.42.x = TU (eth3)
  3. 192.168.43.x = ITP (eth5)
  4. 192.168.44.x = KIMIA (eth6)
  5. 192.168.45.x = BK2 (eth7)
  6. 192.168.46.x = MBE (eth8)
  7. 192.168.47.x = BEM (eth10)
  8. 192.168.48.x = STTN (eth9)
AP
Senao ECB3220 = wisma_batan = tu.5 = ch 5
Linksys WRT54GL = Ruang Sidang Kapus  = tu.6 = ch 3
Linksys WRT300N = ptapb_gd_01_lt_2_ruang = tu.7 = ch 1



IGN6

[intranet@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.38.8-31.ign6.i686 #1 SMP Mon Jun 6 21:59:56 WIT 2011 i686 i686 i386 GNU/Linux
[intranet@localhost ~]$

Install JRE
http://www.java.com/en/download/linux_manual.jsp?locale=en

Linux RPM filesize: 20.2 MB
Linux (self-extracting file) filesize: 20.7 MB
Linux x64 * filesize: 20.3 MB
Linux x64 RPM * filesize: 19.7 MB

Pilih yang
Linux (self-extracting file) filesize: 20.7 MB

Tes JRE
http://javatester.org/enabled.html

Hasil tes
LIVE : This web browser can NOT run Java applets.

[intranet@localhost ~]$ su -
Password:
[root@localhost ~]# cd /usr
[root@localhost usr]# mkdir java
[root@localhost usr]# cd java
[root@localhost java]# cp /home/intranet/Unduhan/jre-6u30-linux-i586.bin .
[root@localhost java]#

[root@localhost java]# chmod a+x jre-6u30-linux-i586.bin

[root@localhost java]# alternatives --install /usr/bin/java java /usr/java/jre1.6.0_30/bin/java 3
[root@localhost java]# alternatives --config java

Ada 3 program yang menyediakan 'java'.

  Perintah yang dipilih
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
   2           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
   3           /usr/java/jre1.6.0_30/bin/java

Enter untuk mempertahankan pilihan[+] saat ini, atau ketik nomer yang dipilih:
[root@localhost java]# java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (fedora-58.1.10.2.fc15-i386)
OpenJDK Server VM (build 20.0-b11, mixed mode)

[root@localhost java]# cd /usr/lib/mozilla/plugins/

[root@localhost plugins]# ln -s /usr/java/jre1.6.0_30/lib/i386/libnpjp2.so

Setelah Firefox di-restart, masuk ke http://javatester.org/enabled.html
Tampilan menjadi :
LIVE : This web browser can indeed run Java applets.