Difference between revisions of "OpenWRT: Flash Buffalo WZRHP300N"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sumber: http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n
 
Sumber: http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n
  
 +
Install
 +
 +
sudo su
 +
apt-get install curl
  
 
Buat Script
 
Buat Script
Line 10: Line 14:
 
  ifconfig eth0 192.168.11.2
 
  ifconfig eth0 192.168.11.2
 
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
  curl -T openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin tftp://192.168.11.1 &
+
  curl -T openwrt-19.07.0-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin tftp://192.168.11.1 &
ifconfig eth0 192.168.11.2
+
 
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
+
Buat Script
ifconfig eth0 192.168.11.2
+
 
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
+
  vi setip.sh
ifconfig eth0 192.168.11.2
+
 
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
+
Isi dengan
ifconfig eth0 192.168.11.2
+
 
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
+
  #!/bin/bash
  ifconfig eth0 192.168.11.2
+
   
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
+
  while [ true ];
  ifconfig eth0 192.168.11.2
+
  do
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 
ifconfig eth0 192.168.11.2
 
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 
 
  ifconfig eth0 192.168.11.2
 
  ifconfig eth0 192.168.11.2
 
  arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 
  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.
 
Save script di tempat firmware openwrt tersebut berada.
Line 37: Line 47:
 
   sudo su
 
   sudo su
  
* Masukan power Buffalo
+
* Jalankan
* Tunggu sekitar 3-4 detik, kemudian jalankan
 
  
 +
./setip.sh &
 
  ./buatflashbuffalo.sh
 
  ./buatflashbuffalo.sh
  
 +
* Masukan power Buffalo
  
 
Akan tampak pada layar
 
Akan tampak pada layar
Line 73: Line 84:
  
 
* [[OpenWRT: Build Firmware]]
 
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Download Source Pendukung]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]]
 
* [[Buffalo]]
 
* [[Buffalo]]
 
* [[Buffalo: WZRHPG450H Cara Recovery]]
 
* [[Buffalo: WZRHPG450H Cara Recovery]]
Line 84: Line 97:
 
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 +
===IPv6===
 +
 +
* [[OpenWRT: IPv6]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]]
 +
* [[OpenWRT IPv6: Konfigurasi]]
 +
* [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]]
  
 
===Flash Firmware===
 
===Flash Firmware===
Line 97: Line 121:
 
===Misc===
 
===Misc===
  
 +
* [[OpenWRT: Setup WiFi]]
 +
* [[OpenWRT: Setup PPTP VPN Server]]
 
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 
* [[OpenWRT: Mikrotik RB433]]
 
* [[OpenWRT: Mikrotik RB433]]

Latest revision as of 12:38, 14 January 2020

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