Saturday, March 14, 2020

did thought

I'm probably going to pull in DIDs somewhere, and I hope it turns out amazingly well. someone told me that I should figure out how to track lots of drones. DIDs have to do with the E2E security scheme I am plotting. maybe I can find them if I search the DIDs? That is a whole other rabbit hole. (edited) 

Tuesday, March 10, 2020

notes about sbt and scala-ide

sbt project in eclipse:

https://www.lagomframework.com/documentation/1.6.x/java/EclipseSbt.html

https://www.scala-sbt.org/1.x/docs/sbt-by-example.html

http://scala-ide.org/

Sunday, February 9, 2020

LoRa Links

https://www.youtube.com/watch?v=v3JIx7ICmnI   [ESP32 LoraWan Gateway with Heltec/TTGO Lora32 boards - Part I]
https://www.youtube.com/watch?v=OfH80Gmgf-o&t=16s [ESP32 LoraWan Gateway with Heltec/TTGO Lora32 boards - Part II]
https://www.youtube.com/watch?v=eZhDvsJzwwI [ESP32 LoraWan Gateway with Heltec/TTGO Lora32 boards - Part III]
https://www.youtube.com/watch?v=sYPL85ViFPE&t=22s [ESP32 LoraWan Gateway with Heltec/TTGO Lora32 boards - Part IV]

https://github.com/ricaun/esp32-ttnmapper-gps [Code to make experiment on TTN Mapper with GPS and TTGO]

Getting LoRa working with the LimeSDR Mini (Experiments)

Clone these three repositories:
https://github.com/myriadrf/LoRa-SDR

https://github.com/pocoproject/poco

https://github.com/nlohmann/json


For poco and json make sure you install them so the LoRa-SDR installer can find them:
sudo cmake --build . --target install


but I get an error

https://discourse.myriadrf.org/t/failed-safe-load-module-error-with-lora-sdr-and-pothosflow-and/5744


here is a means to reinstall::
http://blog.reds.ch/?p=43

https://cyberspy.io/articles/pothossdr/



Wednesday, February 5, 2020

GNU Radio Companion with LimeSDR Mini Test

0) Attach cooling fan to battery

1) Plug in LimeSDR Mini. The LED blinks alternating yellow/red when plugged in.

2) Launch a virtual shell (Ctrl+Alt+T). Type LimeQuickTest. The LED on the LimeSDR Mini should start blinking green.

3) Launch GNU Radio Companion. Amateur Radio > SDR > grc.
Launch the file FM_Reciever.grc from
https://github.com/myriadrf/gr-limesdr/tree/master/examples


Future plans:

https://revspace.nl/DecodingLora , recordings (http://bertrik.sikken.nl/sdr/) ...wav at a different sample rate than can be played with media player like VLC.

Basic Setup with the LimeSDR Mini and Ubuntu 18.04 Bionic

To get the LimeSDR Mini working with Ubuntu 18.04 follow the following:
https://github.com/pothosware/PothosCore/wiki/Ubuntu

To get LimeSDR Mini working with GNU Radio Companion, also add:
https://github.com/myriadrf/gr-limesdr

But does the LimeSDR Mini work with GQRX?? Try SDRAngel.
https://discourse.myriadrf.org/t/limesdr-mini-gqrx/4537

Other Useful links:
https://github.com/pothosware/SoapySDR/wiki#installation

Friday, January 31, 2020

Setting up Andy's Linux

Steps taken to set up Andy's Linux:

https://sourceforge.net/projects/kb1oiq-andysham/

1) Download ISO.
2) Use unetbootin to "burn" it to a USB stick
3) Configure in the Bios to boot from USB (by pressing F7, and then the correct menu option)
4) Install to the Hard Drive.
5) Get the internet working through a netplan configuration file:
/etc/netplan/01-network-manager-all.yaml
5.1) Contents:

#Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    ens33:
     dhcp4: yes

Adding programs to the icewm start menu:

$ icewm --directories

gives:

/etc/X11/icewm

edit the programs folder in vim as root.

========

How to create a keyboard shortcut for Printing the Screen with Andy's Linux, Ubuntu 18.04:

Look at the file /usr/share/icewm/keys. It is a goldmine of information.

From this file I derive that /usr/include/X11/keysymdef.h is the file that contains all the key names with corresponding
hex values. The ones involving printing can be found with:
cat /usr/include/X11/keysymdef.h | grep "Print"

I get the output:

#define XK_Print                         0xff61
#define XK_3270_PrintScreen              0xfd1d


I can cross check this with the xev command. When I press the PrtSrc button with xev running I get:

"(keysym 0xff61, Print)" amongst the output.


1) Using this information, I can create a file in /usr/local/bin/ called script-screenshot.sh .

#!/bin/bash

DATE=`date +%s`
scrot "$HOME/Pictures/scr-$DATE.png"

2) Make script-screenshot.sh executable:

chmod +x /usr/local/bin/script-screenshot.sh

3) Create a file named "keys" in /etc/X11/icewm with the contents:

key "Print"   /usr/local/bin/script-screenshot.sh

Reference:: https://bbs.archlinux.org/viewtopic.php?id=135172