UBNT: openwrt

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://wiki.ubnt.com/Installing_OpenWRT_on_NanoStations/Bullets

Berikut adalah prosedur untuk mem-flash Ubiquiti Bullet 2 atau Nano2/Loco2. Prosedur ini akan mengganti AirOS firmware dengan OpenWRT firmware.

WARNING: penggunaan firmware ini akan men-disable beberapa fungsi device, seperti LED dan Ubiquiti Web interface. Kita dapat mengembalikannya melalui “Recovery of Ubiquiti firmware”

Download OpenWRT

Download OpenWRT firmware untuk Ubiquiti dari

http://downloads.openwrt.org/snapshots/trunk/atheros/
Nano2 http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-ubnt2-squashfs.bin
Pico2 http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin
Nano5 http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-ubnt5-squashfs.bin

Alternatif lain menggunakan Kamikaze OpenWRT (terakhir di developed 2009)

Nano2 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt2-squashfs.bin
Pico2 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin
Nano5 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt5-squashfs.bin

Flash Update

  • Set IP PC 192.168.1.x
  • 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.
  • 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'.
tftp 192.168.1.20
tftp> binary
tftp> trace
tftp> put openwrt-atheros-ubnt2-squashfs.bin flash_update

Akses ke UBNT OpenWRT

Lakukan

telnet 192.168.1.1

Akan tampak

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------
 

BusyBox v1.19.4 (2012-07-19 03:29:28 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32777)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------

Set Password Root

passwd passwordrootyangkitainginkan


Akses SSH

Selanjutnya akses menggunakan ssh

ssh root@192.168.1.1

Prosedur Recovery Firmware

Referensi

Pranala Menarik