happyzhang1995 / luci-app-adguardhome Goto Github PK
View Code? Open in Web Editor NEW简单的adguardhome的openwrt启动和停止界面
简单的adguardhome的openwrt启动和停止界面
RT。。。还有个做luci插件的老哥只做DNS拦截。。。不能过滤内容。。。可惜了。。。几乎没有效果。。。
硬路由默认的文件系统
/dev/root on /rom type squashfs (ro,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock6 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
无法启动,使用ln -s /tmp/stats.db /usr/bin/AdGuardHome/data/stats.db
可以启动
对于硬路由算是一个暂时解决办法
也已经向官方反馈
请问一下,加入的两个依赖iputils-arping和curl是用来做什么的,adguardhome并不需要额外安装依赖,luci里似乎也没有相关的调用。
日志如下
root@newifi-d1-home:/etc# /usr/bin/AdGuardHome/AdGuardHome -v
2019/11/20 15:16:21 [error] Couldn't read config file /usr/bin/AdGuardHome/AdGua rdHome.yaml: open /usr/bin/AdGuardHome/AdGuardHome.yaml: no such file or directo ry
2019/11/20 15:16:21 31024#1 [info] AdGuard Home, version v0.99.2, channel releas e
2019/11/20 15:16:21 31024#1 [debug] Current working directory is /usr/bin/AdGuar dHome
2019/11/20 15:16:21 31024#1 [info] This is the first launch of AdGuard Home, red irecting everything to /install.html
2019/11/20 15:16:21 31024#1 [info] AdGuard Home is available on the following ad dresses:
2019/11/20 15:16:21 31024#12 [debug] github.com/AdguardTeam/AdGuardHome/home.(*c lientsContainer).AddHost(): '127.0.0.1' -> 'localhost' [1]
2019/11/20 15:16:21 31024#12 [debug] github.com/AdguardTeam/AdGuardHome/home.(*c lientsContainer).AddHost(): '::1' -> 'localhost' [2]
2019/11/20 15:16:21 31024#12 [debug] github.com/AdguardTeam/AdGuardHome/home.(*c lientsContainer).AddHost(): 'ff02::1' -> 'ip6-allnodes' [3]
2019/11/20 15:16:21 31024#12 [debug] github.com/AdguardTeam/AdGuardHome/home.(*c lientsContainer).AddHost(): 'ff02::2' -> 'ip6-allrouters' [4]
2019/11/20 15:16:21 31024#12 [debug] Added 4 client aliases from /etc/hosts
2019/11/20 15:16:21 31024#12 [debug] github.com/AdguardTeam/AdGuardHome/home.(c lientsContainer).addFromSystemARP(): executing arp [arp -a]
2019/11/20 15:16:21 31024#12 [debug] command arp has failed: exec: "arp": execut able file not found in $PATH code:-1
2019/11/20 15:16:21 31024#12 [debug] Added 0 client aliases from DHCP
2019/11/20 15:16:21 31024#1 [info] Go to http://127.0.0.1:3000
2019/11/20 15:16:21 31024#1 [info] Go to http://192.168.0.1:3000
2019/11/20 15:16:21 31024#1 [info] Go to http://192.168.192.55:3000
2019/11/20 15:16:34 31024#33 [debug] GET /control/install/get_addresses
2019/11/20 15:16:36 31024#33 [debug] POST /control/install/check_config
2019/11/20 15:16:36 31024#33 [debug] github.com/AdguardTeam/AdGuardHome/home.che ckDNSStubListener(): executing systemctl [systemctl is-enabled systemd-resolved]
2019/11/20 15:16:36 31024#33 [error] command systemctl has failed: exec: "system ctl": executable file not found in $PATH code:-1
2019/11/20 15:16:38 31024#33 [debug] POST /control/install/check_config
2019/11/20 15:16:38 31024#33 [debug] github.com/AdguardTeam/AdGuardHome/home.che ckDNSStubListener(): executing systemctl [systemctl is-enabled systemd-resolved]
2019/11/20 15:16:38 31024#33 [error] command systemctl has failed: exec: "system ctl": executable file not found in $PATH code:-1
2019/11/20 15:16:40 31024#33 [debug] POST /control/install/check_config
2019/11/20 15:16:40 31024#33 [debug] github.com/AdguardTeam/AdGuardHome/home.che ckDNSStubListener(): executing systemctl [systemctl is-enabled systemd-resolved]
2019/11/20 15:16:40 31024#33 [error] command systemctl has failed: exec: "system ctl": executable file not found in $PATH code:-1
2019/11/20 15:16:44 31024#33 [debug] POST /control/install/check_config
2019/11/20 15:16:44 31024#33 [debug] github.com/AdguardTeam/AdGuardHome/home.che ckDNSStubListener(): executing systemctl [systemctl is-enabled systemd-resolved]
2019/11/20 15:16:44 31024#33 [error] command systemctl has failed: exec: "system ctl": executable file not found in $PATH code:-1
2019/11/20 15:16:46 31024#33 [debug] POST /control/install/check_config
2019/11/20 15:17:01 31024#33 [debug] POST /control/install/configure
2019/11/20 15:17:01 31024#33 [debug] github.com/AdguardTeam/AdGuardHome/stats.( statsCtx).dbOpen(): db.Open...
2019/11/20 15:17:01 31024#33 [error] Stats: open DB: /usr/bin/AdGuardHome/data/s tats.db: invalid argument
2019/11/20 15:17:01 31024#33 [fatal] Couldn't initialize statistics module
root@newifi-d1-home:/etc#
用其他luci能打开和关闭adguardhome,luci-app-adguardhome也能显示打开和关闭,但设置无效。
大神。用了ad,群晖docker的ddns解析到了vps,然后和wan口的ip来回切换解析。请问怎么设置不会解析到vps 的ip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.