Difference between revisions of "UBNT: openwrt"

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
  Pico2 http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-ubnt2-pico2-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
 
  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==
 
==Flash Update==
  
Steps
+
* 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
  
    - First of all, disconnect the Ethernet cable from Pico, Bullet2 or Nano/Loco2.
 
    - 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
+
===Akses SSH===
  
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.
+
Selanjutnya akses menggunakan ssh
  
 +
ssh root@192.168.1.1
  
 
==Prosedur Recovery Firmware==
 
==Prosedur Recovery Firmware==
Line 40: 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 45: 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