WIFIHELL - 科技改变生活

 找回密码
 注册WIFIHELL

QQ登录

只需一步,快速开始

开启左侧

[WXR-1900DHP] 【不推荐】刷DD-WRT

[复制链接]
222ba 发表于 2016-1-4 10:11:44 | 显示全部楼层 |阅读模式

注册WIFIHELL,浏览更多技术贴!

您需要 登录 才可以下载或查看,没有账号?注册WIFIHELL

x
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=279158&postdays=0&postorder=asc&start=60




After a week of futzing and configuring, I
finally got DD-WRT installed on my Buffalo WXR-1900DHP! Many thanks to @ludacrisvp for forging the way on this effort! I thought I'd do my part and post a condensed version of the steps I needed to flash to DD-WRT.

STEP 0 - EQUIPMENT
Before you can start, you need some equipment:

  • A philips-head or standard-head screw driver
  • A small torx head screw driver (sorry, not sure what size)
  • A spudger (a thin standard-head screw driver can do in a pinch)
  • USB-TTY Serial adapter like this one
  • An internet connected computer that you can install software and drivers on (i.e., not your company-issued laptop!) and an ethernet connection


STEP 1 - OPEN THE ROUTER

  • Use the philips- or standard-head screw driver to remove the base stand of the router.
  • This will reveal two more tiny Torx-head screws in the base. Remove them with the torx screw driver
  • Using the spudger, carefully pry the top off of the router.


STEP 2 - SERIAL CONNECTION
Once opened, you should see the 4-pin serial port header pictured here:

(Image from the DD-WRT Hardware Wiki)

  • Connect the leads from the USB-TTY Serial adapter to the 4-pin header using the diagram in the picture above.
  • Connect the USB cable to your computer. Install any necessary hardware drivers for the serial cable. (Links below)
  • Run a terminal program like PuTTY for Windows or screen for *NIX systems and connect to your serial port. PuTTY Tutorial for Windows / screen tutorial for Linux/Mac OS X
  • TURN ON YOUR ROUTER!

You should see the boot up process happening on your router. If you don't see any text on the screen, check the connection of your serial cable to the 4-pin header and try again.

STEP 3 - DOWNLOAD FIRMWARE AND INSTALL TFTP SERVER


STEP 4 - INSTALL OPENWRT FIRMWARE VIA CFE

  • Connect your computer's ethernet to one of the router's LAN ports.
  • MANUALLY set your computer's IP address to 192.168.11.2! (I was unable to get a DHCP address, but manually setting the address worked for me.)
  • With the serial cable connected and the terminal app from Step 2 running, start (or restart) your router.
  • As soon as you turn it on, start pressing CTRL-C until you get the CFE> prompt.
  • ***** POINT OF NO RETURN! *****
    You are about to BRICK your router!
  • Follow @ludacrisvp's flashing instructions:
    Code:
    CFE> flash -noheader 192.168.11.2:firmware_.ram nflash1.trx
    Reading 192.168.11.2:firmware_.ram: Done. 28705040 bytes read
    Programming...done. 28705040 bytes written
    *** command status = 0
    CFE> flash -noheader 192.168.11.2:firmware_.ram nflash1.trx_recovery
    Reading 192.168.11.2:firmware_.ram: Done. 28705040 bytes read
    Programming...done. 28705040 bytes written
    *** command status = 0

    fw is broken
    blinking led 2

  • Flash openwrt:
    Code:
    CFE> flash -noheader 192.168.11.2penwrt.trx nflash1.trx
    Reading 192.168.11.2penwrt.trx: Done. 7602176 bytes read
    Programming...done. 7602176 bytes written
    *** command status = 0
    CFE> go




STEP 5 - UPDATE OPENWRT TO DD-WRT

  • Download an old version of buffalo-wxr-1900-dhp-webflash.bin
  • If it's not already, connect your router's WAN port to the internet
  • Install the OpenWRT gui:
    Code:
    # opkg update
    # opkg install luci

  • Turn DHCP network assignments back on for your computer (instead of the manually set 192.168.11.2 address from earlier)
  • Go to the OpenWRT web interface at http://192.168.1.1. You should not need any login credentials, but if you do, try using "password".
  • In the navigation, go to System -> Backup / Flash Firmware
  • Install the buffalo-wxr-1900-dhp-webflash.bin downloaded earlier and restart the router
  • BOOM! You have DD-WRT! But you're not done yet...


STEP 6 - UPDATE DD-WRT TO LATEST


Okay, NOW you're done!

That was a lot of work! But it's totally worth it! For those of you who have gone through this process, please look this post over and make sure I didn't make any stupid mistakes!

Thanks again to @ludacrisvp, @59vw and everyone else who contributed to this thread!

(But mostly to @ludacrisvp; who I've shamelessly copy-and-pasted from for this post.)
WIFIHELL | 万丰乐活 2020开启新的征程,好货不断!
关闭

站点推荐上一条 /1 下一条

万丰乐活

GMT+8, 2024-11-21 21:20

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表