1. *** Packages for ADALM-PLUTO from local or remote repository 1.1 Try 1.2 Try and download for future use 2. *** Online scripts 2.1 Set date on time n plutoSDR 2.2 Prepare OpenVPN 2.3 Install Sigdigger agent ** Requirement : - ADALM-Pluto with internet access (Ethernet, Wifi or USB shared) 1. Packages Pre-compiled packages for plutoSDR are here : http://www.lamableu.net/pluto/ipk/ 1.1 *** Just give a try : Run following command on your pluto from shell : wget -q http://www.lamableu.net/pluto/tools/try_opkg.sh -O /tmp/try_opkg.sh; sh /tmp/try_opkg.sh --> console : installing extended freq coverage (70MHz - 6 GHz)... Downloading opkg ... OPKG installed - OK until next boot ! OPKG utility is now copied to rootfs / --> and valid until next boot. Once done, update your package list : /usr/bin/opkg update --> available commands : 'opkg update' to update package list 'opkg list' to list available packages 'opkg install ' to install a package 'opkg install ./' to install a package from local .opk file Example: run dump1090 : opkg update opkg install dump1090-pluto --> At next boot, install again using same command ! 1.2 *** Download and store opkg tool for future use (offline reinstall) Run following command on your pluto from shell : wget -q http://www.lamableu.net/pluto/tools/install.sh -O /tmp/install.sh; sh /tmp/install.sh This will copy opkg utility to the pluto. To re-install OPKG offline, run following command after reboot : /mnt/jffs2/reinstall_opkg.sh When installing packages, some dependencies might be missing. Try to install manually the required dependencies from the repository or fill an issue here : https://github.com/LamaBleu/plutoscripts 2. Online scripts 2.1 Set date and time : wget -O - -q http://www.lamableu.net/pluto/tools/ | sh - 2.2 Install OpenVPN Requirements : - You have to copy your certificate to /mnt/jffs2. Name is not important but extension for the file has to be changed to .ovpn Having the certificate permanently stored on JFFS is very good but also implies a security hole. - Time and date need to be set, because a certificate does not agree with 1970 year. This task is performed by the script below. - Before copying the certificate to /mnt/jffs2 you can test manually the connection : openvpn /tmp/mycert.ovpn - To start in background run : /etc/init.d/S60openvpn start - TUN connection will mount as tun0 interface once established Set time, install kernel module and openVPN packages : wget -O - -q http://www.lamableu.net/pluto/tools/tun_install_033.sh | sh - 2.3 Install SigDigger agent Note 1: changes are lost after reboot ! --> read-only filesystem Note 2: Sigdigger version on host computer should be installed from 'develop' branch, latest commit. (as of 20-jul-2021) 2.3.1 Download patch From pluto terminal : - Pluto is connected to internet and able to ping external hosts : wget -q http://www.lamableu.net/pluto/sigdigger/sigdigger-agent.tgz -O /tmp/sigdigger-agent.tgz - Pluto is not connected to internet Download file: http://www.lamableu.net/pluto/sigdigger/sigdigger-agent.tgz Transfer sigdigger-agent.tgz to pluto on /tmp directory using SCP. 2.3.2 Install patch gzip -dc /tmp/sigdigger-agent.tgz | tar -xf - -C / This will install sigutils and suscan ( sigdigger agent modules), soapySDR and opkg utility. 2.3.3 Check install --> SoapySDRUtil --find ###################################################### ## Soapy SDR -- the SDR abstraction library ## ###################################################### ERROR: Unable to find host: Temporary failure in name resolution Found device 0 device = plutosdr driver = plutosdr uri = local: --> suscli devices ndx Device name Driver Interface Availability ------------------------------------------------------------------------------ [ 0] Dummy device null local unavailable [ 1] plutosdr (Unlabeled device) plutosdr local available --> suscli profiles [ 1] "PlutoSDR 3MSps" [ 2] "PlutoSDR 1MSps" 2.3.4 Launch SigDigger agent on pluto suscli devserv if= example : suscli devserv if=192.168.2.1 2.3.5 : Note on opkg utility opkg tools is added to this patch, allowing to test additional apps without reflashing. However changes are lost at reboot, making it riskless. If the pluto is connected to internet run 'opkg update'. This command will retrieve a list of plutoSDR applications coming from http://www.lamableu.net/pluto/ipk/ To install new application, example for dump1090: opkg update opkg install dump1090-pluto Some dependencies might be missing in the package config file, but are present on repository. Install missing dependencies first in case of trouble, then report.