Uploading files to OpenWrt

Is it possible to transfer files to the OpenWRT folders. For example to change the image presented in the captive portal.
Would installing Samba achieve this, is this just for external drives, I looked for an ftp option, but can't see anything?

The best way to do it is SCP/SFTP. OpenWrt already contains everything to work with it out of the box.

Not so out of the box, need to install a package.


opkg update
opkg install openssh-sftp-server

scp some/local/file you@your.router:/path/to/destination/

works without addition of any packages (as noted by NoTengoBattery), as does using scp to fetch files from the router.

1 Like

Thanks all, I didn't think of SCP

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.