Buffalo WXR-1900DHP

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6 ... 9, 10, 11  Next
Author Message
jrosetto
DD-WRT Novice


Joined: 11 Mar 2012
Posts: 43

PostPosted: Wed Sep 30, 2015 15:26    Post subject: Reply with quote
Would it be possible to use a hex editor and compare the buffalo firmware with the dd-wrt firmware to figure out why it is not accepting the firmware through the gui?

I have one coming in the mail and I'm reluctant to crack open a brand new router...
Sponsor
stealthdave
DD-WRT Novice


Joined: 23 Sep 2015
Posts: 5

PostPosted: Wed Sep 30, 2015 22:20    Post subject: Reply with quote
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:
[img]http://www.dd-wrt.com/nxt/wiki/lib/exe/fetch.php?media=hardware:buffalo:wxr1900.jpg[/img]
(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.2:openwrt.trx nflash1.trx
    Reading 192.168.11.2:openwrt.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!

Rolling Eyes 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.)
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 101

PostPosted: Wed Sep 30, 2015 22:22    Post subject: Reply with quote
I did give that a shot. They are different in the header section. I tried adjusting it to match the buffalo firmware but there must be more to it than this now. So I believe there must be a CRC32 / checksum calculation somewhere in the file as well which gets invalidated.
_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
Rmattp
DD-WRT Novice


Joined: 01 Oct 2015
Posts: 1

PostPosted: Sat Oct 03, 2015 21:12    Post subject: Reply with quote
Thanks for the write-up stealthdave.

Anyone know if the dd-wrt flash actually uses the hardware vs software for routing/switching?

I'm assuming that it does as its part of the NXT program but I figure I ask.
almot
DD-WRT Novice


Joined: 03 Oct 2015
Posts: 2

PostPosted: Sat Oct 03, 2015 23:55    Post subject: Reply with quote
What Serial Port and TFTP Server settings should I use? I'm getting garbage on my terminal screen.
Thank you.
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 101

PostPosted: Sun Oct 04, 2015 0:54    Post subject: Reply with quote
TFTP doesn't really have "settings" to adjust that I've ever seen.

For serial use speed 115200 leave other settings at default.
Check your connections if you are still getting garbage in.

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
almot
DD-WRT Novice


Joined: 03 Oct 2015
Posts: 2

PostPosted: Sun Oct 04, 2015 6:25    Post subject: Reply with quote
Thank you. I'll try it tomorrow.
it2911
DD-WRT Novice


Joined: 22 Sep 2015
Posts: 4

PostPosted: Sat Oct 10, 2015 1:39    Post subject: Reply with quote
@stealthdave
Thank you for your report.

@ludacrisvp
Hi. Could you can use SSH? My SSH is disable. I try to set webcam in my 1900wrt
elizle
DD-WRT Novice


Joined: 14 May 2010
Posts: 11

PostPosted: Wed Nov 04, 2015 15:00    Post subject: Reply with quote
I have a somewhat related question. I have the wxr-1900dphd and I'm really at a loss for words at how lacking the NXT firmware is. Do I need to get a serial connection wired up to mine, or should I be able to just flash it since it is technically already running DD-WRT?

If this is off topic, feel free to remove my post and I will create a new one.

Thanks.
elizle
DD-WRT Novice


Joined: 14 May 2010
Posts: 11

PostPosted: Thu Nov 05, 2015 2:20    Post subject: Reply with quote
I just went for it. For anyone wondering. On the wxr-1900dphd, which is the version that ships with DD-WRT NXT, you can just flash the webflash version from NXT. It's working flawlessly now.
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 101

PostPosted: Sat Nov 07, 2015 1:54    Post subject: Reply with quote
it2911 wrote:
@ludacrisvp
Hi. Could you can use SSH? My SSH is disable. I try to set webcam in my 1900wrt

Sorry for the delay, for some reason I wasn't notified of the reply this time.

My SSH works just fine, you have to enable it in the Web Interface. I did choose a non-standard port number for mine though.

elizle wrote:
I have a somewhat related question. I have the wxr-1900dphd and I'm really at a loss for words at how lacking the NXT firmware is. Do I need to get a serial connection wired up to mine, or should I be able to just flash it since it is technically already running DD-WRT?


Yeah, after I had read about NXT firmware I felt that it was lacking way too much to be called "DD-WRT" at all.

elizle wrote:
I just went for it. For anyone wondering. On the wxr-1900dphd, which is the version that ships with DD-WRT NXT, you can just flash the webflash version from NXT. It's working flawlessly now.


Nice to know that you can flash directly from NXT to the community build.
In my failed attempts to get off of the stock 1900DHP firmware I tried to flash NXT as well but never made any progress with the goal of doing what you did flashing from one version to the other.

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
YosemiteSam
DD-WRT Novice


Joined: 14 Nov 2015
Posts: 1

PostPosted: Sat Nov 14, 2015 20:54    Post subject: has anyone else done the flash on the NXT version? Reply with quote
elizle wrote:
I just went for it. For anyone wondering. On the wxr-1900dphd, which is the version that ships with DD-WRT NXT, you can just flash the webflash version from NXT. It's working flawlessly now.


Can anyone else confirm the the NXT version of this router can be easily flashed over to standard dd-wrt without opening the case?

