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...)
 
Line 2: Line 2:
  
  
 +
Buat Script
  
  Set your ethernet interface ip on 192.168.11.2
+
  vi buatflashbuffalo.sh
  
Set your ethernet interface netmask on 255.255.255.0
+
Isi dengan
  
Add arp entry for 192.168.11.1 when the ethernet interface is up
+
ifconfig eth0:11 192.168.11.2
 +
arp -s 192.168.11.1 02:aa:bb:cc:dd:ff
 +
curl -T openwrt-ar71xx-generic-wzr-hp-g300n-squashfs-tftp.bin tftp://192.168.11.1
  
sudo arp -s 192.168.11.1 aa:bb:cc:dd:ee:ff
+
Save script di tempat firmware openwrt tersebut berada.
  
Download the tftp version of the right firmware Change the directory of your prompt to the firmware download directory cd /Users/yourname/Downloads/
+
* Matikan Buffalo
 +
* Masukan kabel LAN PC ke LAN4 Buffalo yang pas sebelah Internet.
 +
* Masuk ke folder tempat image openwrt berada.
 +
* Jadi superuser
  
Send your firware image with tftp
+
  sudo su
  
tftp 192.168.11.1
+
* Masukan power Buffalo
 +
* Secepatnya jalankan
  
*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.
+
./buatflashbuffalo.sh
  
tftp> verbose
+
Akan tampak pada layar
  
tftp> binary
+
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
 +
                                  Dload  Upload  Total  Spent    Left  Speed
 +
100 2560k    0    0  100 2560k      0  197k  0:00:12  0:00:12 --:--:--  367k
 +
100 2560k    0    0  100 2560k      0  197k  0:00:12  0:00:12 --:--:--  197k
  
tftp> trace
+
Jika kita cek arp -n akan tampak
 
 
tftp> rexmt 1
 
 
 
tftp> timeout 60
 
 
 
Power on your router on and plug your ethernet on a LAN port
 
 
 
Send the command put until is success
 
 
 
tftp> put linux.bin
 
 
 
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
 
 
 
tftp> put linux.bin
 
  
 +
arp -n
  
 +
Address                  HWtype  HWaddress          Flags Mask            Iface
 +
192.168.11.1            ether  02:aa:bb:cc:dd:23  CM                    eth0
  
  

Revision as of 05:09, 27 March 2013

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


Buat Script

vi buatflashbuffalo.sh

Isi dengan

ifconfig eth0:11 192.168.11.2
arp -s 192.168.11.1 02:aa:bb:cc:dd:ff
curl -T openwrt-ar71xx-generic-wzr-hp-g300n-squashfs-tftp.bin tftp://192.168.11.1

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
  • Masukan power Buffalo
  • Secepatnya jalankan
./buatflashbuffalo.sh

Akan tampak pada layar

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2560k    0     0  100 2560k      0   197k  0:00:12  0:00:12 --:--:--  367k
100 2560k    0     0  100 2560k      0   197k  0:00:12  0:00:12 --:--:--  197k

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:23   CM                    eth0


Referensi