- Status New
- Percent Complete
- Task Type Bug Report
- Category Base system
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Medium
- Reported Version All
- Due in Version Undecided
-
Due Date
Undecided
- Private
FS#634 - Factory flashing fails because LEDE filename is too long (>= 64 chars)
On a TP-Link TL-WR841N v11, flashing LEDE from the web interface of the stock firmware is not possible.
This is caused by a stupid check that refuses filename longer than 64 chars in the web interface. The check is implemented in javascript and returns a cryptic error message like “Please select a file to upload”, as if no file was selected.
The current naming scheme is quite long:
$ echo ‘lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wr841-v11-squashfs-factory-eu.bin’ | wc -c
79
Shortening the name like the following would decrease the length below 64 chars, and leave some space for a custom suffix (e.g. using EXTRA_IMAGE_NAME in the Imagebuilder):
$ echo ‘lede-17.01.0-ar71xx-tlwr841v11-squashfs-factory-eu.bin’ | wc -c
55
Its openwrt-18.06.0-ar71xx-tiny-tl-wr841-v12-squashfs-factory-eu.bin now, so 65 characters. lol
just rename :) The same happens on TP-Link Archer C7 factory images.
Close this bug as this is a known limitation and a simple rename solves it