Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:meshtastic [2024/08/28 12:50] – [Info] darron | tools:meshtastic [2024/09/11 11:25] (current) – [Command Line Interface] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
====Meshtastic==== | ====Meshtastic==== | ||
- | ===CLI=== | + | ===Mestastic Linux=== |
+ | |||
+ | Using the [[interfaces: | ||
+ | |||
+ | ==Raspberry Pi Zero 2W / Pi 3B== | ||
+ | |||
+ | __Kernel configuration__ | ||
< | < | ||
- | apt install python3-full | + | dtparam=spi=on |
+ | dtoverlay=spi0-0cs | ||
+ | enable_uart=1 | ||
</ | </ | ||
+ | |||
+ | __Kernel command line__ | ||
+ | |||
+ | < | ||
+ | console=tty1 root=PARTUUID=xxxxxxxx-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB | ||
+ | </ | ||
+ | |||
+ | __Meshtastic__ | ||
+ | |||
+ | < | ||
+ | Lora: | ||
+ | Module: sx1262 | ||
+ | DIO2_AS_RF_SWITCH: | ||
+ | CS: 21 | ||
+ | IRQ: 16 | ||
+ | Busy: 20 | ||
+ | Reset: 18 | ||
+ | | ||
+ | GPS: | ||
+ | SerialPath: /dev/ttyS0 | ||
+ | | ||
+ | Logging: | ||
+ | LogLevel: debug # debug, info, warn, error | ||
+ | |||
+ | Webserver: | ||
+ | Port: 443 # Port for Webserver & Webservices | ||
+ | RootPath: / | ||
+ | </ | ||
+ | |||
+ | __Runit__ | ||
+ | |||
+ | < | ||
+ | systemctl stop meshtasticd | ||
+ | systemctl disable meshtasticd | ||
+ | systemctl mask meshtasticd | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | #! /bin/bash | ||
+ | sleep 1 | ||
+ | |||
+ | #LOG | ||
+ | exec 2>&1 | ||
+ | ulimit -aH | ||
+ | |||
+ | #RUN | ||
+ | mkdir -p / | ||
+ | cd / | ||
+ | exec / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===Command Line Interface=== | ||
+ | |||
+ | ==Setup== | ||
+ | |||
+ | < | ||
+ | sudo apt install python3-full | ||
+ | </ | ||
+ | |||
+ | == Install== | ||
< | < | ||
Line 25: | Line 94: | ||
< | < | ||
meshtastic --port / | meshtastic --port / | ||
+ | </ | ||
+ | |||
+ | ==Update== | ||
+ | |||
+ | < | ||
+ | ~/ | ||
+ | </ | ||
+ | ===Channel=== | ||
+ | |||
+ | < | ||
+ | meshtastic --port / | ||
+ | Connected to radio | ||
+ | Set name to HOME | ||
+ | Writing modified channels to device | ||
+ | |||
+ | meshtastic --port / | ||
+ | Connected to radio | ||
+ | Writing modified channels to device | ||
</ | </ | ||
Line 32: | Line 119: | ||
==Receive== | ==Receive== | ||
- | |||
__Install__ | __Install__ | ||
Line 74: | Line 160: | ||
==Send== | ==Send== | ||
+ | |||
+ | Direct message | ||
< | < | ||
meshtastic --port / | meshtastic --port / | ||
</ | </ | ||
+ | |||
+ | Channel message | ||
+ | |||
+ | < | ||
+ | meshtastic --port / | ||
+ | </ | ||
+ | |||
===Info=== | ===Info=== | ||
Line 104: | Line 199: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||