Difference between revisions of "OpenWRT: Flash Linksys WRT160NL"

From OnnoWiki
Jump to navigation Jump to search
Line 62: Line 62:
 
  Retype password:  
 
  Retype password:  
 
  Password for root changed by root
 
  Password for root changed by root
 +
 +
 +
Setelah root password diubah kita dapat mengakses Web & SSH.
  
 
==Referensi==
 
==Referensi==

Revision as of 10:20, 10 April 2013

Sumber: http://wiki.openwrt.org/toh/linksys/wrt160nl#jtag

  • Matikan router
  • Sambungkan kabel LAN laptop ke LAN di router
  • rename firmware menjadi code.bin
cd openwrt.trunk/openwrt/bin/ar71xx
cp openwrt-ar71xx-generic-wrt160nl-squashfs-factory.bin code.bin
  • ketik di shell
ifconfig eth0 192.168.1.254
echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput code.bin\n" | tftp 192.168.1.1
  • Nyalakan router

Sesudah FLashing

  • Tunggu sampai selesai proses tranfer
  • Tunggu sampai router booting kembali
  • ping 192.168.1.1 pastikan ada responds
ping 192.168.1.1
  • tunggu sampai proses booting selesai.


Setup Password Root

Set password root melalui telnet. Telnet ke router 192.168.1.1

telnet 192.168.1.1

akan keluar

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------


BusyBox v1.19.4 (2013-04-10 08:27:23 WIT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36235)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/# passwd
Changing password for root
New password: 
Bad password: too weak
Retype password: 
Password for root changed by root


Setelah root password diubah kita dapat mengakses Web & SSH.

Referensi

Pranala Menarik