数学大亨 发表于 2019-8-10 15:30:15

jlshnlhj 发表于 2019-8-4 10:24
请问:如果已经安装了v8.2,如何升级到v9.0?
大版本更新,建议删了重装。

数学大亨 发表于 2019-8-10 15:35:18

wslwang 发表于 2019-8-5 18:37
我想使用vlmcsd,插件已安装但测试出错,可能什么原因?

你需要在客户端手动指定激活服务器地址(路由器地址)。看起来你想让客户端自动发现kms服务器,这个功能尚未支持。
# 激活Windows
slmgr.vbs /skms <路由器IP>
slmgr.vbs /ato

# 激活Office
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /sethst:<路由器IP>
cscript ospp.vbs /act

wslwang 发表于 2019-8-10 15:47:50

后来自己在dnsmasq.conf.add中添加以下内容解决了。
domain=lan
expand-hosts
bogus-priv
local=/lan/
dhcp-option=lan,15,lan
srv-host=_vlmcs._tcp.lan,RT-AX88U.lan,1688,0,100
不过自动激活确实不行。

数学大亨 发表于 2019-8-11 21:40:59

wslwang 发表于 2019-8-10 15:47
后来自己在dnsmasq.conf.add中添加以下内容解决了。
domain=lan
expand-hosts


全新安装刚刚发布的SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER_v11.0&10.0和vlmcsd插件,就可以让客户端自动发现K**服务器并激活了。

wslwang 发表于 2019-8-13 19:41:26

github的速度让人无语,下载二天总算安装完成。换过新U盘,试过V11版手工激活没问题。自动激活目前二个小时了还未激活。

数学大亨 发表于 2019-8-13 19:47:40

wslwang 发表于 2019-8-13 19:41
github的速度让人无语,下载二天总算安装完成。换过新U盘,试过V11版手工激活没问题。自动激活目前二个小时 ...
我自己在RT-AC86U官方固件上测试,自动激活是没问题的。
你把以下几个文件的内容发给我:
1. /etc/dnsmasq.conf
2. /opt/etc/dnsmasq.d/dnsmasq_extended.conf
3. /opt/etc/dnsmasq.d/vlmcs.conf
4. /opt/etc/hosts.dnsmasq
5. /etc/hosts

还有,你执行
ps | grep 'dnsmasq'把结果发给我,我帮你看看。

wslwang 发表于 2019-8-13 23:48:41

我的是RT-AX88U,Merlin11.2版,

wslwang 发表于 2019-8-13 23:55:06

1. /etc/dnsmasq.conf
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=pptp*
no-dhcp-interface=pptp*
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
domain=lan
expand-hosts
bogus-priv
domain-needed
local=/lan/
dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,15,lan
dhcp-option=lan,252,"\n"
dhcp-authoritative
addn-hosts=/etc/hosts.dnsmasq
dhcp-host=A8:A6:48:0A:2D:0C,192.168.1.99
dhcp-host=28:57:BE:DC:80:48,192.168.1.64
dhcp-host=44:D9:E7:90:D2:CB,192.168.1.51
dhcp-host=44:D9:E7:90:D7:99,192.168.1.50
dhcp-host=00:08:9B:C4:88:D0,192.168.1.19
dhcp-host=24:5E:BE:27:47:7F,192.168.1.18
dhcp-host=10:7B:44:EB:2B:72,192.168.1.7
dhcp-script=/sbin/dhcpc_lease
script-arp
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
addn-hosts=/jffs/configs/hosts
conf-dir=/tmp/mnt/ASUS_ROUTER/etc/dnsmasq.d,.bak

2. /opt/etc/dnsmasq.d/dnsmasq_extended.conf这个文件没有

3. /opt/etc/dnsmasq.d/目录下只有vlmcsd.conf
srv-host=_vlmcs._tcp.lan,RT-AX88U.lan,1688,0,100
4. /opt/etc/hosts.dnsmasq
192.168.1.1 RT-AX88U
5. /etc/hosts
这个我加了https://github.com/neofelhz/neohosts,太大了,如有必要我再上传。

wslwang 发表于 2019-8-13 23:58:06

本帖最后由 wslwang 于 2019-8-13 23:59 编辑

发文本要审核,发图片了。

数学大亨 发表于 2019-8-14 07:13:12

本帖最后由 数学大亨 于 2019-8-14 16:49 编辑

wslwang 发表于 2019-8-13 23:58
发文本要审核,发图片了。
由于你的/etc/dnsmasq.conf是自己改过的,所以我的安装程序选择不覆盖原配置,你需要对/etc/dnsmasq.conf做如下修改:

1. 修改图片中第21行:dhcp-option=15,lan

2. 修改图片中第24行:addn-hosts=/opt/etc/hosts.dnsmasq

其余都不要修改。改完后执行下述命令重启dnsmasq
killall dnsmasq > /dev/null 2>&1
dnsmasq --log-async --conf-file=/etc/dnsmasq.conf

重启客户端,就可以自动激活了
页: 1 2 3 [4] 5
查看完整版本: 华硕路由器官方固件 梅林固件开机自动运行脚本系统-插件库