generated from P3TERX/Actions-OpenWrt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
myOptions
41 lines (39 loc) · 1.48 KB
/
myOptions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#设置宽带账号密码
uci set network.wan.proto=pppoe
uci set network.wan.username='057181067700'
uci set network.wan.password='8380.5'
uci commit network
#0是5Gwifi
uci set wireless.@wifi-device[0].channel='44'
uci set wireless.@wifi-device[0].htmode='HE160'
uci set wireless.@wifi-device[0].legacy_rates='1'
uci set wireless.@wifi-device[0].mu_beamformer='1'
uci set wireless.default_radio1.ssid=Redmi_1394
uci set wireless.default_radio0.ssid=Redmi_1394_5G
uci set wireless.default_radio0.encryption=sae-mixed
uci set wireless.default_radio1.encryption=sae-mixed
uci set wireless.default_radio0.key=zp961203
uci set wireless.default_radio1.key=zp961203
uci commit wireless
#设置NAT加速转发
uci set turboacc.config=turboacc
uci set turboacc.config.sw_flow='1'
uci set turboacc.config.hw_flow='1'
uci set turboacc.config.sfe_flow='1'
uci set turboacc.config.dns_caching='0'
uci set turboacc.config.bbr_cca='1'
uci set turboacc.config.fullcone_nat='1'
uci commit turboacc
#设置VSSR
#uci set vssr.@server_subscribe[0]=server_subscribe
#uci set vssr.@server_subscribe[0].proxy='0'
#uci set vssr.@server_subscribe[0].auto_update_time='2'
#uci set vssr.@server_subscribe[0].auto_update='1'
#uci set vssr.@server_subscribe[0].filter_words='过期时间/剩余流量'
#uci set vssr.@server_subscribe[0].subscribe_url='https://api.cn1.info/subscription/984d108884f7c9e0cbbf50eff1b3d235.conf'
#uci commit vssr
#Adbyby
uci set adbyby.@adbyby[0].enable='1'
uci commit adbyby
/etc/init.d/network restart
exit 0