Difference between revisions of "UBNT: openwrt"

From OnnoWiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
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==
 +
 +
* [[UBNT: Rebuild Firmware | Kita dapat merecover AirOS firmware melalui prosedur recovery firmware]]
 +
 
==Referensi==
 
==Referensi==
  
 +
* http://wiki.ubnt.com/Installing_OpenWRT_on_NanoStations/Bullets
 
* http://wiki.openwrt.org/toh/ubiquiti/nanostation
 
* http://wiki.openwrt.org/toh/ubiquiti/nanostation
 
* http://downloads.openwrt.org/snapshots/trunk/atheros/
 
* http://downloads.openwrt.org/snapshots/trunk/atheros/
 +
* http://wiki.openwrt.org/toh/start#ubiquiti
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[UBNT]]
 
* [[UBNT]]
 +
* [[UBNT: Teknik Recovery]]
 +
* [[UBNT: Upload Firmware]]
 +
* [[UBNT: Rebuild Firmware]]
 +
* [[UBNT: firmware dengan OLSR]]
 +
* [[UBNT: openwrt]]
 +
* [[UBNT: olsr dengan openwrt]]
 +
* [[UBNT: olsr dengan kamikaze openwrt]]
 +
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
 +
* [[UBNT: UniFi]]
 +
* [[UBNT: UniFi Konfigurasi Awal]]
 +
* [[UBNT: UniFi Manajemen HotSpot]]
 +
* [[UBNT: OLSR Pembuatan Firmware]]
 +
* [[UBNT: OLSR Konfigurasi]]
 +
* [[OLSR - di UBNT]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]

Latest revision as of 13:06, 22 July 2012

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