The goal of this repository is containing all the configuration and tools needed to generate OpenWrt builds for my home routers.
- LUCI with SSL support installed
- LUCI ttyd installed
- LUCI WiFi-Schedule installed
- ZeroTier installed
- LUCI HTTPS-over-DNS installed
No extra packages
docker build -t openwrt_builder -f docker/openwrt_builder.Dockerfile .
First, clone the repository in your computer:
git clone --recursive git@github.com:AgustinLorenzo/openwrt.git
First, we deploy a docker container:
docker run -it --name openwrt openwrt_builder /bin/bash
Once inside the container, execute:
git clone --recursive https://github.com/Hekkfern/my_custom_openwrt.git
cd my_custom_openwrt
Then, we start the building process inside the docker container:
- For Xiaomi AX3000T:
cd repos/openwrt_official
./scripts/feeds update -a
./scripts/feeds install -a
cp ../../configs/xiaomi_ax3000t/diffconfig .config
make defconfig
make -j $(($(nproc)+1)) download world
- For Xiaomi AX3600:
cd repos/openwrt_nss
./scripts/feeds update -a
./scripts/feeds install -a
cp ../../configs/xiaomi_ax3600/diffconfig .config
make defconfig
make -j $(($(nproc)+1)) download world
[!IMPORTANT] Due to OpenWrt requirements, the following instructions are recommended to be done in a Linux machine.
Follow the act
installation instructions.
Execute:
- For Xiaomi AX3000T:
act -W '.github/workflows/xiaomi_ax3000t.yaml' -j 'build'
- For Xiaomi AX3600:
act -W '.github/workflows/xiaomi_ax3600.yaml' -j 'build'