airan1@spark-bbdd:~$ ssh root@192.168.0.104
The authenticity of host '192.168.0.104 (192.168.0.104)' can't be established.
ED25519 key fingerprint is SHA256:tu6m3SUsvFbVQxtLQiGBU/5BuEO3QexkXl4BNUh+Ye0.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.0.104' (XXXXXXX) to the list of known hosts.
root@xx-x4xx-XXXXXXX:~# usrp_update_fs -t master
/usr/lib/python3.7/site-packages/usrp_mpm/rpc_server.py:24: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had direct imports (NOT patched): ['urllib3.contrib.pyopenssl (/usr/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py)'].
monkey.patch_all()
Downloading manifest file from https://raw.githubusercontent.com/EttusResearch/uhd/master/images/manifest.txt...
[INFO] Using base URL: https://files.ettus.com/binaries/cache/
[INFO] Images destination: /usr/share/uhd/images
[INFO] Using manifest file at location: /tmp/tmpsb7jmy6_/manifest.txt
The file size for this target (438.3 MiB) exceeds the download limit (100.0 MiB). Continue downloading? [y/N]y
459548 kB / 459548 kB (100%) x4xx_common_mender_default-v4.9.0.0.zip
[INFO] Images download complete.
INFO[0000] Loaded configuration file: /etc/mender/mender.conf
INFO[0000] Mender running on partition: /dev/mmcblk0p2
INFO[0000] Start updating from local image file: [/usr/share/uhd/images/usrp_x4xx_fs.mender]
Installing Artifact of size 466179072...
INFO[0000] No public key was provided for authenticating the artifact
INFO[0000] Update Module path "/usr/share/mender/modules/v3" could not be opened (open /usr/share/mender/modules/v3: no such file or directory). Update modules will not be available
INFO[0000] Opening device "/dev/mmcblk0p3" for writing
INFO[0000] Native sector size of block device /dev/mmcblk0p3 is 512 bytes. Mender will write in chunks of 1048576 bytes
................................ 0% 1024 KiB
................................ 0% 2048 KiB
................................ 0% 3072 KiB
................................ 0% 4096 KiB
................................ 1% 5120 KiB
................................ 1% 6144 KiB
................................ 1% 7168 KiB
................................ 1% 8192 KiB
................................ 2% 9216 KiB
................................ X
................................ X
................................ 97% 444416 KiB
................................ 97% 445440 KiB
................................ 98% 446464 KiB
................................ 98% 447488 KiB
................................ 98% 448512 KiB
................................ 98% 449536 KiB
................................ 98% 450560 KiB
................................ 99% 451584 KiB
................................ 99% 452608 KiB
................................ 99% 453632 KiB
................................ 99% 454656 KiB
..................INFO[0153] All bytes were successfully written to the new partition
INFO[0153] The optimized block-device writer wrote a total of 3769 frames, where 1516 frames did need to be rewritten (i.e., skipped)
INFO[0155] Wrote 3951034368/3951034368 bytes to the inactive partition
100% 455253 KiB
INFO[0155] Enabling partition with new image installed to be a boot candidate: 3
Use -commit to update, or -rollback to roll back the update.
At least one payload requested a reboot of the device it updated.
Applied image. After reboot, check if everything works, and then run the command '$ mender -commit' to confirm (otherwise, this update will be undone).
Note: Any data stored in this partition will be not accessible after reboot.
Reboot now? [Yn] y
Will reboot now. Hit Ctrl-C before the countdown expires to cancel.
Rebooting in 3...
2...
1...
Connection to 192.168.0.104 closed by remote host.
Connection to 192.168.0.104 closed.
root@xx-x4xx-XXXXXXX:~# mender commit
INFO[0000] Loaded configuration file: /etc/mender/mender.conf
INFO[0000] 'UpdateControlMapExpirationTimeSeconds' is not set in the Mender configuration file. Falling back to the default of 2*UpdatePollIntervalSeconds
INFO[0000] 'UpdateControlMapBootExpirationTimeSeconds' is not set in the Mender configuration file. Falling back to the default of 600 seconds
INFO[0000] Mender running on partition: /dev/mmcblk0p3
Committing Artifact...
INFO[0000] Executing script: ArtifactCommit_Enter_10_migrate-configuration
INFO[0000] Committing update
samps = usrp.recv_num_samps(
1e6, # Number of samples
2.4e9, # Frequency in Hz
1e6, # Sampling rate
[0], # Receive on channel 0
80, # 80 dB of RX gain
)