Indeed, this morning I finally found a use for one my original RPi's that's been stuck in a drawer.
It all sits in the probe compartment and runs automatically at scope boot up.
The RPi is powered from a hub that's connected to the rear USB port. This hub also has the USB stick with the 2.37 code.
I wrote an "expect" script (attached) and added it to the rc.local so it runs on boot up.
Quick setupInstall Rasbian Jessie
sudo apt-get install telnet
sudo apt-get install expect
Place the attached x3000a.txt script in your /home/pi directory, and rename it to x3000a.
To run it immediately from your /home/pi directory, run the following (setting your scope's IP address or host name as appropriate):
expect x3000a 192.168.50.123
Next steps (running automatically at power up)
Power your RPi from one of the USB ports so it powers up and boots when the scope initially boots.
Raspberry pi configuration changes in GUI:
set to cli only (Note that you can always go back into the gui with startx from the command line)
wait for network
I recommend using a static IP address on the RPi and the scope so this will work without a DHCP server if you're off your LAN (a straight through CAT5 patch cable between Pi and scope works in this case). It looks like some well meaning individual chose to change how static addresses are set up in RPi, rendering hundreds of pages on the subject obsolete. It's now in /etc/dhcpcd.conf.
Add to the bottom of /etc/dhcpcd.conf file your Pi's static IP address details:
interface eth0
static ip_address=192.168.50.123/24
static routers=192.168.50.1
static domain_name_servers=192.168.50.1
To make it work automatically at boot* add the following to your /etc/rc.local file before the "exit 0", setting the IP address to your scope's, and note the
"&" on the end, it is not a typo!
/usr/bin/expect /home/pi/x3000a 192.168.50.123 &
*I strongly recommend getting it to work from the command line first with a monitor before setting it up to work "headless" at boot time in case some of the timings don't work out for you.
One caveat: remove any USB stick in the front before boot, that appears as \usb with the rear one \usb2.
Edit: added some clarifications and one correction to a typo on the static IP address config.