Installing Raspbian (stretch), Exagear V2.4.2, and the Latest Winsdr/Winquake on Raspberry Pi-3



  1. Save ALL current winsdr.ini files (16) before beginning!
  2. Remove any USB flash drives or USB devices.
  3. Install latest Raspbian (Stretch) on 16GB micro SD card or larger.


Download full Raspbian Stretch and extract.

Download and install WinDiskimager.

Burn micro SD card.


  1. Setup to view hidden files from "view" in any folder.
  2. Setup network.
  3. $ sudo apt-get update
  4. $ sudo apt-get dist-upgrade
  5. $ sync
  6. $ sudo apt-get clean
  7. $ sudo rpi-update
  8. Setup keyboard, time zone, wifi country, and local, in Rpi-Preferences/Localization tab, disable splash screen in System tab.
  9. Also in the System tab, you may need to disable underscan to fill the screen.
  10. At this point you can rename the host system e.g. seismopi.
  11. $ sudo reboot


Move the following into ~/Downloads:


exagear-desktop-rpi-3.tar.gzget the latest version available, now v2.3

pk-000000002335.key (your exagear key file)



all winsdr.ini files (get them all, 16 if you save period extended channels), for each instance of winsdr you will be running and put them in separate directories, e.g. sys1ini and sys2ini.)


  1. $ cd ~/Downloads
  2. $ tar -xvzpf exagear-desktop-*.tar.gz
  3. $ sudo ./
  4. $ sync
  5. $ sudo reboot






Test exagear:


Note: Once Exagear is installed, it is locked to the micro SD card and Rpi-3. To unlock use purge as explained in the exagear use guide pdf in ~/Downloads. If you cant purge due to an unrecoverable crash, Eltechs will reset it for you when you send them your key file and a short note. (


  1. $ exagear
  2. $ archreturns "i686"
  3. $ exit
  4. $ archreturns "armv7L"
  5. $ sudo apt-get update as suggested by Eltech

Install wine in x86 environment: (takes awhile)


  1. $ exagear
  2. $ sudo apt-get update
  3. $ sudo apt-get install wine
  4. Keep original /etc/pulse/client.conf (Default=N).
  5. saned.service load error (Invalid argument)scanner issue, ignore for now
  6. $ exit
  7. $ sudo reboot
  8. $ exagear
  9. $ wine versionreturns "wine-2.0-eltechs"


Install winsdr and winquake:


  1. $ exagear
  2. $ cd ~/Downloads
  3. $ wine winsdr478b6_32bit.exe
  4. Choose not to install "mono"(open source .net) and "Gecko"(open source web browser engine).
  5. Create desktop icon for only the first instance of winsdr.
  6. $ wine wq339_32bit.exe
  7. Create desktop icon.
  8. WinSDR and Winquake are now installed, remove winsdr.lnk and winquake .lnk files.
  9. Run each instance of winsdr. Then populate all the ini files you saved in step 1 into ~/.wine/drive_c/WinSDR1, ~/.wine/drive_c/WinSDR2


Install x11vnc:


  1. $ sudo apt-get install x11vnc
  2. $ x11vnc storepasswdprompt to add password
  3. $ sudo nano ~/.config/lxsession/LXDE-pi/autostart
  4. Add to last line of autostart:


@x11vnc -forever -usepw -display :0 ultrafilexfer


Add the following to /boot/congif.txt to allow full screen in x11vnc, without monitor:

1.      uncomment: hdmi_force_hotplug=1

2.      add: hdmi_group=2

3.      add: hdmi_mode=82


Add one high capacity USB drive to pi-3, visible by winsdr (a 256 GB drive works fine)


  1. $ sudo apt-get install gparted (install the GUI partition editor, it will be useful)
  2. Insert usb drive into pi
  3. $ sudo fdisk /dev/sda


d-delete existing partition

n-new partition

p-primary partition

choose default sector sizes

1-partition number

no need to keep original type signature



  1. $ sudo reboot
  2. $ sudo fdisk -l (check /dev/sda1 was created)
  3. $ sudo umount /dev/sda1
  4. $ sudo mkfs -t ext4 /dev/sda1
  5. $ sudo nano /etc/fstab
  6. Add following line to end of fstab:


/dev/sda1 /home/pi/seismodata ext4 defaults 0 2


  1. $ sudo reboot
  2. $ cd ~/
  3. $ sudo chmod 777 ./seismodata (make directory seismodata read/writable by everybody)


Link Linux USB devices to multiple com ports:


  1. The kernel usually just assigns unpredictable device names, e.g. ttyUSBn, based on the order of discovery. To keep devices with fixed names do the following:
  2. Create a file: $sudo nano /etc/udev/rules.d/49-usb-serial.rules
  3. Add the following lines: (these are for my WebTronics16 bit PSN-ADC-USB V3 digitizers)


SUBSYSTEM=="tty", ATTRS{idVendor}=="0403"

ATTRS{idProduct}=="6001", ATTRS{serial}=="AE01E315"


SUBSYSTEM=="tty", ATTRS{idVendor}=="0403"

ATTRS{idProduct}=="6001", ATTRS{serial}=="A6024YR0"



  1. ttyUSB5 and ttyUSB6 are linked to /dev/ttyUSB0 and /dev/ttyUSB1. I had trouble using ttyUSB0 and ttyUSB1, so I picked 5 and 6.
  2. Specific {serial}, {idProduct} and {idVendor} can be found from $ lsusb -v and from reading $ dmesg.
  3. Insert USB cable from digitizer(s).
  4. Create soft links from Linux devices to com ports:
  5. $ ln -s /dev/ttyUSB5 ~/.wine/dosdevices/com5
  6. $ ln -s /dev/ttyUSB6 ~/.wine/dosdevices/com6
  7. Now select the appropiate com port in winsdr Settings/System/General for each instance of winsdr.


"GIF File Upload Settings":


  1. "FTP Upload Settings" are for Events only, no need to enable FTP.
  2. Set c:\winsdr directory permissions to everyone/everyone/everyone.
  3. IP Address: hosting IP
  4. username: earthmodeyour username
  5. Password: _______________your password
  6. check Passive Mode box
  7. Set remote directories to whatever they may be, e.g. /sys1/, /sys2/.


Create Desktop Icons:


  1. Create empty file on desktop e.g. WinSDR1.desktop with text editor.
  2. Add:


[Desktop Entry]


Exec=env WINEPREFIX="/home/pi/.wine" wine c:\\\\WinSDR1\\\\winsdr.exe




Icon=BDDF_winsdr.0may have different name


  1. Save