OpenWrt packages for easy WAN emulation.
- Setup an OpenWrt buildroot, checkout the openwrt repo. Refer to https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem
- Copy these folders into the my_packages folder of the openwrt buildroot and update the feeds.
./scripts/feeds update -a
./scripts/feeds install netem-control
./scripts/feeds install luci-app-netem
- Run
make menuconfig
and ensure both netem-control in Network and luci-app-netem in Luci > Applications is enabled - Compile both packages individually
make package/netem-control/{clean,compile}
make package/luci-app-netem/{clean,compile}
- Resulting .ipk files will be placed in /bin/packages/x86_64/my_packages/