OpenWRT: Flash UBNT Bullet M2

From OnnoWiki
Jump to navigation Jump to search

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
  • JANGANKAN SCRIPT
  • Jika transfer berhasil maka lampu akan menyala ke kiri dan ke kanan terus menerus.
  • Setelah Selesai 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


Pranala Menarik

Build Firmware

APRX

IPv6

Flash Firmware

Misc

UBNT