Difference between revisions of "UBNT: openwrt"

From OnnoWiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
How to Flash a Ubiquiti Bullet, Pico or Nano/Loco with OpenWRT
+
Sumber: http://wiki.ubnt.com/Installing_OpenWRT_on_NanoStations/Bullets
  
Author: Michael Vale August 6th 2009
+
Berikut adalah prosedur untuk mem-flash Ubiquiti Bullet 2 atau Nano2/Loco2.
 +
Prosedur ini akan mengganti AirOS firmware dengan OpenWRT firmware.
  
Based on How to configure Ubiquiti Bullet 2 or Nano2/Loco 2 in mesh mode by Salvador Bertenbreiter May 3th 2009
+
WARNING: penggunaan firmware ini akan men-disable beberapa fungsi device, seperti LED dan Ubiquiti Web interface. Kita dapat mengembalikannya melalui “Recovery of Ubiquiti firmware”
  
This procedure will replace the default AirOS firmware with the OpenWRT firmware.
+
==Download OpenWRT==
  
Warning: The use of this firmware disables certain device functions, such as LED signals and the Ubiquiti Web interface. In case you want to go back to the AirOS firmware (factory default), please refer to the section “Recovery of Ubiquiti firmware”
+
Download OpenWRT firmware untuk Ubiquiti dari
  
Momentarily, this method only can be used with Bullet, Pico, Nano/Loco. Don’t try to use these steps with other Ubiquiti-based devices.
+
http://downloads.openwrt.org/snapshots/trunk/atheros/
Flash OpenWRT firmware for, Bullet, Pico, Nano/Loco (Microsoft Windows users)
+
Nano2 http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-ubnt2-squashfs.bin
Starting flash process
+
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
  
Requirements
+
Alternatif lain menggunakan Kamikaze OpenWRT (terakhir di developed 2009)
  
    - A computer running Microsoft Windows (Windows XP, Vista or 7)
+
Nano2 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt2-squashfs.bin
    - Direct Ethernet cable connection between PC and Bullet, Pico or Nano/Loco.
+
Pico2 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin
    - Network settings of PC: IP address: 192.168.1.254 and net mask: 255.255.255.0
+
Nano5 http://kamikaze.openwrt.org/8.09.2/atheros/openwrt-atheros-ubnt5-squashfs.bin
    - TFTP client on PC (TFTPD32 is recommended)
 
    - OpenWRT firmware file. You can download it from here:
 
    For Nano2 or Bullet2 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt2-squashfs.bin  
 
    For Nano5 or Bullet5 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt5-squashfs.bin  
 
    For Pico2 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin  
 
  
Steps
+
==Flash Update==
  
    - First of all, disconnect the Ethernet cable from Pico, Bullet2 or Nano/Loco2.  
+
* Set IP PC 192.168.1.x
    - Connect the Ethernet Cable and immediately press the Reset button (near the device’s RJ45 connector) for 10 seconds.  
+
* Matikan Device UBNT
    - Make sure that device responds to pinging (command: ping 192.168.1.20, by default). If not, please repeat previous steps.
+
* Tekan tombol Reset
    - Using the TFTP client, upload the firmware file (extension .bin) to the Bullet2 or Nano/Loco2 IP address (192.168.1.20, by default). If the device doesn’t accept the firmware filename, rename it to “flash_update”.
+
* Nyalakan Device UBNT
    - Signal LEDs will be blinking during firmware upgrade.
+
* Lepaskan tombol Reset setelah ~10 detik (tidak lebih) sesudah device UBNT di nyalakan. Kita akan mengetahui-nya karena LED akan berubah.
    - Wait for about 7 minutes (Warning: Do not disconnect the Ethernet cable during procedure).  
+
* 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'.
  
Configuring IP addressl
+
tftp 192.168.1.20
 +
tftp> binary
 +
tftp> trace
 +
tftp> put openwrt-atheros-ubnt2-squashfs.bin flash_update
  
Once you finish these steps your device will have the OpenWRT firmware loaded. Then point your web browser at 192.168.1.1 and proceed by setting a password for the root (administrative) account.
+
==Akses ke UBNT OpenWRT==
  
Recovery procedure
+
Lakukan
Recovery Ubiquiti Firmwarel
 
  
    Ubiquiti AirOS firmware can be downloaded from http://www.ubnt.com/support/airos.php
+
telnet 192.168.1.1
  
 +
Akan tampak
  
    - First of all, disconnect the Ethernet cable from the device.  
+
Trying 192.168.1.1...
    - Connect the Ethernet Cable and immediately press the Reset button (near the device’s RJ45 connector) for 10 seconds.  
+
Connected to 192.168.1.1.
    - Make sure that Bullet2 or Nano/Loco2 responds to pinging (command: ping 192.168.1.20, by default). If not, please repeat previous steps.  
+
Escape character is '^]'.
    - Using the TFTP client, upload the firmware file (extension .bin) to the device IP address (192.168.1.20, by default). If it doesn’t accept the firmware filename, rename it to “flash_update”.  
+
  === IMPORTANT ============================
    - Signal LEDs will be blinking during firmware upgrade.  
+
  Use 'passwd' to set your login password
     - Wait for about 7 minutes (Warning: Do not disconnect the Ethernet cable during procedure).
+
  this will disable telnet and enable SSH
    - Now the device should be alive and with the AirOS firmware loaded.  
+
  ------------------------------------------
 +
 
 +
 +
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==
Line 57: Line 93:
 
* 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