Difference between revisions of "FIRMWARE: Update Menggunakan TFTP"

From OnnoWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sumber: http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method
 
Sumber: http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method
  
Install a TFTP client, when running some Linux distribution, do e.g.
+
Install TFTP client,
  
 
  sudo apt-get update
 
  sudo apt-get update
 
  sudo apt-get install tftp
 
  sudo apt-get install tftp
  
Prepare the interface of your PC:
+
Siapkan interface PC anda
  
 +
# untuk UBNT
 +
sudo ifconfig eth0:1 192.168.1.100
 +
 +
# untuk Buffalo
 
  sudo ifconfig eth0:1 192.168.11.2
 
  sudo ifconfig eth0:1 192.168.11.2
  
Temporarily add a static arp entry for the router's MAC address:
+
Cek MAC address Router
 +
 
 +
# untuk UBNT
 +
ping 192.168.1.10
 +
 
 +
# untuk Buffalo
 +
ping 192.168.11.1
 +
 
 +
Ketik
 +
 
 +
arp -n
 +
 
 +
Akan keluar seperti
 +
 
 +
Address                  HWtype  HWaddress          Flags Mask            Iface
 +
192.168.1.20            ether  00:15:6d:db:d1:6b  C                    eth0
 +
 
 +
 
 +
Masukan ke tabel arp statik, misalnya
 +
 
 +
# untuk UBNT
 +
sudo arp -s 192.168.1.20 00:15:6d:db:d1:6b
  
 +
# untuk Buffalo
 
  sudo arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
 
  sudo arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
  
Contoh
+
Siapkan tftp
  
 +
tftp -m binary 192.168.1.20 -c put PicoStation2-v4.0.1.build4978.bin
 
  tftp -m binary 192.168.11.1 -c put openwrt-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin
 
  tftp -m binary 192.168.11.1 -c put openwrt-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin
 +
tftp -v 192.168.2.1 -m binary -c put dd-wrt.v23_mini_generic.bin
  
 +
Langsung nyalakan router dalam waktu secepat-cepatnya
 +
 +
Di ubuntu rupanya tidak bisa menggunakan command line seperti di atas harus secara manual
 +
 +
tftp 192.168.1.20
 +
tftp> binary
 +
tftp> trace
 +
fttp> put PicoStation2-v4.0.1.build4978.bin flash_update
 +
..
 +
..
 +
received ACK <block=6569>
 +
sent DATA <block=6570, 379 bytes>
 +
received ACK <block=6570>
 +
Sent 3363707 bytes in 19.4 seconds
 +
tftp>
  
  
Line 24: Line 67:
 
* http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method
 
* http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method
 
* https://forum.openwrt.org/viewtopic.php?id=24052
 
* https://forum.openwrt.org/viewtopic.php?id=24052
 +
* http://mohammadthalif.wordpress.com/2010/03/05/installing-and-testing-tftpd-in-ubuntudebian/
 +
 +
==Pranala Menarik==
 +
 +
* [[Router firmware]]
 +
* [[OLSR]]
 +
* [[Mesh]]

Latest revision as of 20:35, 20 July 2012

Sumber: http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method

Install TFTP client,

sudo apt-get update
sudo apt-get install tftp

Siapkan interface PC anda

# untuk UBNT
sudo ifconfig eth0:1 192.168.1.100
# untuk Buffalo
sudo ifconfig eth0:1 192.168.11.2

Cek MAC address Router

# untuk UBNT
ping 192.168.1.10
# untuk Buffalo
ping 192.168.11.1

Ketik

arp -n

Akan keluar seperti

Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.20             ether   00:15:6d:db:d1:6b   C                     eth0


Masukan ke tabel arp statik, misalnya

# untuk UBNT
sudo arp -s 192.168.1.20 00:15:6d:db:d1:6b
# untuk Buffalo
sudo arp -s 192.168.11.1 02:aa:bb:cc:dd:1a

Siapkan tftp

tftp -m binary 192.168.1.20 -c put PicoStation2-v4.0.1.build4978.bin
tftp -m binary 192.168.11.1 -c put openwrt-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin
tftp -v 192.168.2.1 -m binary -c put dd-wrt.v23_mini_generic.bin

Langsung nyalakan router dalam waktu secepat-cepatnya

Di ubuntu rupanya tidak bisa menggunakan command line seperti di atas harus secara manual

tftp 192.168.1.20
tftp> binary
tftp> trace
fttp> put PicoStation2-v4.0.1.build4978.bin flash_update
..
..
received ACK <block=6569>
sent DATA <block=6570, 379 bytes>
received ACK <block=6570>
Sent 3363707 bytes in 19.4 seconds
tftp> 


Referensi

Pranala Menarik