5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 16:50:31 +00:00
yggdrasil-network.github.io/installation-linux-openwrt.md

53 lines
1.2 KiB
Markdown
Raw Normal View History

2019-08-07 13:08:28 +00:00
---
tags: dontlink
sitemap: true
---
# Installing on OpenWrt
2019-08-07 13:08:28 +00:00
2023-01-24 21:21:37 +00:00
`yggdrasil` v0.4+ packages are available in OpenWRT since 17.01!
2019-08-07 13:08:28 +00:00
To configure Yggdrasil with the LuCI web interface, install the package `luci-app-yggdrasil`.
2019-08-07 13:08:28 +00:00
## Configuration
2019-08-07 13:08:28 +00:00
Use the LuCI web interface to configure Yggdrasil, see the "Network" section.
2019-08-07 13:08:28 +00:00
Alternatively, you can configure Yggdrasil with just a command line.
To show currently configured options, run the following command:
2019-08-07 13:08:28 +00:00
```
uci show yggdrasil
2019-08-07 13:08:28 +00:00
```
To add a new peer:
2019-08-07 13:08:28 +00:00
```
uci add yggdrasil peer
uci set yggdrasil.@peer[-1].uri='tcp://1.2.3.4:5678'
uci commit
/etc/init.d/yggdrasil restart
```
2023-01-24 21:21:37 +00:00
## OpenWrt Yggdrasil on Matrix
Please stop by `#yggdrasil-openwrt:matrix.org` to join the community development channel.
## NodeInfo enabled by default
The Yggdrasil daemon will provide some basic NodeInfo information to the mesh by default.
This can be disabled by configuring the section in `/etc/config/yggdrasil` or LuCI admin.
This means the following example can be queried by others in the network:
```
"NodeInfo": {
"kernel": "4.14.123",
"hostname": "OpenWrt",
"model": "Globalscale Marvell ESPRESSOBin Board",
"board_name": "globalscale,espressobin"
}
```