This repository contains OpenWRT package for the AirSane project at https://github.com/SimulPiscator/AirSane
The easiest way is to use Docker image
https://hub.docker.com/r/openwrtorg/sdk
docker run --rm -v "$(pwd)"/bin/:/home/build/openwrt/bin -it openwrtorg/sdk:<target>-<subtarget>[-<branch>]
If you plan to reuse SDK for other packages or purposes remove --rm
switch
Example for latest (at time of writing) for Xiaomi router 3g (non v2)
docker run --rm -v "$(pwd)"/bin/:/home/build/openwrt/bin -it openwrtorg/sdk:ramips-mt7621-21.02.1
Add repository
echo "src-git airsaned https://github.com/nevian427/AirSane-openwrt.git" >> feeds.conf.default
Update feeds
./scripts/feeds update base packages airsaned && make defconfig && ./scripts/feeds install airsaned
make package/airsaned/compile V=s -j <CORES_NUM>
- Copy package to temp folder on your router
scp bin/packages/<ARCH>/airsaned/airsaned-<VERSION>.ipk root@<YOUR_ROUTER_IP>:/tmp
- Login via ssh
ssh root@<YOUR_ROUTER_IP>
- Install package via opkg
opkg install /tmp/airsaned-<VERSION>.ipk
You can edit configuration here
/etc/config/airsaned
Run
/etc/init.d/airsaned start
Run at startup
/etc/init.d/airsaned enable