Tftp Tp Link Download

0 views
Skip to first unread message

Carlita Giandomenico

unread,
Jan 20, 2024, 8:14:40 AM1/20/24
to iserinan

The official OpenWRT table of hardware for TP-Link Archer C2 mentions that some users have reported similar issues and that they could potentially be resolved by changing some TFTP settings or by lowering the network transfer speed. However, from my experiments, changing the network speed has little to no impact and the device still never finishes the TFTP download. I am using the atftpd TFTP server and I have also tried to experiment with most of its settings. But no configuration that I have used resulted in any significant change in the router's behavior. It never proceeds beyond downloading the first a few hundred KiB from the TFTP server. At the same time, the other device, i.e. the one with the lower serial number, can download the entire firmware quickly and without any issue with almost any TFTP server settings.

While using these lower-speed switches, I have also tried to change the ethernet link speed and duplex mode of the TFTP server's network interface from 1000 Mb/s full duplex to 10 Mb/s half duplex. It did not make any difference.

tftp tp link download


Download Zip >>>>> https://t.co/bVU73zgoBd



So, at least from my experience, putting new or old switches on the link or artificially lowering the link speed has no impact on the actual outcome of the TFTP download method on this device. Some devices are seemingly able to do it successfully regardless of the network conditions while some others are not.

