mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 05:34:11 -08:00
Update linux-native-hardware.mdx (#1609)
Update avahi instructions to use an editor instead of tee, and use double quotes everywhere to avoid unicode issues when pasting.
This commit is contained in:
parent
5c0f289dbe
commit
eaf8f8ae33
|
@ -243,8 +243,14 @@ sudo apt install avahi-daemon
|
||||||
|
|
||||||
- Configure Avahi to advertise the node
|
- Configure Avahi to advertise the node
|
||||||
|
|
||||||
|
Create the service file:
|
||||||
```shell
|
```shell
|
||||||
echo '<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
|
sudo nano etc/avahi/services/meshtastic.service
|
||||||
|
```
|
||||||
|
|
||||||
|
And paste the following:
|
||||||
|
```xml
|
||||||
|
<?xml version="1.0" standalone="no"?><!--*-nxml-*-->
|
||||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||||
<service-group>
|
<service-group>
|
||||||
<name>Meshtastic</name>
|
<name>Meshtastic</name>
|
||||||
|
@ -252,8 +258,9 @@ echo '<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
|
||||||
<type>_http._tcp</type>
|
<type>_http._tcp</type>
|
||||||
<port>80</port>
|
<port>80</port>
|
||||||
</service>
|
</service>
|
||||||
</service-group>' | sudo tee /etc/avahi/services/meshtastic.service
|
</service-group>
|
||||||
```
|
```
|
||||||
|
Then save and exit.
|
||||||
|
|
||||||
## CLI Configuration
|
## CLI Configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue