登录路由器telnet后修改路由器SN信息
(依次输入
bdata set CountryCode=CN #设置地区代码
bdata set SN=(你路由器的SN) #修改路由器SN
bdata sync && bdata commit #保存修改
再次依次输入
nvram set SN=(你路由器的SN) #修改路由器SN
nvram commit #保存修改
bdata set CountryCode=CN
bdata set SN=21894/227100
bdata sync && bdata commit
nvram set SN=21894/227100
nvram commit
首先 vi /etc/rc.local
然后移动到倒数第二行,然后按 字母 o
就可以进行写入了,把上面关闭灯的命令进行复制进去。
sleep 120
gpio 1 1; gpio 2 1; gpio 3 1;
然后保存即出 ,先按 Esc 然后再输入 :wq
就可以了。
原文链接:https://blog.csdn.net/sinat_38424109/article/details/126574079?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171828104516800225555535%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171828104516800225555535&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-24-126574079-null-null.nonecase&utm_term=%E8%B7%AF%E7%94%B1%E5%99%A8%E3%80%81%E5%8D%83%E5%85%86