1750e flash - 502 Command not implemented

Hi freaks,

happy Christmas first!!

Unfortunately I'm not able to finalize the flash on 1750e Repeater, tried out with 2 items.
Log:

neuro@x240:~/$ ftp -pnvd 192.168.178.1
setupsockbufsize: rcvbuf_size determined as 131072
setupsockbufsize: sndbuf_size determined as 16384
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
ftp> quote USER adam2
---> USER adam2
331 Password required for adam2
ftp> quota PASS adam2
?Invalid command.
ftp> quote PASS adam2
---> PASS adam2
230 User adam2 successfully logged in
ftp> binary
---> TYPE I
200 Type set to BINARY
ftp> debug
Debugging off (ftp_debug=0).
ftp> passive
Passive mode: off; fallback to active mode: off.
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> put openwrt-23.05.0-ath79-generic-avm_fritz1750e-squashfs-sysupgrade.bin mtd1
local: openwrt-23.05.0-ath79-generic-avm_fritz1750e-squashfs-sysupgrade.bin remote: mtd1
502 Command not implemented
ftp: Can't bind for data connection: Die Adresse wird bereits verwendet

Any ideas?

Thank you
Neuro

don't own the device, but I think the wiki entry's confusing.

you either have to use the -pnvd or the debug and passive commands, not both.
running them inside the ftp client while using the command line params, disables them again.

1 Like

THX for Feedback.

it was not the root cause but nobody takled about the double synthax as an issue :crazy_face:.

Best
Neuro

Hi frollic,

your hint was correct!!

start with:
**ftp -pnvd 192.168.178.1**
but no:
ftp> **debug**
and
ftp> **passive**

Log and pls update the OM:

neuro@:~/Downloads$ ftp -pnvd 192.168.178.1
setupsockbufsize: rcvbuf_size determined as 131072
setupsockbufsize: sndbuf_size determined as 16384
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
ftp> quote USER adam2
---> USER adam2
331 Password required for adam2
ftp> quote PASS adam2
---> PASS adam2
230 User adam2 successfully logged in
ftp> binary
---> TYPE I
200 Type set to BINARY
ftp> quote MEDIA FLSH
---> MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> put openwrt-23.05.0-ath79-generic-avm_fritz1750e-squashfs-sysupgrade.bin mtd1
local: openwrt-23.05.0-ath79-generic-avm_fritz1750e-squashfs-sysupgrade.bin remote: mtd1
ftp: setsockopt SO_DEBUG (ignored): Keine Berechtigung
---> EPSV
502 Command not implemented
disabling epsv4 for this connection
---> PASV
227 Entering Passive Mode (192,168,178,1,12,9)
---> STOR mtd1
150 Opening BINARY data connection
100% |**********************************************************|  6144 KiB  311.96 KiB/s    00:00 ETA
226 Transfer complete
6291759 bytes sent in 00:19 (311.24 KiB/s)

Best
Neuro

cool!

wiki updated.

I change all my Fritz devices because AVM will be sold...to a financial investor.... :roll_eyes: