OpenWRT: Flash UBNT Bullet M2

From SpeedyWiki

Jump to: navigation, search

Contents

[edit] 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)

[edit] 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 :)

[edit] Referensi


[edit] Pranala Menarik

[edit] Build Firmware

[edit] APRX

[edit] IPv6

[edit] Flash Firmware

[edit] Misc

[edit] UBNT

Personal tools