Original firmware

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Tue Oct 11, 2022 9:23    Post subject: Original firmware Reply with quote
Hi, I'm Italian, greetings all. I have the Linksys 32x WRT router with the firmware installed (ddwrt-linksys-wrt32x-webflash.bin) 2020-11-3.
I wanted to restore it with official Linksys firmware, but I can't in any way, I tried with ddwrt-linksys-wrt32x-webflash.bin (2022-10-11) the same thing. When I try to flash the official Linksys img, it loads after two seconds the internet connection disconnects and every time the router is restarted, the first version of DD-WRT or the second version of DD_WRT appears. How do I know if I have overwritten the whole partition?
You can help me. Thanks in advance and sorry if the text is incorrect, I am using a translator.
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Tue Oct 11, 2022 10:15    Post subject: Reply with quote
WRT32X has two partitions. Check active boot partition in Telnet as root with "ubootenv get boot_part".
Command will return value of 1 or 2 after crc check. Partition 1 is linux, not linux1. Partition 2 is linux2.

Linksys WRT32X firmware is unfortunately a sysupgrade file (OpenWrt) and needs a proper conversion
to flat file for serial flash flat-FW_WRT32X_1.0.180404.58.img (adi-brasov). Do not use webUI or write.

For simplicity rename flat file to venom.img. Be safe use only one of these two commands after upload.
Be sure file is both correctly named and uploaded to /tmp folder with WinSCP, or wget from http server.

Highly recommend you write only to the opposite inactive partition then switch boot_part before reboot.
Code:
mtd -e linux write /tmp/venom.img linux
or
Code:
mtd -e linux2 write /tmp/venom.img linux2

If need to set boot partition before reboot:
Code:
ubootenv set boot_part 1
or
Code:
ubootenv set boot_part 2
then
Code:
reboot
or
Code:
nvram erase && reboot

After boot original Linksys WRT32X firmware you can upload FW_WRT32X_1.0.180404.58.img as usual.
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Tue Oct 11, 2022 11:34    Post subject: Reply with quote
First of all, thank you for the time you have dedicated to me, I hope to succeed, even if I see it hard. Thank you so much
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Tue Oct 11, 2022 13:13    Post subject: Reply with quote
Excuse my ignorance on the subject, these operations must be done with the router only (without using a modem) connected to the computer? What operating system should I use to perform the operation with telnet. Thank you very much
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Tue Oct 11, 2022 13:27    Post subject: Reply with quote
Sorry, I assumed using a Windows version with PuTTY (64-bit x86: putty.zip) for Telnet or SSH to router IP as root.

Which OS are you running? Terminal is available in macOS, also SCP command. You can use any operating system.
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Tue Oct 11, 2022 13:29    Post subject: Reply with quote
Can I only connect the router to the pc without a modem? Thank you
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Tue Oct 11, 2022 13:37    Post subject: Reply with quote
Download the firmware from WAN in advance then perform the tasks over LAN Ethernet with Telnet, SSH, SCP etc.
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Tue Oct 11, 2022 14:07    Post subject: Reply with quote
You have been very kind, I hope to succeed, in the meantime I thank you so much. Hello
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Wed Oct 12, 2022 17:23    Post subject: Reply with quote
I only connected the router to the pc. If I type 192.168.1.1 I connect to the DD-WRT Gui, then I opened as administrator Putty, I entered ip, it gives me network connection refused error. How can I solve. Thank you
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Wed Oct 12, 2022 17:27    Post subject: Reply with quote
If you have not enabled dropbear ssh in DD-WRT, you have to use telnet, and will have to select to use telnet in PuTTY as the default is SSH.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Wed Oct 12, 2022 17:42    Post subject: Reply with quote
I used telnet with Putty using Windows, when I try to connect to the router it gives me the error I described above.Forgive my lack of competence. Thank you
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Wed Oct 12, 2022 18:00    Post subject: Reply with quote
Scarface56 wrote:
I only connected the router to the pc. If I type 192.168.1.1 I connect to the DD-WRT Gui, then I opened as administrator Putty, I entered ip, it gives me network connection refused error. How can I solve. Thank you
Scarface56 wrote:
I used telnet with Putty using Windows, when I try to connect to the router it gives me the error I described above.Forgive my lack of competence. Thank you

If you log in to the web interface with web browser and fail three times DD-WRT will lock you out for five minutes.
The same occurs for Telnet or SSH. Wait at least five minutes before attempting to log in with a correct username.

Important to know, web interface username has been set by you but Telnet or SSH login username is always root.
Password is shared. You may want to reset the WRT32X in case you have forgotten your username and password.

Reset button hold 10 seconds or webUI Administration -> Factory Defaults or Telnet root 'nvram erase && reboot'.
After reset, you must log in to web interface to set username password password before Telnet access is granted.

Telnet is enabled but SSH is not. If you plan on using SCP or WinSCP to upload the file, SSH needs to be enabled.
Otherwise, if you plan to set up an http file server to download firmware to /tmp with wget only Telnet is required.
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Thu Oct 13, 2022 11:20    Post subject: Reply with quote
I connect the router to the PC LAN, type 192.168.1.1 and the WW-DWRT gui appears. Change username and password. I open Putty in windows, insert username and password, but I can't log in. Surely I am wrong something, as already said I am a beginner. Thanks for the help you are giving me.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Thu Oct 13, 2022 11:58    Post subject: Reply with quote
From the command line interface the username is always "root"
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Scarface56
DD-WRT Novice


Joined: 09 Oct 2022
Posts: 13

PostPosted: Thu Oct 13, 2022 15:50    Post subject: Reply with quote
I managed to use telnet, entering the command "ubootenv get boot_part" returned me 1. Now I should transfer the venom.img file with WinSCP but entering 192.168.1.1 gives me an error I cannot load the router folders. I ask for your help. Once transferred with telent the command I have to give is "mtd -e linux2 write /tmp/venom.img linux2" Right. Thanks to everyone for the help
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT 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