TFTP Issue - Help!!

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 1:02    Post subject: TFTP Issue - Help!! Reply with quote
Hello,

Tried to revert my R7800 to an older dd-wrt img file.

Connected laptop to Ethernet port (not the yellow Internet port), removed all other cables apart from power.

https://kb.netgear.com/000059633/How-to-upload-firmware-to-a-NETGEAR-router-using-TFTP-client
Step 3 - IP address => 192.168.1.10

I did that.

On step 4 the above link states - In the Server interfaces field, select the LAN adapter of your computer and the pic shows - 192.168.1.5 - Intel Ethernet...

But in my case, I show
192.168.1.10 - Intel Ethernet... the IP that I set in step 3

Then, I powered off the router, powered it back on, waited for power to turn white from orange and then hit PUT. As soon as I did that the Server Interface field auto changes to - 127.0.0.1 - Software Loopback Interface.

And nothing happens..

What am I doing wrong?

The only good thing that happened is that my router didn't get bricked.

Thanks,
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Mar 28, 2021 1:31    Post subject: Reply with quote
Set it to bind to the proper interface in the settings. Also, use tftpd32 v4.52 32-bit with 1024 anticipation window set. That's generally what I do when I set up to TFTP. At least I am presuming you are using tftpd32 / tftpd64 and not the tftp2.exe or the Linksys tftp client...
_________________
"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
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 1:37    Post subject: Reply with quote
I'm using the client mentioned in netgear link - TFTP64.


Questions
Which address should I bind to in Settings?

Is the link incorrect when it sets IP to 192.168.1.10 but shows 192.168.1.5 in the diagram for Server Interface? I mean should Server Interface IP match the IP that I set in Step 3?

Am I correct in connecting laptop to Ethernet Port?

Should I wait for power light to change from Amber before hitting PUT?

What are the gotchas that i should be aware of? have never done this before
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Mar 28, 2021 1:43    Post subject: Reply with quote
If tftpd32 / tftpd64 shows 192.168.1.10 in the selectable interfaces, then that is the one you use. You have to use the IP address of your laptop, whatever it is. I always go into the actual settings rather than use the drop-down that will switch back to 127.0.0.1 and bind it to the ethernet adapter's IP address of the laptop or pc I am using to tftp the file with.

The only 'gotcha' is to read carefully and take your time. Haste makes waste. That article isn't that poorly written.

_________________
"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
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 1:47    Post subject: Reply with quote
Maybe a silly question.
But do I need to revert firmware if my router is not bricked?

Can I not go back to an older version of dd-wrt by
going to Admin
reset to defaults
use factory to dd-wrt img file
then use the corresponding bin file
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Mar 28, 2021 1:56    Post subject: Reply with quote
To revert or upgrade via DD-WRT webUI, you use the dd-wrt-webupgrade.bin file.
_________________
"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
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 1:58    Post subject: Reply with quote
kernel-panic69 wrote:
To revert or upgrade via DD-WRT webUI, you use the dd-wrt-webupgrade.bin file.


You mean I can go back to r41813 from r46177 by just going to webgui and upgrade firmware (basically downgrade)?

no need to TFTP?
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Mar 28, 2021 2:14    Post subject: Reply with quote
Yes.
_________________
"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
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 2:27    Post subject: Reply with quote
kernel-panic69 wrote:
Yes.


Wow. sorry for all the trouble.

Should have asked that first.

Had looked at some posts that suggested that one should use TFTP while downgrading to prior builds.

Hope this downgrade does not brick the router.
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 2:30    Post subject: Reply with quote
But just for my knowledge, if you could provide your input to the following questions

Questions

Isn't the link in the article incorrect when it sets IP to 192.168.1.10 but shows 192.168.1.5 in the diagram for Server Interface?

Am I correct in connecting laptop to Ethernet Port?

Should I wait for power light to change from Amber before hitting PUT? or should I hit PUT as soon as I see Amber light?
abhijitat
DD-WRT User


Joined: 06 Feb 2020
Posts: 167
Location: Maharashtra, India

PostPosted: Sun Mar 28, 2021 3:49    Post subject: Reply with quote
nkaufman wrote:
But just for my knowledge, if you could provide your input to the following questions

Questions

Isn't the link in the article incorrect when it sets IP to 192.168.1.10 but shows 192.168.1.5 in the diagram for Server Interface?

Am I correct in connecting laptop to Ethernet Port?

Should I wait for power light to change from Amber before hitting PUT? or should I hit PUT as soon as I see Amber light?


1. the link is correct, as mentioned, you should use 192.168.1.10 if you have set that IP on laptop.

KP69 has rightly guided you. please follow steps mentioned.

2. Yes it needs to connect to Ethernet port on laptop
3. When you power on router keep reset button pressed till power light changes from Amber to white flashing then hit put button.

Just remember, when you switch of router the laptop ethernet will show disconnected so your tftp client halls back to 127.0.0.1. You can select it back to 192.168.1.10 just before you hit put button
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 6:23    Post subject: Reply with quote
abhijitat wrote:


1. the link is correct, as mentioned, you should use 192.168.1.10 if you have set that IP on laptop.

KP69 has rightly guided you. please follow steps mentioned.

2. Yes it needs to connect to Ethernet port on laptop
3. When you power on router keep reset button pressed till power light changes from Amber to white flashing then hit put button.

Just remember, when you switch of router the laptop ethernet will show disconnected so your tftp client halls back to 127.0.0.1. You can select it back to 192.168.1.10 just before you hit put button


Not sure how you can state that the link is correct. It obviously isn't.

Look at step 3(d)(i) and then the picture under 4(d) that shows a different IP for Server Interface.

Further, that link says nothing about pressing reset button. I think you're mixing the article I mentioned with the one that Netgear has for in-built Windows TFTP. That article is
https://kb.netgear.com/000059634/How-to-upload-firmware-to-a-NETGEAR-router-using-Windows-TFTP

but mine is
https://kb.netgear.com/000059633/How-to-upload-firmware-to-a-NETGEAR-router-using-TFTP-client
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Mar 28, 2021 6:33    Post subject: Reply with quote
FFS man do not look at the pictures or screenshots for valid information, and both articles are "correct".

Ethernet adapter's IP does not absolutely need to be .10 btw. Tftpd32: tftpd32.464.zip, tftpd32.452.zip
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 260

PostPosted: Sun Mar 28, 2021 6:39    Post subject: Reply with quote
blkt wrote:
FFS man do not look at the pictures or screenshots for valid information, and both articles are "correct".

The Ethernet adapter's IP does not absolutely have to be .10 btw.


That's for you who knows this stuff, not for people who look at each step closely and then follow. Smile

The article I referenced does not mention anything about keeping reset button pressed so I wasn't doing that and wasn't even aware that it still needed to be done while using TFTP client.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Mar 28, 2021 6:41    Post subject: Reply with quote
How many times have you been referred to egc's R7800 install guide? 32-bit tftpd32.452.zip, tftpd32.464.zip
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum