kuoruan / luci-app-v2ray

LuCI support for V2Ray
1.16k stars 285 forks source link

使用GFWLIST时,dnsmasq启动失败 #375

Open HBat11233 opened 3 years ago

HBat11233 commented 3 years ago

Sun Apr 18 09:21:48 2021 daemon.info v2ray[4128]: V2Ray 4.37.3 (OpenWrt) R1 (go1.16 linux/mipsle) Sun Apr 18 09:21:48 2021 daemon.info v2ray[4128]: A unified platform for anti-censorship. Sun Apr 18 09:21:48 2021 daemon.info v2ray[4128]: 2021/04/18 09:21:48 [Info] main/jsonem: Reading config: /var/etc/v2ray/v2ray.main.json Sun Apr 18 09:21:48 2021 daemon.crit dnsmasq[4110]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:21:48 2021 daemon.crit dnsmasq[4110]: FAILED to start up Sun Apr 18 09:21:54 2021 daemon.crit dnsmasq[4196]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:21:54 2021 daemon.crit dnsmasq[4196]: FAILED to start up Sun Apr 18 09:22:01 2021 daemon.crit dnsmasq[4201]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:22:01 2021 daemon.crit dnsmasq[4201]: FAILED to start up Sun Apr 18 09:22:08 2021 daemon.crit dnsmasq[4235]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:22:08 2021 daemon.crit dnsmasq[4235]: FAILED to start up Sun Apr 18 09:22:14 2021 daemon.crit dnsmasq[4257]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:22:14 2021 daemon.crit dnsmasq[4257]: FAILED to start up Sun Apr 18 09:22:19 2021 daemon.crit dnsmasq[4259]: failed to create IPset control socket: Protocol not supported Sun Apr 18 09:22:19 2021 daemon.crit dnsmasq[4259]: FAILED to start up

HBat11233 commented 3 years ago

v2ray-core | 4.37.3-1 | luci-app-v2ray | 2.0.0-1

HBat11233 commented 3 years ago
主机名 OpenWrt
型号 Xiaomi Mi Router AC2100
架构 MediaTek MT7621 ver:1 eco:3
固件版本 OpenWrt SNAPSHOT r16313-851dadc257 / LuCI Master git-21.106.55942-5c792ae
内核版本 5.4.106
HBat11233 commented 3 years ago

http://openwrt.kuoruan.net/packages/releases/all 里面是不是没有安装包

libregratis commented 3 years ago

看提示

Sun Apr 18 09:21:48 2021 daemon.crit dnsmasq[4110]: failed to create IPset control socket: Protocol not supported

感觉是配置文件的问题

刚刚升级到新版luci-app-v2ray,也切换到了xray内核

2021-04-23 03-07-25 的屏幕截图

跑了几个小时基本稳定

csquya commented 3 years ago

好像要卸载dnsmasq, 安装dnsmasq-full 吧, IPset依赖于dnsmasq-full,这个作者写明了,不过应该安装不上luci的呀, 搞糊涂了。

HBat11233 commented 3 years ago

好像要卸载dnsmasq, 安装dnsmasq-full 吧, IPset依赖于dnsmasq-full,这个作者写明了,不过应该安装不上luci的呀, 搞糊涂了。

是卸载的。orz。 然后,我选择直接去编译一个系统固件。既然解决不了软件,那就解决系统。从代码开始安装。

libregratis commented 3 years ago

好像要卸载dnsmasq, 安装dnsmasq-full 吧, IPset依赖于dnsmasq-full,这个作者写明了,不过应该安装不上luci的呀, 搞糊涂了。

是卸载的。orz。 然后,我选择直接去编译一个系统固件。既然解决不了软件,那就解决系统。从代码开始安装。

应该不需要那么麻烦 建议手动安装,大概三步,一切顺利的话,只需要10-20分钟

首先,下载kuoruan/openwrt-v2ray scp到openwrt,然后opkg install openwrt-v2ray

其次,下载kuoruan/luci-app-v2ray 同样scp到openwrt,然后opkg install luci-app-v2ray 这时候会提示dnsmasq已存在,但已经安装了部分依赖 然后opkg remove dnsmasq 再次opkg install luci-app-v2ray,这时会提示一个小冲突,但安装过程已解决冲突并另存odhcp 这时luci应该已经有显示了,如果重启后仍然报错 尝试opkg install luci-compat,应该就能正确显示

最后,配置出入站、DNS、路由,透明代理模式建议CN Direct,不建议GFWList 可以参考这篇 https://www.zzhyun.com/2020/09/04/178/