Easy way to download internal stored files off a Rigol MSO5000  ?  ssh ?  ftp ? - Page 1
Forum section: electronics / testgear

author: LinuxGuy123
author_rank: Regular Contributor
timestamp: October 11, 2025, 03:34:09 pm
content: Is there an easy way to download the waveform files saved on an MSO5000 ?Can they be accessed via SSH ? FTP ?Can one mount the scope as a USB external storage device ?Thanks

author: LinuxGuy123
author_rank: Regular Contributor
timestamp: October 12, 2025, 01:26:39 am
content: It turns out there is.You can get root access to an MSO5000 with the following command.$curlhttp://192.168.2.79/cgi-bin/changepwd.cgi-d "pass0=" -d "pass1=; /etc/init.d/S50sshd restart # "Sometimes it throws an error when I run it but it still starts sshd.$ curlhttp://192.168.2.80/cgi-bin/changepwd.cgi-d "pass0=" -d "pass1=; /etc/init.d/S50sshd restart # "admin:Generating RSA Key...Generating public/private rsa1 key pair.Your identification has been saved in /etc/ssh_host_key.Your public key has been saved in /etc/ssh_host_key.pub.The key fingerprint is:60:35:26:b2:f5:16:e7:88:e8:de:25:7d:db:52:ea:fcThe key's randomart image is:+--[RSA1 2048]----+| . o = . || = * * || o + + . || . . + || . . S . . || . . o . = || . . + . || o . || o.E |+-----------------+Stopping sshd: OKStarting sshd: OKOKThen ssh into your scope.ssh root@<ipaddress> If it asks you to generate or use a pass key, say yes.The password is Rigol201You now have access to operating system of your MSO5000.To enable ftp access, run this:$tcpsvd -vE 0.0.0.0 21 ftpd -w /user/dataThis, in turn, starts ftpd. FYI, /user/data is where the "C" directory is that users store their csv and stp files.FYI, these are the parameters that ftpd uses:$ftpdBusyBox v1.23.0 (2017-12-28 11:13:24 CST) multi-call binary.Usage: ftpd [-wvS] [-t N] [-T N] Anonymous FTP serverftpd should be used as an inetd service.ftpd's line for inetd.conf:21 stream tcp nowait root ftpd ftpd /files/to/serveIt also can be ran from tcpsvd:tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve-w Allow upload-v Log errors to stderr. -vv: verbose log-S Log errors to syslog. -SS: verbose log-t,-T Idle and absolute timeoutsDIR Change root to this directoryYou can now test ftp with a good file manager or from the command line. If you use the -w option you can write to the directory on the scope. This is handy for uploading waveform files for the signal generator or for renaming files. I find it much faster to rename an MSO5000 file with a keyboard than on the scope UI.If you are running the KDE Dolphin file manager, you can put this in the file address bar. ftp://<ipaddress>Tip: if you enable the mDNS option in WebControl (http://ipaddress) -> Network Settings or or Utility->I/O->LAN then you can refer to your scope by its hostname (MSO5000) rather than its IP address.$ ftp 192.168.2.79Connected to 192.168.2.79 (192.168.2.79).220 Operation successfulName (192.168.2.79:me): root331 Please specify passwordPassword:230 Operation successfulRemote system type is UNIX.Using binary mode to transfer files.ftp> ls227 PASV ok (192,168,2,79,161,52)150 Directory listingtotal 88200-rw-r--r-- 1 0 0 47115 Jan 25 2025 RigolDS0.stp-rw-r--r-- 1 0 0 15000040 Oct 3 21:07 RigolDS2.csv-rw-r--r-- 1 0 0 15000040 Oct 3 21:25 RigolDS3.csv-rw-r--r-- 1 0 0 15000040 Oct 3 21:24 RigolDS4.csv-rw-r--r-- 1 0 0 15000040 Oct 3 21:27 RigolDS5.csv-rw-r--r-- 1 0 0 15000040 Oct 3 21:06 This is also my data.csv-rw-r--r-- 1 0 0 15000040 Oct 3 21:05 This is my data.csv-rw-r--r-- 1 0 0 47154 Oct 3 13:22 test1.stp-rw-r--r-- 1 0 0 47154 Oct 3 13:23 test3.stp226 Operation successfulftp>I haven't figured out how to have sshd and ftpd be automatically started when the scope is rebooted. I tried using cron but that didn't work. If someone figures this out, post the solution here.Does everyone know how great the desktop access to the MSO5000 is through VNC ? That and ftp makes this one sweet scope.