WRT32X

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2, 3, ... 14, 15, 16  Next
Author Message
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Tue Nov 14, 2017 11:13    Post subject: Reply with quote
Linksys WRT32X commands via SSH for switching partitions.

Open an SSH terminal with PuTTY.
http://www.putty.org/

User Name: root
Password: Your Venom password from initial setup

Learn Current Partition in Use:
fw_printenv boot_part

Switch to Alternate Partition:
fw_setenv boot_part 1 or 2
*Use the number not in use from first command

After second command is entered reboot the WRT32X.
reboot

Router will reboot to opposite partition.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Sponsor
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Wed Nov 15, 2017 16:37    Post subject: Reply with quote
Here's my question:

The sysupgrade command does not successfully flash the 'factory to dd-wrt.bin' file.
So would mtd work?

I haven't tried this yet, but it looks promising.

Use SCP to upload dd-wrt to /tmp
or
SSH into WRT32X
Change directory to temp: cd /tmp
Use wget command: wget https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2017/11-04-2017-r33679/linksys-wrt32x/factory-to-dd-wrt.bin

then:

mtd -r write factory-to-dd-wrt.bin linux

References:
https://wiki.openwrt.org/doc/techref/mtd
https://www.techwalla.com/articles/how-to-flash-openwrt-to-dd-wrt

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 15:43    Post subject: Reply with quote
I wanted to get a first-hand look at what all was happening / not happening when sysupgrade command was used.
Here's all I was able to document:

Used WinSCP to upload factory-to-ddwrt.bin to /tmp of WRT32X

Used SSH to get access to /tmp

Entered following command:
sysupgrade -F -n factory-to-ddwrt.bin

sysupgrade successful

WRT32X REBOOTS

When fully back up (I gave it about 5 minutes just to be safe) I could not access the WRT32X via:
Default IP Address: 192.168.1.1 *Tried Microsoft Edge, Internet Explorer & Google Chrome on two different Desktop PCs (LAN 1 & 2)
SSH
Telnet

Visible Status of WRT32X:
The only LEDs that were lit after attempted upgrade were Power, eSata & LAN 1-4

I switched off modem and router and waited about 5 minutes.
Brought modem fully back up then turned on router - still no access or change in LED Status.

Used Power Switch to manually switch partitions. Back to normal

I also tried using mtd -r write factory-to-ddwrt.bin firmware

Error received:
Could not open mtd device: firmware
Can't open device for writing!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 42
Location: Poland

PostPosted: Fri Nov 17, 2017 15:59    Post subject: Reply with quote
Could you post a dmesg log from original firmware on pastebin? I'm curious as to what is going on.
mtd fails as there is no such partition in the layout, morover each set of firmwares is spread over 2 partitions kernel and rootfs and not just single one.
If all attempts fail you can always try flashing from u-boot console.

_________________
Router/AP: WRT3200ACM > WRT32X @ DD-WRT firmware
LINK: 100/10 Mbps
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 16:04    Post subject: Reply with quote
Sure! What command do I run and from where?

Sorry, but my Linux experience is at about 2%. Mr. Green

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 42
Location: Poland

PostPosted: Fri Nov 17, 2017 16:09    Post subject: Reply with quote
In SSH, dmesg > /tmp/dmesg.log and the use WinSCP to get the file out of the /tmp directory.
Alternatively just issue dmesg and copy the text from PuTTY window, just make sure, in the settings, the screen buffer is big enough to display the whole content spit out by the command.

_________________
Router/AP: WRT3200ACM > WRT32X @ DD-WRT firmware
LINK: 100/10 Mbps
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 16:23    Post subject: Reply with quote
Done! Pasted public as WRT32X dmesg log
https://pastebin.com/bK9i4Pg3

Thanks for your help with this!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 42
Location: Poland

