Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (41 loc) · 1.07 KB

README.md

File metadata and controls

46 lines (41 loc) · 1.07 KB

GITHUB-BADGE

AirSane for OpenWRT

This repository contains OpenWRT package for the AirSane project at https://github.com/SimulPiscator/AirSane

Usage

Download OpenWRT SDK

The easiest way is to use Docker image
https://hub.docker.com/r/openwrtorg/sdk

Prepare

Add repository

echo "src-git airsaned https://github.com/tbaela/AirSane-openwrt.git" >> feeds.conf.default

Update feeds

./scripts/feeds update base packages airsaned && make defconfig && ./scripts/feeds install airsaned

Compile

make package/airsaned/compile V=s -j <CORES_NUM>

Install

  1. Copy package to temp folder on your router
scp bin/packages/<ARCH>/airsaned/airsaned-<VERSION>.ipk root@<YOUR_ROUTER_IP>:/tmp
  1. Login via ssh
ssh root@<YOUR_ROUTER_IP>
  1. Install package via opkg
opkg install /tmp/airsaned-<VERSION>.ipk

Configure

You can edit configuration here
/etc/config/airsaned

Use

Run
/etc/init.d/airsaned start

Run at startup
/etc/init.d/airsaned enable