ZIP小米AX9000解锁SSH所需资源文件 80.1MB

weixin_43962658

资源文件列表:

AX9000所需固件-脚本-vmdk.zip 大约有3个文件
  1. miwifi_ra70_firmware_d96a4_1.0.108.bin 37.88MB
  2. openwrt-x86-64-generic-squashfs-combined.vmdk 47.5MB
  3. wireless.sh 2.86KB

资源介绍:

小米AX9000解锁SSH所需资源文件
#!/bin/ash # SPDX-License-Identifier: GPL-3.0-only # # Copyright (C) 2020 yyjdelete # Copyright (C) 2021 Robert Marko <robimarko@gmail.com> # Copyright (C) 2021 Tianling Shen <cnsztl@immortalwrt.org> # # Original threads: # Redmi AX6 AX3000: https://www.right.com.cn/forum/thread-4060726-1-1.html # Xiaomi AX6000/AX9000: https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax9000/98908/34 info_font="\033[36m[Info]\033[0m" success_font="\033[32m[Success]\033[0m" warning_font="\033[33m[Warning]\033[0m" echo -e "${warning_font} Please make sure your router has wireless support!" echo -e "${warning_font} Please make sure your router is restored to factory settings (not configured)!" echo -e "${warning_font} Please make sure you've backed up the network and wireless settings!" echo -e "${warning_font} Please make sure you've connected the router via *wired ethernet*!" echo -e "${warning_font} Running this script will change your *network* settings!" read -p "Use Ctrl+C to exit or press enter key to continue..." echo -e "" echo -e "${info_font} Adding xqsystem controller..." cat > "/usr/lib/lua/luci/controller/admin/xqsystem.lua" <<EOF module("luci.controller.admin.xqsystem", package.seeall) function index() local page = node("api") page.target = firstchild() page.title = ("") page.order = 100 page.index = true page = node("api","xqsystem") page.target = firstchild() page.title = ("") page.order = 100 page.index = true entry({"api", "xqsystem", "token"}, call("getToken"), (""), 103, 0x08) end local LuciHttp = require("luci.http") function getToken() local result = {} result["code"] = 0 result["token"] = "; nvram set ssh_en=1; nvram set uart_en=1; nvram set boot_wait=on; nvram commit; uci set wireless.@wifi-iface[0].key=\`mkxqimage -I\`; uci commit; sed -i 's/channel=.*/channel=\"debug\"/g' /etc/init.d/dropbear; /etc/init.d/dropbear start;" LuciHttp.write_json(result) end EOF echo -e "${info_font} Changing network settings..." set -x # /etc/config/dhcp uci set dhcp.lan.ra_management='1' uci del dhcp.lan.start uci del dhcp.lan.limit uci del dhcp.lan.leasetime uci set dhcp.lan.ignore='1' # /etc/config/network uci set network.lan.ipaddr='169.254.31.1' uci -q commit set +x echo -e "${success_font} All settings are applied.\n" echo -e "${info_font} Please now disconnect from this router, and connect to your Xiaomi/Redmi router." echo -e "" echo -e "${info_font} For Xiaomi AX3000/AX6000/AX9000:" echo -e " Open your browser, access the following URL:" echo -e " http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqsystem/extendwifi_connect_inited_router?ssid=MEDIATEK-ARM-IS-GREAT&password=ARE-YOU-OK&admin_username=root&admin_password=admin&admin_nonce=xxx" echo -e "" echo -e "" echo -e "${warning_font} Restarting network..." wifi reload >"/dev/null" 2>&1 /etc/init.d/network restart >"/dev/null" 2>&1
100+评论
captcha
    类型标题大小时间
    ZIPMicrosoft Visual Studio Installer Projects(2017\2019\2022)15.3MB9月前
    ZIPTA-Lib-0.4.29-cp312-cp312-win-amd64510.71KB9月前
    ZIPJavaAPI参考文档34.87MB9月前
    ZIPLinux驱动开发-原理图58.15MB9月前
    ZIPc语言种地要浇水游戏源码164.94KB9月前
    ZIPc语言支持自己创建迷宫,并求解最短路径87.02KB9月前
    ZIP1111111111111111111111111111113.8MB9月前
    ZIP电赛试题,从1994-2023年整理31.8MB9月前