Difference between revisions of "OpenWRT: Flash Buffalo WZRHP300N"

From OnnoWiki
Jump to navigation Jump to search
(New page: Sumber: http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n Set your ethernet interface ip on 192.168.11.2 Set your ethernet interface netmask on 255.255.255.0 Add arp entry for 192.168...)
 
 
(12 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
  
Set your ethernet interface ip on 192.168.11.2
+
Buat Script
  
Set your ethernet interface netmask on 255.255.255.0
+
vi buatflashbuffalo.sh
  
Add arp entry for 192.168.11.1 when the ethernet interface is up
+
Isi dengan
  
sudo arp -s 192.168.11.1 aa:bb:cc:dd:ee:ff
+
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 &
  
Download the tftp version of the right firmware Change the directory of your prompt to the firmware download directory cd /Users/yourname/Downloads/
+
Buat Script
  
Send your firware image with tftp
+
vi setip.sh
  
tftp 192.168.11.1
+
Isi dengan
  
*from this point, you're under tftp command prompt, the "tftp>" is the prompt tftp gives you, you just need to type the command AFTER that.
+
#!/bin/bash
 +
 +
while [ true ];
 +
do
 +
ifconfig eth0 192.168.11.2
 +
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 +
done
  
tftp> verbose
 
  
tftp> binary
+
Save script di tempat firmware openwrt tersebut berada.
  
tftp> trace
+
chmod 777 pada script
  
tftp> rexmt 1
+
chmod 777 *sh
  
tftp> timeout 60
 
  
Power on your router on and plug your ethernet on a LAN port
+
Save script di tempat firmware openwrt tersebut berada.
  
Send the command put until is success
+
* Matikan Buffalo
 +
* Masukan kabel LAN PC ke LAN4 Buffalo yang pas sebelah Internet.
 +
* Masuk ke folder tempat image openwrt berada.
 +
* Jadi superuser
  
tftp> put linux.bin
+
  sudo su
  
putting linux.bin to 192.168.11.1:linux.bin [octet] sent WRQ <file=linux.bin, mode=octet> tftp: sendto: Can't assign requested address
+
* Jalankan
  
tftp> put linux.bin
+
./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
  
  
Line 46: Line 73:
  
 
* http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n
 
* http://wiki.openwrt.org/toh/buffalo/whr-hp-g300n
 +
 +
==Pranala Menarik==
 +
 +
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 +
* [[OpenWRT: Source Repository Download]]
 +
* [[OpenWRT: Melihat Daftar Package]]
 +
 +
===Build Firmware===
 +
 +
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Download Source Pendukung]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[Buffalo]]
 +
* [[Buffalo: WZRHPG450H Cara Recovery]]
 +
* [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]]
 +
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''COOL'''
 +
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]]
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[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===
 +
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]]
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]]
 +
* [[OpenWRT: Flash UBNT NanoStation M2]]
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
 +
===Misc===
 +
 +
* [[OpenWRT: Setup WiFi]]
 +
* [[OpenWRT: Setup PPTP VPN Server]]
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 +
* [[OpenWRT: Mikrotik RB433]]
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
 +
===UBNT===
 +
 +
* [[UBNT]]
 +
* [[UBNT: Teknik Recovery]]
 +
* [[UBNT: Upload Firmware]]
 +
* [[UBNT: Rebuild Firmware]]
 +
* [[UBNT: firmware dengan OLSR]]
 +
* [[UBNT: openwrt]]
 +
* [[UBNT: olsr dengan openwrt]]
 +
* [[UBNT: olsr dengan kamikaze openwrt]]
 +
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
 +
* [[UBNT: UniFi]]
 +
* [[UBNT: UniFi Konfigurasi Awal]]
 +
* [[UBNT: UniFi Manajemen HotSpot]]
 +
* [[UBNT: OLSR Pembuatan Firmware]]
 +
* [[UBNT: OLSR Konfigurasi]]
 +
* [[OLSR - di UBNT]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]

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