Skip to content

Instantly share code, notes, and snippets.

View M0LTE's full-sized avatar

Tom M0LTE M0LTE

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@M0LTE
M0LTE / dxcc-entity-id-to-country.cs
Created May 2, 2024 13:55
C# DXCC entity id to country dictionary
private readonly Dictionary<int, string> dxcc = new()
{
{ 246, "Sov Mil Order of Malta" },
{ 247, "Spratly Islands" },
{ 260, "Monaco" },
{ 4, "Agalega & St. Brandon" },
{ 165, "Mauritius" },
{ 207, "Rodriguez Island" },
{ 49, "Equatorial Guinea" },
{ 195, "Annobon Island" },
@M0LTE
M0LTE / rfc-dapps-on-air-protocol.md
Last active April 22, 2024 19:09
RFC- DAPPS on-air protocol

RFC- DAPPS on-air protocol

DAPPS is "Distributed Asynchronous Packet Pub/Sub", a proposed overlay over amateur packet radio, with the intention of making it easier for application developers to leverage "the network" without having to solve many of the same problems again and again.

In a nutshell, DAPPS discards the concept of a "connected session" between two stations potentially separated by multiple unreliable hops, and instead facilitates "eventual delivery" message passing. The application interface at each end is MQTT, facilitated either by installation of a DAPPS instance alongside the existing packet node software, or perhaps in future by the node software itself.

(Its implementation can still make use of AX.25 connected sessions to pass messages between neighbour nodes, but there is no session

@M0LTE
M0LTE / userconf.txt
Created January 17, 2024 09:36
Raspberry Pi userconf
Create a file named user userconf (or userconf.txt) containing the following:
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0
Place userconf (or userconf.txt) plus an empty file named ssh (or ssh.txt) in the BOOT (FAT32) partition of the SD card.
Insert the SD card in the Raspberry Pi and it should boot with access to user 'pi' (password : raspberry) via SSH.
@M0LTE
M0LTE / fix-wifi.sh
Created October 2, 2023 19:25
Fix Raspberry Pi / UniFi wi-fi SSH hanging
sudo su
echo "IPQoS 0x00" >> /etc/ssh/sshd_config
sudo systemctl restart sshd
echo "IPQoS 0x00" >> /etc/ssh/ssh_config
@M0LTE
M0LTE / bpq32.cfg
Last active July 3, 2024 08:36
A minimal bpq32.cfg for fictional node MB7NAA
SIMPLE
NODECALL=MB7NAA
NODEALIAS=AANODE
LOCATOR=AA00aa
EnableM0LTEMap=1
PASSWORD=xxxxxxxx
AUTOSAVE=1
NODESINTERVAL=10
MINQUAL=10
CTEXT: