What is the easiest and fastest way to download files from a router only telnet access?

What is the easiest and fastest way to download files from a router only telnet access?

The question itself))). Several versions of the CMCC RAX3000M(e) routers have arrived, both with NAND and eMMC. Considering the documentation on the router page leaves much to be desired, to put it mildly, two routers have already bricked))). As I recover, I'll post firmware backups, photos of the boards where to connect the UART, etc., if needed. But I'd appreciate a little help saving time searching for information on seemingly basic things))). Well, I don't work with the command line every day, or even every month))).

Depends on what's available on the router side, try https://github.com/krabiswabbie/busyscout, but I'm not sure it works from router.

1 Like

If you have a webserver, you could use that. If you have a base64 encoder, you can do

base64 </path/to/file/to/upload

and use clientside logging to catch the file.

1 Like

If you have addition binaries/BusyBox features, the possibilities are endless, you could use netcat (nc) or uuencode instead of base64.

There are shell scripts posted on GitHub that can do this for you, without additional features, only bare busybox, can't find any of them atm though :frowning:

1 Like

There's a utility that flash KeeneticOS to this router, and it automatically and quickly creates a full backup of the flash memory and the mtd3_Factory partition, and then flashes KeeneticOS . But I don't need this OS, and besides, it's already killed one router. I read the instructions at https://openwrt.org/toh/cmcc/rax3000m, and they say something like, "take a rocket and fly into space!" But what kind of rocket or how exactly we fly isn't specified. They say it's self-evident and shouldn't raise any questions. But that's not true at all. Even at the beginning, it says we're getting SSH access, but at the end, it turns out we're getting Telnet.