wwas is an apfree wifidog auther server (it also support original wifidog).
install nodejs (https://nodejs.org/en/download/package-manager/)
install mongodb (https://docs.mongodb.com/guides/server/install/)
install redis (https://redis.io/topics/quickstart)
//for ubuntu16 quick install
sudo apt-get update
sudo apt-get install -y redis-server
//start redis
sudo systemctl start redis
//check redis
redis-cli ping
PONG
// open redis notify-keyspace-events
redis-cli
config set notify-keyspace-events Ex
git clone https://github.com/wificoin-project/wwas
cd wwas
npm install
npm start
the config of apfree wifidog in openwrt is the following:
config wifidog
option gateway_interface 'br-lan'
option auth_server_hostname 'wifidog.kunteng.org.cn'
option auth_server_port 443
option auth_server_path '/wifidog/'
option check_interval 60
option client_timeout 10
option pool_mode 1
option thread_number 5
option queue_size 20
option wired_passed 0
option enable 1
u can change 'wifidog.kunteng.org.cn' to your own wifidog auth server domain
http://www.iqiyi.com/w_19s09zie6t.html
Feel free to create issues or pull-requests if you have any problems.
Please read CONTRIBUTING.md before pushing any changes.
qq group: 424031785