Difference between revisions of "UBNT: Upload Firmware"

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* Set IP PC 192.168.1.254/24
 
* Set IP PC 192.168.1.254/24
  
  ifconfig eth0 192.168.1.254 netmask 255.255.255.0
+
  ifconfig eth5 192.168.1.254 netmask 255.255.255.0
  
 
* Pindah ke folder tempat image, misalnya
 
* Pindah ke folder tempat image, misalnya
  
  ~/openwrt.trunk/trunk/atheros/
+
  ~/openwrt.trunk/trunk/bin/atheros
  
 
* Matikan Device UBNT
 
* Matikan Device UBNT
Line 19: Line 19:
 
  tftp> binary
 
  tftp> binary
 
  tftp> trace
 
  tftp> trace
  tftp> put openwrt-atheros-ubnt2-squashfs.bin flash_update
+
  tftp> put openwrt-ath25-ubnt2-squashfs.bin flash_update
 
  ..
 
  ..
 
  ..
 
  ..
Line 31: Line 31:
  
 
==Coba Menggunakan Shell Scipt==
 
==Coba Menggunakan Shell Scipt==
 +
 +
* install aplikasi
 +
 +
apt-get install tftp
  
 
* Buat shell script sederhana isinya
 
* Buat shell script sederhana isinya
  
  ifconfig eth0 192.168.1.254
+
  ifconfig eth5 192.168.1.254
  cp openwrt-atheros-ubnt2-squashfs.bin code.bin
+
  cp openwrt-atheros-ubnt2-squashfs.bin code.bin
 
  echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput openwrt-atheros-ubnt2-squashfs.bin flash_update\n" | tftp 192.168.1.20
 
  echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput openwrt-atheros-ubnt2-squashfs.bin flash_update\n" | tftp 192.168.1.20
  
 
* lakukan chmod 777 shellscript.sh tersebut
 
* lakukan chmod 777 shellscript.sh tersebut
 
* Jalankan di folder tempat firmware berada
 
* Jalankan di folder tempat firmware berada
* Nyalakan UBNT
+
* Matikan UBNT
 +
* Tekan Reset ~10 detik
 +
* Nyalakan UBNT sambil reset di tekan.
 +
* Pastikan lampu '''FLIP-FLOP'''
 +
 
 +
* '''JALANKAN SCRIPT'''
 
* Jika transfer berhasil maka lampu akan menyala ke kiri dan ke kanan terus menerus.
 
* Jika transfer berhasil maka lampu akan menyala ke kiri dan ke kanan terus menerus.
* ping sampai ada responds.
+
 
 +
* Setelah Selesai ping sampai ada responds.
  
 
  ping 192.168.1.20 (utk firmware UBNT)
 
  ping 192.168.1.20 (utk firmware UBNT)
Line 63: Line 73:
  
 
==Pranala Menarik==
 
==Pranala Menarik==
 +
 +
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 +
* [[OpenWRT: Source Repository Download]]
 +
* [[OpenWRT: Melihat Daftar Package]]
 +
 +
===Build Firmware===
 +
 +
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Download Source Pendukung]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[Buffalo]]
 +
* [[Buffalo: WZRHPG450H Cara Recovery]]
 +
