|
本帖最后由 lovesakura 于 2024-4-5 13:12 编辑
pdd 买了两个cr8808 做mesh ,因为家里是电信网 没两天锁机了,这几天在论坛上看了很多帖子,问了很多大神,最终搞定运营商插件,废话少说开始教程:
看图:
一、免拆开启telnet
感谢 @mmfm 大神提供教程
http://<路由器IP地址>/cgi-bin/luci/;stok=<路由器管理页面地址的STOK>/api/misystem/set_telnet?enable=1
原贴地址:cr88xx,免拆机免重刷机开启telnet的办法-小米无线路由器及小米网络设备-恩山无线论坛 (right.com.cn)
开启telnet 之后直接使用telnet链接路由器
二、开启ssh
感谢 @Easong 大神提供是固化操作教程
- nvram set ssh_en=1
- nvram set telnet_en=1
- nvram set uart_en=1
- nvram set boot_wait=on
- nvram commit
- sed -i 's/channel=.*/channel="debug"/g' /etc/init.d/dropbear
- /etc/init.d/dropbear restart
- mkdir /data/auto_ssh
- cd /data/auto_ssh
- curl -O https://fastly.jsdelivr.net/gh/lemoeo/AX6S@main/auto_ssh.sh
- chmod +x auto_ssh.sh
- uci set firewall.auto_ssh=include
- uci set firewall.auto_ssh.type='script'
- uci set firewall.auto_ssh.path='/data/auto_ssh/auto_ssh.sh'
- uci set firewall.auto_ssh.enabled='1'
- uci commit firewall
- uci set system.@system[0].timezone='CST-8'
- uci set system.@system[0].webtimezone='CST-8'
- uci set system.@system[0].timezoneindex='2.84'
- uci commit
- reboot
复制代码 原贴地址CR8808出厂固件备份刷AX3000和开启SSH并固化操作过程分享(0608更新)-小米无线路由器及小米网络设备-恩山无线论坛 (right.com.cn)
三、屏蔽插件
感谢@SysWow64 提供帮助
添加自定义运行脚本
将一下代码如auto_run.sh
- #!/bin/sh
- # Check if the script is being run as root
- if [ "$(id -u)" != "0" ]; then
- echo "This script needs to be run as root." 1>&2
- exit 1
- fi
- # Execute the opkg remove command to uninstall the andlink-napi package
- opkg remove andlink-napi
- # Check the exit status of the command
- if [ $? -eq 0 ]; then
- echo "The andlink-napi package has been successfully uninstalled."
- else
- echo "An error occurred while uninstalling the andlink-napi package."
- fi
复制代码 保存 并将代码自动运行
- uci set firewall.user_rules=include
- uci set firewall.user_rules.type='script'
- uci set firewall.user_rules.path='/data/auto_run.sh'
- uci set firewall.user_rules.enabled='1'
- uci set firewall.user_rules.reload='1'
- uci commit firewall
复制代码
注意 自定义脚本需要配置权限
chmod -x /data/auto_run.sh
输入重启命令 reboot 完工
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
评分
-
查看全部评分
|