Update linux-native-hardware.mdx (#1592)
Some checks are pending
CI / quality (push) Waiting to run
CI / build (push) Waiting to run

* Update linux-native-hardware.mdx

Instructions for Avahi to make Native devices autodetect on Android

* Update linux-native-hardware.mdx

updated avahi instructions to use ipv4

---------

Co-authored-by: pdxlocations <117498748+pdxlocations@users.noreply.github.com>
This commit is contained in:
bitflip 2024-11-22 19:42:24 +00:00 committed by GitHub
parent 6ce9046f0d
commit 17c638db72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,6 +232,29 @@ sudo insmod spi-ch341.ko
- Devices with kernels older than 5.16 may need to blacklist ch341, while kernels 6.0 and newer are observed to work more reliably.
#### Avahi setup
This will allow the Android client to auto-discover your Linux Native device.
- Install avahi-daemon (debian/ubuntu)
```shell
sudo apt install avahi-daemon
```
- Configure Avahi to advertise the node
```shell
echo '<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name>Meshtastic</name>
<service protocol="ipv4">
<type>_http._tcp</type>
<port>80</port>
</service>
</service-group>' | sudo tee /etc/avahi/services/meshtastic.service
```
## CLI Configuration
Interaction with Meshtastic can be conducted via the command line: