https://github.com/desultory/loranger
LoRa system controller
https://github.com/desultory/loranger
command-and-control lora
Last synced: 9 months ago
JSON representation
LoRa system controller
- Host: GitHub
- URL: https://github.com/desultory/loranger
- Owner: desultory
- Created: 2024-12-14T02:04:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-19T21:08:17.000Z (about 1 year ago)
- Last Synced: 2025-02-12T13:55:16.212Z (11 months ago)
- Topics: command-and-control, lora
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# LoRanger
System controller designed to be used with LoRa radios.
Has only been tested with ebyte E220 modules. Should work with any modules that work over UART.
## Server
`loranger_server` runs a server which listens for queries and commands from the client, and sends responses back.
## Client
`loranger_client` can send queries with -q, or run actions with -a followed by the action name and args.
### Query
Currently the following system information can be queried:
- `hostname` - returns the system hostname
- `uptime` - returns the system uptime
- `interfaces` - returns the system interfaces
- `ip4` - returns the system ipv4 address by interface name
- `ip6` - returns the system ipv6 address by interface name
- `macs` - returns the system mac addresses by interface name
- `routes` - returns all system routes
### Actions
- `disable_interface` Disables an interface by name
- `enable_interface` Enables an interface by name
- `add_address` Adds an address to an interface
- `del_address` Deletes an address from an interface
- `start_service` Starts an OpenRC service
- `stop_service` Stops an OpenRC service