Difference between revisions of "UBNT: openwrt"

From OnnoWiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
WARNING: penggunaan firmware ini akan men-disable beberapa fungsi device, seperti LED dan Ubiquiti Web interface. Kita dapat mengembalikannya melalui “Recovery of Ubiquiti 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
 
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
  
Requirements
+
==Flash Update==
  
    - A computer running Microsoft Windows (Windows XP, Vista or 7)
+
* Set IP PC 192.168.1.x
    - Direct Ethernet cable connection between PC and Bullet, Pico or Nano/Loco.
+
* Matikan Device UBNT
    - Network settings of PC: IP address: 192.168.1.254 and net mask: 255.255.255.0
+
* Tekan tombol Reset
    - TFTP client on PC (TFTPD32 is recommended)  
+
* Nyalakan Device UBNT
    - OpenWRT firmware file. You can download it from here:
+
* Lepaskan tombol Reset setelah ~10 detik (tidak lebih) sesudah device UBNT di nyalakan. Kita akan mengetahui-nya karena LED akan berubah.
    For Nano2 or Bullet2 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt2-squashfs.bin
+
* Ping 192.168.1.20. Jika ada responds, kita siap untuk meng-upload image. Jika tidak maka mulai lagi dari awal.
    For Nano5 or Bullet5 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt5-squashfs.bin
+
* tftp image menggunakan mode binary ke 192.168.1.20 sebagai 'flash_update'.
    For Pico2 devices: http://kamikaze.openwrt.org/8.09.1/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin
 
  
Steps
+
tftp 192.168.1.20
 +
tftp> binary
 +
tftp> trace
 +
tftp> put openwrt-atheros-ubnt2-squashfs.bin flash_update
  
    - First of all, disconnect the Ethernet cable from Pico, Bullet2 or Nano/Loco2.
+
==Akses ke UBNT OpenWRT==
    - Connect the Ethernet Cable and immediately press the Reset button (near the device’s RJ45 connector) for 10 seconds.
 
    - Make sure that device responds to pinging (command: ping 192.168.1.20, by default). If not, please repeat previous steps.
 
    - 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”.
 
    - Signal LEDs will be blinking during firmware upgrade.
 
    - Wait for about 7 minutes (Warning: Do not disconnect the Ethernet cable during procedure).
 
  
Configuring IP addressl
+
Lakukan
  
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.
+
telnet 192.168.1.1
  
Recovery procedure
+
Akan tampak
Recovery Ubiquiti Firmwarel
 
  
     Ubiquiti AirOS firmware can be downloaded from http://www.ubnt.com/support/airos.php
+
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
  
    - First of all, disconnect the Ethernet cable from the device.
+
passwd passwordrootyangkitainginkan
    - Connect the Ethernet Cable and immediately press the Reset button (near the device’s RJ45 connector) for 10 seconds.
 
    - Make sure that Bullet2 or Nano/Loco2 responds to pinging (command: ping 192.168.1.20, by default). If not, please repeat previous steps.
 
    - 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”.
 
    - Signal LEDs will be blinking during firmware upgrade.
 
    - Wait for about 7 minutes (Warning: Do not disconnect the Ethernet cable during procedure).
 
    - Now the device should be alive and with the AirOS firmware loaded.
 
  
 +
 +
===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 56: 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==
Line 61: Line 99:
 
* [[UBNT]]
 
* [[UBNT]]
 
* [[UBNT: Teknik Recovery]]
 
* [[UBNT: Teknik Recovery]]
 +
* [[UBNT: Upload Firmware]]
 
* [[UBNT: Rebuild Firmware]]
 
* [[UBNT: Rebuild Firmware]]
 +
* [[UBNT: firmware dengan OLSR]]
 
* [[UBNT: openwrt]]
 
* [[UBNT: openwrt]]
 
* [[UBNT: olsr dengan 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 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