mac-remote-command
Client for embedded systems to facilitate remote configuration.
MAC Remote Command facilitates the configuration of embedded remote and local systems by connecting to an remote web service. A reference implementation is available and free to use at https://mac-commander.deta.dev/. The source code for the web service is available on GitHub at FlantasticDan/mac-commander. MAC Remote Command optionally includes support to display it's detect Local IP and MAC Address via an OLED Status Display.
Installation
For standard use:
pip install mac-remote-command
For optional use with an OLED Status Display:
pip install mac-remote-command[oled]
Note OLED Status Display is only compatiable on Linux devices with an I2C bus.
Use
Currently the remote command functionality of the package is undeveloped. Right now it only offers a pinging service to publically broadcast it's local and public IP address as referenced by it's MAC Address:
python -m mac_remote.ping
Starting Remote Ping On Boot (Ubuntu)
Linux allows Python modules to be executed as part of a startup service. These instructions assume MAC Remote Command is installed in a virtual environment.
- Create a
start-mac-remote-ping.shscript which activates the virtual environment and then starts the MAC Remote Command:
#!/bin/bash
cd <directory>
. venv/bin/activate
python -m mac_remote.ping
- Modify the script so it is executable:
sudo chmod x+ start-mac-remote-ping.sh - Create a service the run the script at startup by writing the following file at
/etc/systemd/system/mac-remote-ping.service:
[Unit]
Description=MAC Remote Command Pinger
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=<username>
ExecStart=/path/to/start-mac-remote-ping.sh
[Install]
WantedBy=multi-user.target
- Enable the startup service:
systemctl enable mac-remote-ping - Reboot
Metadata
Release files for mac-remote-command 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mac-remote-command-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for mac-remote-command-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mac_remote_command-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mac_remote_command-0.1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / mac-remote-command-0.1.0.tar.gz
| Download URL | mac-remote-command-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24c8a96451b304bfda5b4c99869edb2530356faf6778a9bb989f4526637b189e
|
|
BLAKE2b-256 checksum How to use checksums |
10995b381e928cdd166b71cc2430811b171d43806766dcc609e0d83346462e01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
|
Release files / mac_remote_command-0.1.0-py3-none-any.whl
| Download URL | mac_remote_command-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1179d7ababc83252fc672c32df56830c7f9ddca699206eae359b59a33b97a7f
|
|
BLAKE2b-256 checksum How to use checksums |
37fce13df37d4ed19fdee593fce5b0e86171642e096bd5b33b4a8789b059598a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
|
Security for mac-remote-command 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.