5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-16 19:19:36 +00:00

Merge pull request #173 from zhoreeq/openwrt_docs

Update the OpenWRT platform information
This commit is contained in:
Neil Alexander 2021-10-17 23:10:55 +01:00 committed by GitHub
commit aa35dd8e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -3,30 +3,29 @@ tags: dontlink
sitemap: true
---
# Installing on OpenWrt 19.07
# Installing on OpenWrt
Yggdrasil is supported on the OpenWrt based router.
`yggdrasil` v0.4+ packages are available in OpenWRT since 21.02.
To configure Yggdrasil with the LuCI web interface, install the package `luci-app-yggdrasil`.
Perform installation steps over SSH by connecting to the Router as the
`root` user, e.g. `ssh root@192.168.1.1`, or another admin-level user if
configured.
## Configuration
## Package install from repository
Use the LuCI web interface to configure Yggdrasil, see the "Network" section.
Alternatively, you can configure Yggdrasil with just a command line.
To show currently configured options, run the following command:
Install the `yggdrasil` package:
```
opkg update
opkg install yggdrasil
uci show yggdrasil
```
Yggdrasil can then be updated in the future by updating the packages:
```
opkg update
opkg upgrade yggdrasil
```
To add a new peer:
## After installation
Read the [OpenWrt platform page](platform-openwrt.md) page for information
on how to configure Yggdrasil and guidance on modifying the configuration.
```
uci add yggdrasil peer
uci set yggdrasil.@peer[-1].uri='tcp://1.2.3.4:5678'
uci commit
/etc/init.d/yggdrasil restart
```

View File

@ -19,6 +19,7 @@ Yggdrasil is well supported on Linux. There are a number of distribution package
- [Debian, Ubuntu, elementaryOS, Linux Mint and similar](installation-linux-deb.md)
- [Red Hat Enterprise Linux, Fedora, CentOS and similar](installation-linux-rpm.md)
- [Gentoo Linux](installation-linux-gentoo.md)
- [OpenWRT](installation-linux-openwrt.md)
- [Manual install or build from source](installation-linux-other.md)
### macOS