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.
loranger_server runs a server which listens for queries and commands from the client, and sends responses back.
loranger_client can send queries with -q, or run actions with -a followed by the action name and args.
Currently the following system information can be queried:
hostname- returns the system hostnameuptime- returns the system uptimeinterfaces- returns the system interfacesip4- returns the system ipv4 address by interface nameip6- returns the system ipv6 address by interface namemacs- returns the system mac addresses by interface nameroutes- returns all system routes
disable_interfaceDisables an interface by nameenable_interfaceEnables an interface by nameadd_addressAdds an address to an interfacedel_addressDeletes an address from an interfacestart_serviceStarts an OpenRC servicestop_serviceStops an OpenRC service