OpenWrt setup
The OpenWrt Project is a Linux operating system targeting embedded devices. Irdest Ratman is available as a package for OpenWrt via our CI for some architectures.
Prerequisites
This is only tested for
armv7l
32-bit architecture. e.g. this is tested withLinux OpenWrt 5.10.146 #0 SMP Fri Oct 14 22:44:41 2022 armv7l GNU/Linu
.musl libc (armhf)
stdlib.
Download
You can do these steps on the router itself or on your machine. If you did the
above on your machine, then you need to copy the .ipk
file to your router.
The complete set of instructions may look like this.
- Download the package file using
wget
orcurl
etc.wget -O artifacts.zip "https://git.irde.st/we/irdest/-/jobs/53163/artifacts/download?file_type=archive"
- You will have artifacts.zip here; unzip it
unzip artifacts.zip
- You will have .ipk file here like "ratman-openwrt-0.5.0-1_arm_cortex-a9_vfpv3.ipk". Copy that to the router running
OpenWrt.
scp ratman-openwrt-0.5.0-1_arm_cortex-a9_vfpv3.ipk remote-server:/root/
Installation and check
- Run the package installer
Possible output 👍root@OpenWrt:~# opkg install ratman-openwrt-0.5.0-1_arm_cortex-a9_vfpv3.ipk
Installing ratmand (0.5.0-1) to root... Configuring ratmand.
- Check
Possible output 👍which ratmand
/usr/bin/ratmand
- Run
Possible output 👍root@OpenWrt:~# ratmand
Loading config from "/root/.config/ratmand/ratmand.kdl" Nov 22 17:58:24.571 INFO ratmand::util: Initialised logger: welcome to ratmand ...
Future plans
- Create a package for OpenWrt and have it available via their feeds. Some links to help you get started. You can ask
Aman (aj@amanjeev.com) about where he is right now in this process.
- Get started with their packages and feeds.
- Packages repository on GitHub.
- Routing packages repository on GitHub which is where Ratman is likely to be.
- Test this and create this package for other more common architectures for routers.
- Release other Irdest Ratman tools and binaries for the OpenWrt ecosystem.