From 17c638db72309034490a3d256c86f08f00703ec2 Mon Sep 17 00:00:00 2001 From: bitflip Date: Fri, 22 Nov 2024 19:42:24 +0000 Subject: [PATCH] Update linux-native-hardware.mdx (#1592) * 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> --- .../linux-native-hardware.mdx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx b/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx index 65afb600..8ab9b3db 100644 --- a/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx +++ b/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx @@ -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 ' + + + Meshtastic + + _http._tcp + 80 + +' | sudo tee /etc/avahi/services/meshtastic.service +``` + ## CLI Configuration Interaction with Meshtastic can be conducted via the command line: