OpenWRT: Flash Linksys WRT160NL

From OnnoWiki
Jump to navigation Jump to search

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

Flash Linksys WRT160NL via Web

  • Buka Web / LUCI
  • Masuk ke Flash operations > Browse
  • Pilih image
openwrt-ar71xx-generic-wrt160nl-squashfs-factory.bin
  • Flash Image
  • Tunggu proses upload
  • Tunggu reboot
  • ping
ping 192.168.1.1

Flash Linksys WRT160NL menggunakan TFTP

  • Pastikan IP address PC statik 192.168.1.254
  • Pastikan IP address PC tidak dynamic
  • 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

Build Firmware

APRX

IPv6

Flash Firmware

Misc

UBNT