* [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]]
 +
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''RECOMMENDED'''
 +
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStationM2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 +
===APRX===
 +
 +
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2 untuk APRX]]
 +
 +
===IPv6===
 +
 +
* [[OpenWRT: IPv6]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]]
 +
* [[OpenWRT IPv6: Konfigurasi]]
 +
* [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]]
 +
 +
===Flash Firmware===
 +
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash UBNT NanoStation M2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
* [[OpenWRT: Flash UBNT Bullet M2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Mikrotik RB433]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Mikrotik RB450]]
 +
 +
===Misc===
 +
 +
* [[OpenWRT: Setup WiFi]]
 +
* [[OpenWRT: Setup PPTP VPN Server]]
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]] '''RECOMMENDED'''
 +
* [[OpenWRT: Mikrotik RB433]] '''RECOMMENDED'''
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OpenWRT: Setup OLSR via Web]] '''RECOMMENDED'''
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
* [[OpenWRT: OLSR nameservice plugin]]
 +
 +
===UBNT===
  
 
* [[UBNT]]
 
* [[UBNT]]
Line 72: Line 151:
 
* [[UBNT: olsr dengan openwrt]]
 
* [[UBNT: olsr dengan openwrt]]
 
* [[UBNT: olsr dengan kamikaze openwrt]]
 
* [[UBNT: olsr dengan kamikaze openwrt]]
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
+
* [[UBNT: olsr dengan backfire openwrt]]
 
* [[UBNT: UniFi]]
 
* [[UBNT: UniFi]]
 
* [[UBNT: UniFi Konfigurasi Awal]]
 
* [[UBNT: UniFi Konfigurasi Awal]]
Line 81: Line 160:
 
* [[OLSR - di Ubuntu]]
 
* [[OLSR - di Ubuntu]]
 
* [[OpenWRT]]
 
* [[OpenWRT]]
 +
* [[OLSR: NAT di UBNT dengan OLSR]]

Latest revision as of 15:51, 2 November 2015

Teknik upload firmware sama dengan teknik recovery

  • Set IP PC 192.168.1.254/24
ifconfig eth5 192.168.1.254 netmask 255.255.255.0
  • Pindah ke folder tempat image, misalnya
~/openwrt.trunk/trunk/bin/atheros
  • Matikan Device UBNT
  • Tekan tombol Reset
  • Nyalakan Device UBNT
  • Lepaskan tombol Reset setelah ~10 detik (tidak lebih) sesudah device UBNT di nyalakan. Kita akan mengetahui-nya karena LED akan berubah / menyala seperti flip-flop.
  • Ping 192.168.1.20. Jika ada responds, kita siap untuk meng-upload image. Jika tidak maka mulai lagi dari awal.
  • tftp image menggunakan mode binary ke 192.168.1.20 sebagai 'flash_update', misalnya,
tftp 192.168.1.20
tftp> binary
tftp> trace
tftp> put openwrt-ath25-ubnt2-squashfs.bin flash_update
..
..
sent DATA <block=6228, 512 bytes>
received ACK <block=6228>
sent DATA <block=6229, 351 bytes>
received ACK <block=6229>
Sent 3189087 bytes in 23.6 seconds
tftp> quit


Coba Menggunakan Shell Scipt

  • install aplikasi
apt-get install tftp
  • Buat shell script sederhana isinya
ifconfig eth5 192.168.1.254
cp openwrt-atheros-ubnt2-squashfs.bin code.bin
echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput openwrt-atheros-ubnt2-squashfs.bin flash_update\n" | tftp 192.168.1.20
  • lakukan chmod 777 shellscript.sh tersebut
  • Jalankan di folder tempat firmware berada
  • Matikan UBNT
  • Tekan Reset ~10 detik
  • Nyalakan UBNT sambil reset di tekan.
  • Pastikan lampu FLIP-FLOP
  • JALANKAN SCRIPT
  • Jika transfer berhasil maka lampu akan menyala ke kiri dan ke kanan terus menerus.
  • Setelah Selesai ping sampai ada responds.
ping 192.168.1.20 (utk firmware UBNT)
ping 192.168.1.1  (utk firmware OpenWRT)

Cek UBNT

  • Diamkan beberapa saat. Device jangan di apa-apakan.
  • Tunggu sekitar 1 menit-an
  • ping 192.168.1.20 atau 192.168.1.1
  • Semoga ada responds :) ...

Telnet untuk Reset Password

  • Setelah bisa ping
  • telnet ke 192.168.1.1 untuk reset password



Pranala Menarik

Build Firmware

APRX

IPv6

Flash Firmware

Misc

UBNT