PostPosted: Fri Nov 17, 2017 16:43    Post subject: Reply with quote
I see nothing out of ordinary that would suggest possible problems. The hardware is the same, the flash chip is the same and the layout is the same. The only idea I have is of trying to boot DD-WRT from different partition set cause so far all your attempts were from one and the same set.
From working original firmware perform a reflash of said original firmware, which will force the next boot from the alternate set of partition (now with original firmware on it instead of DD-WRT that fails to boot). Then try the forced sysupgrade of DD-WRT again and see if it works.
In case you don't have original firmware file, here it is:
http://downloads.linksys.com/downloads/firmware/FW_WRT32X_1.0.170828.208.img

_________________
Router/AP: WRT3200ACM > WRT32X @ DD-WRT firmware
LINK: 100/10 Mbps
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 17:00    Post subject: Reply with quote
I will give that a try as soon as I can. Will definitely be by Monday if not sooner.
Thank you for taking the time to go over everything and I'll update as soon as I have more info or a successful flash!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 19:35    Post subject: Reply with quote
Plans may have fallen through so I went ahead with second try.

This time, to eliminate file corruption, I used:
wget https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2017/11-16-2017-r33772/linksys-wrt32x/factory-to-ddwrt.bin

Same command as before:
sysupgrade -F -n factory-to-ddwrt.bin

Results unchanged from first attempted flash.
No access via browsers or SSH

Manually switch back to alternate partition. WRT32X back to normal again.

Edit: I ran dmesg again after second attempt.
Posted to Pastebin publicly as WRT32X dmesg log (2)
https://pastebin.com/yzr0rrLz

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 42
Location: Poland

PostPosted: Fri Nov 17, 2017 20:23    Post subject: Reply with quote
In that case I'm out of ideas for getting it to work with methods not involving flashing through u-boot console. Guess you'll need to work for DD-WRT factory image to become flashable from the GUI.
_________________
Router/AP: WRT3200ACM > WRT32X @ DD-WRT firmware
LINK: 100/10 Mbps
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Fri Nov 17, 2017 21:33    Post subject: Reply with quote
Thank you for all your help! I've been searching and searching for any way possible to get this thing flashed with DD-WRT.
Now I know that there's really nothing more that I can do - I can relax and patiently wait.

Plus side: my Linux experience has gone up to 3% now. Mr. Green

Just to make sure, can we now say that the fix will have to be on the DD-WRT build?
I've been under the assumption that the problem was on the WRT32X side.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 42
Location: Poland

PostPosted: Sat Nov 18, 2017 9:05    Post subject: Reply with quote
No idea why it's not flashing from the GUI. Maybe it needs some extra magic on the image side or maybe something is deliberately preventing installation of 3rd party firmware. We'll know when it's fixed.
_________________
Router/AP: WRT3200ACM > WRT32X @ DD-WRT firmware
LINK: 100/10 Mbps
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Sat Nov 18, 2017 9:26    Post subject: Reply with quote
I've asked several people on the WRT32X Support Team about that very same concern and received varying answers.
The last one said they were working on a firmware update that may solve the problem of Open Source Not Ready.

We shall see.....

I believe the return policy for the WRT32X is 90 days, so I've still got plenty time. However, if that date gets closer without a resolution - it's going back.

I really want to like this router, but without a serious upgrade to the Venom Firmware and/or the ability to flash DD-WRT I can't see keeping it.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Tue Dec 05, 2017 5:14    Post subject: Reply with quote
I decided to return my WRT32X. I am just waiting on a Return Authorization from Linksys.
Too many issues with Venom Firmware and the inability to upgrade to DD-WRT have done it for me.

If Linksys ever gets their Firmware straight and a fix for the Open Source Firmware problem is found - I may try again.

As for now I can think of a lot better things to do with $300 than a router I can't use. Mr. Green

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Goto page Previous  1, 2, 3, ... 14, 15, 16  Next Display posts from previous:    Page 2 of 16
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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 cannot attach files in this forum
You cannot download files in this forum