diff --git a/installation-linux-openwrt.md b/installation-linux-openwrt.md index ee6c839..6582f4a 100644 --- a/installation-linux-openwrt.md +++ b/installation-linux-openwrt.md @@ -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 +``` diff --git a/installation.md b/installation.md index 8bae4aa..7d5ae85 100644 --- a/installation.md +++ b/installation.md @@ -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