For a new purchaser, it might be worth the $65 price premium of the NXT version to not have to crack open a brand new router with tools and go through all of configuration work with the TTL serial cable etc. just to get standard dd-wrt on this great router.
tmoore4748
DD-WRT Novice


Joined: 24 Feb 2011
Posts: 5

PostPosted: Mon Nov 23, 2015 15:15    Post subject: My own issues Reply with quote
Okay, weird one on this router: I've followed all of the steps to the letter (must've read the walk-thru at least ten times), and now I have no web interface. I've tried command line with PuTTY, was able to login, but I'm stuck at the older version of DD-WRT, unable to flash from it to the newer version with no web interface. Basically, I'ms tuck unable to do Step 6 of stealthdave's walk-thru (thanks again for building that, you're a lifesaver!). Anyone got any ideas? I've killed and restarted httpd at least a dozen times, done the "killall" command and restarted all, and I'm still stuck. I end up at a page that redirects to LuCi every time I type in the normal router address (192.168.1.1), but it's an unloadable page according to my browser (and, yes, I've cleared my browser cache at least twenty times to be sure that wasn't it); the address that's loaded is http://192.168.1.1/cgi-bin/luci. Current lights on are the power and internet, with a white light on power and pinkish light on internet. Also, I know the router is working, because that's what's handling traffic for me right now to this page. So, at a minimum, flashing to the newer dd-wrt would be a perfect, elegant solution


EDIT: Okay, now I really feel dumb, because I figured out the elegant solution by using another browser that I hadn't cleared the cache of, after clearing the cache. So, call me a little slow. I'm too used to one mentality at home, and another at work, that often the tech support ideas don't really coincide.
mstarr68
DD-WRT Novice


Joined: 26 Nov 2015
Posts: 2

PostPosted: Thu Nov 26, 2015 4:28    Post subject: Re: has anyone else done the flash on the NXT version? Reply with quote
YosemiteSam wrote:
elizle wrote:
I just went for it. For anyone wondering. On the wxr-1900dphd, which is the version that ships with DD-WRT NXT, you can just flash the webflash version from NXT. It's working flawlessly now.


Can anyone else confirm the the NXT version of this router can be easily flashed over to standard dd-wrt without opening the case?

For a new purchaser, it might be worth the $65 price premium of the NXT version to not have to crack open a brand new router with tools and go through all of configuration work with the TTL serial cable etc. just to get standard dd-wrt on this great router.


Yes, I can confirm that the nxt version wxr-1900DHPD model version, which came with OEM 1.1.1 version firmware, was easily upgraded to full DD-WRT firmware using the web interface with zero issues. Bought several of these, and wanted to roll out a more customized setup for a series of businesses. I used the beta version of the wxr-1900DHP released on 11-25-2015 file name "buffalo-wxr-1900dhp-webflash.bin". Logged into the DDWRT-NXT webpage at 192.168.11.1 with defaults loaded, and on the settings - firmware tab, I navigated to the above ...webflash.bin file and hit the upgrade button. Waited several minutes (3 plus) for it to finish, then closed my browser window (opened a different browser just in case but probably not needed) changed the IP address to 192.168.1.1 and was able to immediately reach the standard DD-WRT first-time login page.

The prices have dropped drastically on these units, and I really don't see the price difference being worth all the hassle of cracking the case and serial flashing... This was so much more straight forward and easy!
mstarr68
DD-WRT Novice


Joined: 26 Nov 2015
Posts: 2

PostPosted: Mon Dec 07, 2015 23:54    Post subject: Re: has anyone else done the flash on the NXT version? Reply with quote
mstarr68 wrote:
YosemiteSam wrote:
elizle wrote:
I just went for it. For anyone wondering. On the wxr-1900dphd, which is the version that ships with DD-WRT NXT, you can just flash the webflash version from NXT. It's working flawlessly now.


Can anyone else confirm the the NXT version of this router can be easily flashed over to standard dd-wrt without opening the case?

For a new purchaser, it might be worth the $65 price premium of the NXT version to not have to crack open a brand new router with tools and go through all of configuration work with the TTL serial cable etc. just to get standard dd-wrt on this great router.


Yes, I can confirm that the nxt version wxr-1900DHPD model version, which came with OEM 1.1.1 version firmware, was easily upgraded to full DD-WRT firmware using the web interface with zero issues. Bought several of these, and wanted to roll out a more customized setup for a series of businesses. I used the beta version of the wxr-1900DHP released on 11-25-2015 file name "buffalo-wxr-1900dhp-webflash.bin". Logged into the DDWRT-NXT webpage at 192.168.11.1 with defaults loaded, and on the settings - firmware tab, I navigated to the above ...webflash.bin file and hit the upgrade button. Waited several minutes (3 plus) for it to finish, then closed my browser window (opened a different browser just in case but probably not needed) changed the IP address to 192.168.1.1 and was able to immediately reach the standard DD-WRT first-time login page.

The prices have dropped drastically on these units, and I really don't see the price difference being worth all the hassle of cracking the case and serial flashing... This was so much more straight forward and easy!


Also, for some reason, this model doesn't appear in the router database, nor the webflash versions on the Website version of the betas list.

It's ONLY listed and available on the FTP site for navigation and download.

http://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/

Hope this helps others, if they end up finding this post, and my above instructions and links.
Goto page Previous  1, 2, 3, 4, 5, 6 ... 9, 10, 11  Next Display posts from previous:    Page 5 of 11
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum