Difference between revisions of "OpenWRT: Flash UBNT Bullet M2"

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
 
  /usr/sbin/fwupdate -m
 
  /usr/sbin/fwupdate -m
  
 
+
Masalah dengan cara ini, kita tidak tahu password root :)
 
 
Firmware Install Ubnt Recovery Method
 
 
 
If you prefer TFTP, than you can update via holding down the reset-button for 10 seconds on startup, and send the firmware to 192.168.1.20
 
 
 
  
 
==Referensi==
 
==Referensi==
  
 
* http://wiki.openwrt.org/toh/ubiquiti/bullet
 
* http://wiki.openwrt.org/toh/ubiquiti/bullet

Revision as of 04:37, 29 November 2013

Coba Menggunakan Shell Scipt

  • Buat shell script sederhana isinya
ifconfig eth0 192.168.1.254
cp openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin code.bin
echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput code.bin flash_update\n" | tftp 192.168.1.20
  • lakukan chmod 777 shellscript.sh tersebut
  • Jalankan di folder tempat firmware berada
  • Matikan UBNT
  • Tekan Reset ~10 detik
  • Nyalakan UBNT sambil reset di tekan.
  • Pastikan lampu FLIP-FLOP
  • Jika transfer berhasil maka lampu akan menyala ke kiri dan ke kanan terus menerus.
  • ping sampai ada responds.
ping 192.168.1.20 (utk firmware UBNT)
ping 192.168.1.1  (utk firmware OpenWRT)

Coba Firmware Install

To flash an already running bullet with original firmware (AirOS) on CLI, you must do this:

ssh root@yourbullet
url="http://downloads.openwrt.org/snapshots/trunk/ar71xx"
url="$url/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin"

wget -O /tmp/fwupdate.bin "$url"
/usr/sbin/fwupdate -m

Masalah dengan cara ini, kita tidak tahu password root :)

Referensi