OpenWRT: Flash Buffalo WZRHP300N

From OnnoWiki
Revision as of 12:38, 14 January 2020 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n

Install

sudo su
apt-get install curl

Buat Script

vi buatflashbuffalo.sh

Isi dengan

ifconfig eth0 192.168.11.2
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
curl -T openwrt-19.07.0-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin tftp://192.168.11.1 &

Buat Script

vi setip.sh

Isi dengan

#!/bin/bash

while [ true ];
do
ifconfig eth0 192.168.11.2
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
done


Save script di tempat firmware openwrt tersebut berada.

chmod 777 pada script

chmod 777 *sh


Save script di tempat firmware openwrt tersebut berada.

  • Matikan Buffalo
  • Masukan kabel LAN PC ke LAN4 Buffalo yang pas sebelah Internet.
  • Masuk ke folder tempat image openwrt berada.
  • Jadi superuser
 sudo su
  • Jalankan
./setip.sh &
./buatflashbuffalo.sh
  • Masukan power Buffalo

Akan tampak pada layar

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6656k    0     0  100 6656k      0   336k  0:00:19  0:00:19 --:--:--  483k
100 6656k    0     0  100 6656k      0   336k  0:00:19  0:00:19 --:--:--  336k

Jika kita cek arp -n akan tampak

arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.11.1             ether   02:aa:bb:cc:dd:1a   CM                    eth0


Referensi

Pranala Menarik

Build Firmware

IPv6

Flash Firmware

Misc

UBNT