Hmm that's sad to hear.
I've just tried to flash the Archer C2 with OpenWRT because the 5Ghz issues seem to be fixed now even in the stable releases.
But i was experiencing the same issues as you @pbasista.
Wireshark is showing that a few packets (for me it's mostly just around 100) are transmitted and then the computer tries re-transmitting the same packet over and over again until the router restarts without having OpenWRT installed.
Chaning link speed to 10mbit/s half duplex or putting my TP-Link switch in between did not make any difference (without the switch the router did not restart, but the transmission was halted either) .

Thank you for the reply, but fortunately I have managed to complete the transfer. I reflashed the firmware to another version and tried to enable "anticipation window" option with value 1000 in tftpd64. Not sure what helped though.

And is this tip with the anticipation window also relevant if you are using a linux TFTP server (like tftp-hpa)?
Then i will try this out when i'm back home and also post the serial number of my router.

Most probably yes. I am not sure what "anticipation window" means in this context but maybe it refers to the retransmission period, i.e. the time period during which the TFTP server waits to receive the reply from the client before transmitting the same packet again. In atftpd, for instance, this can be controlled by the --retry-timeout argument. In tftpd-hpa, it can be controlled by the --retransmit argument.

Per the instructions above, I unplug the modem for 10 seconds, hold the reset button in, turn it back on and wait for the power LED to blink white ten times then press Enter on the tftp command and receive the message 'Connect request failed'

Now apply power to your router. The tftp client will continuously retry uploading the firmware until the router responds. Hopefully, the router will briefly awaken, allowing the firmware upgrade to be sent. About two minutes later, the router will reset and become operational with the new firmware.

Hello Team,
I am new to the THWACK community, so sorry for my stupid question.
I am trying to perform a firmware update for a C2960 switch using the predefined template with build-in TFTP server.
TFTP is working fine (means I can perform a write net from CLI to the tftp-server). The firmware images are stored on the TFTP server in a common
directory and this is the root of the TFTP server.

When starting the firmware upgrade the script tries to access subfolders on the tftp-Server:
copy flash:c2960s-universalk9-mz.152-2.E9.bin t172.16.10.123/.../

However, this subfolder doesnt exist and I dont want to use subfolders on my TFTP server.
So where is the $SubFolder variable set ? I tried to remove it from the script manually, but
then its not saved, so its still in.

Take a look at the firmware upgrade requirements of NCM, link below. It explicitly states "The storage location cannot be the same as the TFTP or SFTP/SCP root folders.". I'm not sure why though and probably best to stick with that recommendation... but the $SubFolder variable is coming from the firmware upgrade template you're using, link below on managing them. It's possible to remove it if needed.

I am trying to troubleshoot tftp on my Fedora 22 to see if it is working or not. All I want to do is transfer a file between two systems. The commands I am finding online are not working. All I need is the command and the directory where the files will go on both ends. I get a connection established to the tftp but when I do a get it times out.

I have a problem copying config from tftp to startup-config with the device above.

I can copy startup-config to tftp server successfully, but when i try to copy config to tftp, I got the next message:

TEST-SWITCH#copy tftp startup-config ip-address 192.168.0.200 filename test.cfg

I figured out that if the file test.cfg is in the tftp server, and when I copy the file from tftp server, I don't write the extension next to the file.
This way the copy action is successful.


In tftp server:
test.cfg

in cli:
tftp startup-config ip-address 192.168.0.200 filename test

Archer c7 v5 back to the original softwareI also had this problem and I can upload any software to C7v5. I just tested today, I know a lot of users have this problem. It has always been tftp over time that it has timed out.It is known that in the network card we set the ip address: 192.168.0.66 mask 255.255.255.0

Everything is almost set, you just need to unpack the access path (i.e. in tftp you press BROWSE and you choose in the main directory i.e. (tftpd32) is the original C7v5 soft tplink, while in other directories there are softs (ddwrt, gargoyle, openwrt) that with an unoriginal software you can upload a second soft, but using a browser. For example, I uploaded the soft ddwrt from the directory (ddwrt factory) then you need to upload the second from the same directory through the soft browser (tplink_archer-c7-v5).Uploading software:once you have the network card set up.fire up tftpd32 select the soft you wantconnect the router to your computer using a lan (router turned off from the power button at the back)now turn on the button on the back and simultaneously hold the reset for about 7 seconds.it will start loading soft into the router, wait about 10-15 minutes for the lights to light up.

Plug UTP cable into LAN port #1. Pres & hold reset button for approximately 5 sec while powering on your router.WPS lights should lit up (arrows up/down) indicating that router will look for specified file. TFTP process will start and file will be downloaded to router. My router needed approx. 7 sec to download a file. Then Power light kept blinking and WPS light (arrows up/down) stayed lit for approx 80 sec (till flashing is complete). This is how user can confirm (status lights Power and up/down arrows) that BIN file is being flashed into Archer c7 v5 (EU). The file I was downloading was original firmware for TP-LINK Archer C7 v5 (EU), but I later confirmed that it works also with openWrt ver 21.BIN file.

Let me explain what happened and how I was mislead by lights on the first place. When this settings in TFTP64 program were not set as described above (set as default). The file was downloaded to the router. But the file transfer took 1-2 sec (definitely quicker). After transfer, the power light blinked ONLY ONCE and stayed lit. Thus indicating - the router rejected BIN file, due to download errors (Presumably, I didn't have a USB console to confirm this)

Edit: I went to the wiki page for the tftp server and I did not see if it is installed or out of the box enabled by default. This is the link for it +server. only thing I saw in the page is mostly for logging other things. Not how to set it up if it is not there or how to enable it if it is there.

I tried to boot from tftp using rommon to upload new image but it doesn't work, now i want to get back to boot from flash but i'm stuck with the tftp.

Updated:
wireshark shows that file "pxelinux.0" has not been found. When I delete symlink and copy real pxelinux.0, then it can see this file. I copied in this way syslinux.cfg, too. But now it can't find kernel image: archiso.cfg. It could be result of my these commands (copying instead of linking).

When I start the TFTPD server (I am using method 2, I used method 1 and I was not having this problem) and use login to it using `tftp`, when I type `get pxelinux.0`, I get the File not found error. Just for a sanity check, I moved the symlink and touched a blank file as 'pxelinux.0' and tried to 'get' it, which worked fine.

This produces the same results as method 1 did for me (now I'm running into the same problems I was the first time.) I don't know why the dnsmasq tftp server followed the absolute symlink but the tftpd server would only follow the relative symlink, though.

I performed a packet capture on a TFTP session using the default Cisco router and TFTP server settings. It immediately became clear what the issue was. Here is a screenshot as well as a link to part of the capture file on Cloudshark.

df19127ead
Reply all
Reply to author
Forward
0 new messages