找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7285|回复: 411

[红米AX3000/CR8809/CR8808/CR8806] CR8808 B版屏蔽运营商锁 没拆开通ssh

 火... [复制链接]
本帖最后由 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  大神提供是固化操作教程
  1. nvram set ssh_en=1
  2. nvram set telnet_en=1
  3. nvram set uart_en=1
  4. nvram set boot_wait=on
  5. nvram commit
  6. sed -i 's/channel=.*/channel="debug"/g' /etc/init.d/dropbear
  7. /etc/init.d/dropbear restart
  8. mkdir /data/auto_ssh
  9. cd /data/auto_ssh
  10. curl -O https://fastly.jsdelivr.net/gh/lemoeo/AX6S@main/auto_ssh.sh
  11. chmod +x auto_ssh.sh
  12. uci set firewall.auto_ssh=include
  13. uci set firewall.auto_ssh.type='script'
  14. uci set firewall.auto_ssh.path='/data/auto_ssh/auto_ssh.sh'
  15. uci set firewall.auto_ssh.enabled='1'
  16. uci commit firewall
  17. uci set system.@system[0].timezone='CST-8'
  18. uci set system.@system[0].webtimezone='CST-8'
  19. uci set system.@system[0].timezoneindex='2.84'
  20. uci commit
  21. reboot
复制代码
原贴地址CR8808出厂固件备份刷AX3000和开启SSH并固化操作过程分享(0608更新)-小米无线路由器及小米网络设备-恩山无线论坛 (right.com.cn)

三、屏蔽插件
感谢@SysWow64 提供帮助
添加自定义运行脚本

  1. vi /data/auto_run.sh
复制代码
将一下代码如auto_run.sh
  1. #!/bin/sh

  2. # Check if the script is being run as root
  3. if [ "$(id -u)" != "0" ]; then
  4.     echo "This script needs to be run as root." 1>&2
  5.     exit 1
  6. fi

  7. # Execute the opkg remove command to uninstall the andlink-napi package
  8. opkg remove andlink-napi

  9. # Check the exit status of the command
  10. if [ $? -eq 0 ]; then
  11.     echo "The andlink-napi package has been successfully uninstalled."
  12. else
  13.     echo "An error occurred while uninstalling the andlink-napi package."
  14. fi
复制代码
保存 并将代码自动运行
  1. uci set firewall.user_rules=include
  2. uci set firewall.user_rules.type='script'
  3. uci set firewall.user_rules.path='/data/auto_run.sh'
  4. uci set firewall.user_rules.enabled='1'
  5. uci set firewall.user_rules.reload='1'
  6. uci commit firewall
复制代码


lovesakura 发表于 2024-4-4 12:07
ssh已开  进去之后找到固件是插件的进程杀了重启路由器 插件又恢复了   大佬知道插件咋彻底删除 ...


另外 /etc/config/firewall 中应该有 isp_lock_net 字段,可以顺手移除掉。

注意 自定义脚本需要配置权限
chmod -x /data/auto_run.sh
输入重启命令 reboot 完工







本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
兰州*** + 1 感谢你的分享,无论怎样,你都是最无私的人.

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.

回帖奖励 +1 币恩山币

wow感谢分享,我的cr8808前段时间也被锁了,得救了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

支持一下

评分

参与人数 1恩山币 +1 收起 理由
loves*** + 1 感谢大佬提供帮助

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
111111111111111111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
支持一下 支持一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
注意 自定义脚本要修改权限
chomd +x /data/auto_run.sh
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

妥妥的干货......
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

CR8808 B版屏蔽运营商锁
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
这种技术贴必须顶起来
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看是什么好东西。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
111111111111111111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
试试看,好东西
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
RE: CR8808 B版屏蔽运营商锁 没拆开通ssh
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
厉害了厉害了∑(O_O;)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

牛!B版屏蔽运营商锁 没拆开通ssh
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-2 18:34

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表