├── .github └── workflows │ ├── ZN-M2 nowifi-globe.yml │ └── ZN-M2 wifi-china.yml ├── LICENSE ├── README.md ├── config └── cmiot_ax18 │ ├── ZN-M2 wifi-china.config │ └── zn-m2 nowifi-globe.config └── custom └── cmiot_ax18 ├── basic ├── diy-part1.sh └── diy-part2.sh └── plus ├── diy-part1.sh └── diy-part2.sh /.github/workflows/ZN-M2 nowifi-globe.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: ZN-M2 nowifi-globe 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | 22 | env: 23 | REPO_URL: https://github.com/sdf8057/ipq6000.git 24 | REPO_BRANCH: main 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: ./config/cmiot_ax18/zn-m2 nowifi-globe.config 27 | DIY_P1_SH: ./custom/cmiot_ax18/plus/diy-part1.sh 28 | DIY_P2_SH: ./custom/cmiot_ax18/plus/diy-part2.sh 29 | UPLOAD_BIN_DIR: false 30 | UPLOAD_FIRMWARE: true 31 | UPLOAD_COWTRANSFER: false 32 | UPLOAD_WETRANSFER: false 33 | UPLOAD_RELEASE: true 34 | TZ: Asia/Shanghai 35 | 36 | jobs: 37 | build: 38 | runs-on: ubuntu-20.04 39 | 40 | steps: 41 | - name: Checkout 42 | uses: actions/checkout@v3 43 | 44 | - name: Initialization environment 45 | env: 46 | DEBIAN_FRONTEND: noninteractive 47 | run: | 48 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 49 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 50 | sudo timedatectl set-timezone "$TZ" 51 | git config --global user.email "aa@163.com" 52 | git config --global user.name "aa" 53 | sudo mkdir -p /workdir 54 | sudo chown $USER:$GROUPS /workdir 55 | 56 | - name: Clone source code 57 | working-directory: /workdir 58 | run: | 59 | df -hT $PWD 60 | git clone $REPO_URL -b $REPO_BRANCH openwrt 61 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 62 | 63 | - name: Cache 64 | uses: stupidloud/cachewrtbuild@main 65 | with: 66 | ccache: 'true' 67 | prefix: ${{ github.workspace }}/openwrt 68 | 69 | - name: Load custom feeds 70 | run: | 71 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 72 | chmod +x $DIY_P1_SH 73 | cd openwrt 74 | $GITHUB_WORKSPACE/$DIY_P1_SH 75 | 76 | - name: Update feeds 77 | run: cd openwrt && ./scripts/feeds update -a 78 | 79 | - name: Install feeds 80 | run: cd openwrt && ./scripts/feeds install -a 81 | 82 | - name: Load custom configuration 83 | run: | 84 | [ -e files ] && mv files openwrt/files 85 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 86 | chmod +x $DIY_P2_SH 87 | cd openwrt 88 | $GITHUB_WORKSPACE/$DIY_P2_SH 89 | 90 | - name: SSH connection to Actions 91 | uses: P3TERX/ssh2actions@v1.0.0 92 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 93 | env: 94 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 95 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 96 | 97 | - name: Download package 98 | id: package 99 | run: | 100 | cd openwrt 101 | make defconfig 102 | make download -j8 103 | find dl -size -1024c -exec ls -l {} \; 104 | find dl -size -1024c -exec rm -f {} \; 105 | 106 | - name: Compile the firmware 107 | id: compile 108 | run: | 109 | cd openwrt 110 | echo -e "$(nproc) thread compile" 111 | make -j$(nproc) || make -j1 || make -j1 V=s 112 | echo "status=success" >> $GITHUB_OUTPUT 113 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 114 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 115 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 116 | 117 | - name: Check space usage 118 | if: (!cancelled()) 119 | run: df -hT 120 | 121 | - name: Upload bin directory 122 | uses: actions/upload-artifact@v3 123 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 124 | with: 125 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 126 | path: openwrt/bin 127 | 128 | - name: Organize files 129 | id: organize 130 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 131 | run: | 132 | cd openwrt/bin/targets/*/* 133 | rm -rf packages 134 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 135 | echo "status=success" >> $GITHUB_OUTPUT 136 | 137 | - name: Upload firmware directory 138 | uses: actions/upload-artifact@v3 139 | if: steps.organize.outputs.status == 'success' && !cancelled() 140 | with: 141 | name: ipq6000${{ env.FILE_DATE }} 142 | path: ${{ env.FIRMWARE }} 143 | 144 | - name: Upload firmware to cowtransfer 145 | id: cowtransfer 146 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 147 | run: | 148 | curl -fsSL git.io/file-transfer | sh 149 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 150 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 151 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 152 | 153 | - name: Upload firmware to WeTransfer 154 | id: wetransfer 155 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 156 | run: | 157 | curl -fsSL git.io/file-transfer | sh 158 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 159 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 160 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 161 | 162 | - name: Generate release tag 163 | id: tag 164 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 165 | run: | 166 | echo "release_tag=ipq6000_$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_OUTPUT 167 | touch release.txt 168 | echo "ipq6000 firmware nowifi-globe" >> release.txt 169 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 170 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 171 | echo "status=success" >> $GITHUB_OUTPUT 172 | 173 | - name: Upload firmware to release 174 | uses: softprops/action-gh-release@v1 175 | if: steps.tag.outputs.status == 'success' && !cancelled() 176 | env: 177 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 178 | with: 179 | tag_name: ${{ steps.tag.outputs.release_tag }} 180 | body_path: release.txt 181 | files: ${{ env.FIRMWARE }}/* 182 | 183 | - name: Delete workflow runs 184 | uses: GitRML/delete-workflow-runs@main 185 | with: 186 | retain_days: 1 187 | keep_minimum_runs: 3 188 | 189 | - name: Remove old Releases 190 | uses: dev-drprasad/delete-older-releases@v0.1.0 191 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 192 | with: 193 | keep_latest: 9 194 | delete_tags: true 195 | env: 196 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 197 | -------------------------------------------------------------------------------- /.github/workflows/ZN-M2 wifi-china.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: ZN-M2 wifi 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | 22 | env: 23 | REPO_URL: https://github.com/wenpo1975/ipq6000-wifi.git 24 | REPO_BRANCH: wifi 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: ./config/cmiot_ax18/ZN-M2 wifi-china.config 27 | DIY_P1_SH: ./custom/cmiot_ax18/plus/diy-part1.sh 28 | DIY_P2_SH: ./custom/cmiot_ax18/plus/diy-part2.sh 29 | UPLOAD_BIN_DIR: false 30 | UPLOAD_FIRMWARE: true 31 | UPLOAD_COWTRANSFER: false 32 | UPLOAD_WETRANSFER: false 33 | UPLOAD_RELEASE: true 34 | TZ: Asia/Shanghai 35 | 36 | jobs: 37 | build: 38 | runs-on: ubuntu-20.04 39 | 40 | steps: 41 | - name: Checkout 42 | uses: actions/checkout@v3 43 | 44 | - name: Initialization environment 45 | env: 46 | DEBIAN_FRONTEND: noninteractive 47 | run: | 48 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 49 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 50 | sudo timedatectl set-timezone "$TZ" 51 | git config --global user.email "aa@163.com" 52 | git config --global user.name "aa" 53 | sudo mkdir -p /workdir 54 | sudo chown $USER:$GROUPS /workdir 55 | 56 | - name: Clone source code 57 | working-directory: /workdir 58 | run: | 59 | df -hT $PWD 60 | git clone $REPO_URL -b $REPO_BRANCH openwrt 61 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 62 | 63 | - name: Cache 64 | uses: stupidloud/cachewrtbuild@main 65 | with: 66 | ccache: 'true' 67 | prefix: ${{ github.workspace }}/openwrt 68 | 69 | - name: Load custom feeds 70 | run: | 71 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 72 | chmod +x $DIY_P1_SH 73 | cd openwrt 74 | $GITHUB_WORKSPACE/$DIY_P1_SH 75 | 76 | - name: Update feeds 77 | run: cd openwrt && ./scripts/feeds update -a 78 | 79 | - name: Install feeds 80 | run: cd openwrt && ./scripts/feeds install -a 81 | 82 | - name: Load custom configuration 83 | run: | 84 | [ -e files ] && mv files openwrt/files 85 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 86 | chmod +x $DIY_P2_SH 87 | cd openwrt 88 | $GITHUB_WORKSPACE/$DIY_P2_SH 89 | 90 | - name: SSH connection to Actions 91 | uses: P3TERX/ssh2actions@v1.0.0 92 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 93 | env: 94 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 95 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 96 | 97 | - name: Download package 98 | id: package 99 | run: | 100 | cd openwrt 101 | make defconfig 102 | make download -j8 103 | find dl -size -1024c -exec ls -l {} \; 104 | find dl -size -1024c -exec rm -f {} \; 105 | 106 | - name: Compile the firmware 107 | id: compile 108 | run: | 109 | cd openwrt 110 | echo -e "$(nproc) thread compile" 111 | make -j$(nproc) || make -j1 || make -j1 V=s 112 | echo "status=success" >> $GITHUB_OUTPUT 113 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 114 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 115 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 116 | 117 | - name: Check space usage 118 | if: (!cancelled()) 119 | run: df -hT 120 | 121 | - name: Upload bin directory 122 | uses: actions/upload-artifact@v3 123 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 124 | with: 125 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 126 | path: openwrt/bin 127 | 128 | - name: Organize files 129 | id: organize 130 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 131 | run: | 132 | cd openwrt/bin/targets/*/* 133 | rm -rf packages 134 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 135 | echo "status=success" >> $GITHUB_OUTPUT 136 | 137 | - name: Upload firmware directory 138 | uses: actions/upload-artifact@v3 139 | if: steps.organize.outputs.status == 'success' && !cancelled() 140 | with: 141 | name: ipq6000${{ env.FILE_DATE }} 142 | path: ${{ env.FIRMWARE }} 143 | 144 | - name: Upload firmware to cowtransfer 145 | id: cowtransfer 146 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 147 | run: | 148 | curl -fsSL git.io/file-transfer | sh 149 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 150 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 151 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 152 | 153 | - name: Upload firmware to WeTransfer 154 | id: wetransfer 155 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 156 | run: | 157 | curl -fsSL git.io/file-transfer | sh 158 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 159 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 160 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 161 | 162 | - name: Generate release tag 163 | id: tag 164 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 165 | run: | 166 | echo "release_tag=ipq6000_$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_OUTPUT 167 | touch release.txt 168 | echo "ipq6000 firmware WIFI-china" >> release.txt 169 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 170 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 171 | echo "status=success" >> $GITHUB_OUTPUT 172 | 173 | - name: Upload firmware to release 174 | uses: softprops/action-gh-release@v1 175 | if: steps.tag.outputs.status == 'success' && !cancelled() 176 | env: 177 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 178 | with: 179 | tag_name: ${{ steps.tag.outputs.release_tag }} 180 | body_path: release.txt 181 | files: ${{ env.FIRMWARE }}/* 182 | 183 | - name: Delete workflow runs 184 | uses: GitRML/delete-workflow-runs@main 185 | with: 186 | retain_days: 1 187 | keep_minimum_runs: 3 188 | 189 | - name: Remove old Releases 190 | uses: dev-drprasad/delete-older-releases@v0.1.0 191 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 192 | with: 193 | keep_latest: 9 194 | delete_tags: true 195 | env: 196 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 197 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-2020 P3TERX 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ipq6000系列固件分享: 2 | 3 | 2023.10.17 分开了两版,nowifi和wifi,wifi版还是原来的,nowifi 及 globe,globe为海外版(无passwall、ssp之类)。 4 | 5 | 2023.7.22 上传一个WiFi+USB固件,很稳,但是软件包有点臃肿,看具体需求选择,朋友转来的,具体来源不明。 6 | 7 | 2023.7.22 由于上游删除WIFI分支,暂时没找到解决办法,我把电脑里的存档上传上来,2023.2.23版的,WIFI跑满,且用且珍惜吧。手动把statistics删掉,安装回wrtbwmon即可。 8 | 9 | 2023.3.22 clash使用成本太高了,还是建议大家用回passwall吧。SSR也删掉了, 10 | 11 | 2023.2.23 statistics还是有点问题,luci不能输出图表,再换成wrtbwmon 12 | 13 | 2023.2.22 流量负载监控vnstat换成statistics 14 | 15 | 2023.5.15 修复omcproxy没编译上的问题,增加mosdns 16 | 17 | 2023.2.14 增加passwall、omcproxy(组播IPTV用的) 18 | 19 | 2023.2.10 切换到WIFI分支,无线使用cmiot_ax18(配置一样)的文件,具体请看 20 | 21 | https://github.com/sdf8057/ipq6000/tree/wifi 22 | 23 | https://github.com/sdf8057/ipq6000/tree/wifi/package/addition/ath11k-wifi 24 | 25 | 实测无线可用,空旷区域ZNM2端iperf3-s + iPhone se2 iperf3-c 多线程 5G满千兆、2.4G百兆多点,芯片正常水平,谈不上多好。 26 | 27 | coremark跑分1608Mhz频率下跑到20529.330114,比默频高25%左右 28 | ![Snipaste_2023-02-10_15-44-45](https://user-images.githubusercontent.com/24839804/218046673-944e67ef-b5df-4fb2-830e-9f38c56c6830.png) 29 | 30 | 31 | NSS负载、CPU负载、温度正常显示,温度略高,对不对(不知道)但是无所谓了 32 | ![image](https://user-images.githubusercontent.com/24839804/218046968-8ceb5617-3bea-47dc-8396-9a631f89aa1a.png) 33 | ![image](https://user-images.githubusercontent.com/24839804/218047155-271e611a-6b4f-4908-a695-1b7469b96a50.png) 34 | ![image](https://user-images.githubusercontent.com/24839804/220279776-50c33dd0-ef48-4557-9725-efc4d67c7c91.png) 35 | ![image](https://user-images.githubusercontent.com/24839804/220858423-bc9b4be2-79bc-405c-8559-353046bc67f0.png) 36 | 37 | 38 | 39 | DNS插件没上,源里面没有,推荐手动安装https://github.com/sbwml/luci-app-mosdns,上手即用。 40 | 41 | 其他的OpenClash、SSRPLUS、SQM常见的都有。 42 | 43 | 44 | 2022.12.17删除了其他机型yml、config文件,着重重点优化ZN-M2-1G 45 | 删除了一些我认为没必要预编译的插件 46 | 删除了所有DDNS、老掉牙的VPN服务器、VPN终端、我觉得没什么卵用的unblockmusic 47 | 48 | 无线暂时没有编译上。可以便以上,但是出来的效果太差了,几乎等同于不能用,等优化吧。 49 | 确实需要的话,建议去用https://supes.top/ 的,他那个无线实测是正常的 50 | 51 | 52 | 53 | 固件下载请去telegram频道,https://t.me/ipq6000_romshare 54 | 55 | 0819更新日志: 56 | 1.ssr-plus更新到最新版。 57 | 2.添加了自动重启app,定时重启能提高使用体验, 58 | 3.去掉了turboacc中的bbr加速状态,kernel 4.4不支持bbr加速。 59 | 60 | 0824更新日志: 61 | 1.解锁网易云音乐使用go版本,节约内存, 62 | 2.修复turboacc开启dns缓存再关闭之后dns解析不正常的问题, 63 | 3.加入nsscrypto模块,或许对于某些软件的加解密过程有些作用。 64 | 65 | 0920更新日志: 66 | 1.插件更新。 67 | 2.最大连接数增加到65535。 68 | 69 | 0923更新日志: 70 | 1.同步上游最新更新。 71 | 2.cpu超频到1.8ghz。 72 | 73 | 1003更新日志: 74 | 1.优化超频选项,根据跑分结果选定三档频率,1.0-1.4ghz。 75 | 2.优化nss失效状态下的网络性能。 76 | 77 | 1014更新日志: 78 | 1.源码抹除个人修改痕迹,还原默认设置。 79 | 2.和目ax18固件精简版和完全版双版本更新。 80 | 3.重构云编译脚本仓库,提升可读性。 81 | 4.添加nss状态显示。 82 | 83 | 1016更新日志: 84 | 1.更优雅的解决的端口回环设置失效的问题。 85 | 2.简化云编译.config文件,方便二次修改。 86 | 87 | 1020更新日志: 88 | 1.梳理dnsmasq相关代码,修复bug。 89 | 2.默认关闭“过滤ipv6 dns解析”。 90 | 3.openssl升级到q版本。 91 | 92 | 1111更新日志: 93 | 1.cpu频率开放更多挡位,0.8~1.8g。 94 | 2.云编译添加红米ax6支持。 95 | 96 | 12.01更新日志: 97 | 1.云编译添加了glinet gl-mt2500支持。 98 | 2.云编译添加了红米ax6000设备支持。 99 | -------------------------------------------------------------------------------- /config/cmiot_ax18/ZN-M2 wifi-china.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ipq60xx=y 2 | CONFIG_TARGET_ipq60xx_generic=y 3 | CONFIG_TARGET_ipq60xx_generic_DEVICE_zn_m2=y 4 | #旧路径 ipq6000/package/addition/ath11k-wifi/ 5 | #新路径 package/firmware/ath11k-wifi 6 | #wifi board-cmiot_ax18 .bin.IPQ6018 7 | #wifi board-cmiot_ax18 .bin.IPQ6018 8 | #wifi board-gl-ax1800.bin.IPQ6018 9 | CONFIG_PACKAGE_ath11k-wifi-cmiot_ax18 =y 10 | #编译开 11 | CONFIG_DEVEL=y 12 | CONFIG_CCACHE=y 13 | CONFIG_PACKAGE_luci-app-upnp=y 14 | CONFIG_PACKAGE_luci-app-firewall=y 15 | CONFIG_PACKAGE_luci-app-ntpc=y 16 | CONFIG_PACKAGE_kmod-macvlan=y 17 | CONFIG_PACKAGE_luci-app-switch=y 18 | # Qca 19 | CONFIG_PACKAGE_kmod-qca-nss-crypto=y 20 | CONFIG_PACKAGE_nss-eip-firmware=y 21 | CONFIG_PACKAGE_qca-diag=y 22 | CONFIG_PACKAGE_qca-nss-fw-cp-retail=y 23 | CONFIG_PACKAGE_qca-nss-fw-eip-cp=y 24 | CONFIG_PACKAGE_qca-qrtr=y 25 | CONFIG_PACKAGE_qca-son-cli=y 26 | CONFIG_PACKAGE_qca-son-mem-debug=y 27 | CONFIG_PACKAGE_qca-spectral=y 28 | CONFIG_PACKAGE_qca-ssdk-shell=y 29 | # ipv6 30 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 31 | CONFIG_PACKAGE_ipv6helper=y 32 | # theme 33 | CONFIG_PACKAGE_luci-compat=y 34 | CONFIG_PACKAGE_luci-lib-ipkg=y 35 | CONFIG_PACKAGE_luci-theme-design=y 36 | # 多拨 37 | CONFIG_PACKAGE_luci-app-mwan3=y 38 | CONFIG_PACKAGE_luci-app-mwan3helper=y 39 | CONFIG_PACKAGE_luci-app-syncdial=y 40 | # VPN 41 | CONFIG_PACKAGE_luci-app-zerotier=y 42 | #CONFIG_PACKAGE_luci-app-wireguard=y 43 | # anti ad 44 | #CONFIG_PACKAGE_luci-app-adguardhome=y 45 | # Qos 46 | #CONFIG_PACKAGE_luci-app-sqm=y 47 | #CONFIG_PACKAGE_luci-app-nft-qos=y 48 | # Out 49 | CONFIG_PACKAGE_luci-app-ssr-plus=y 50 | CONFIG_PACKAGE_luci-app-openclash=y 51 | CONFIG_PACKAGE_luci-app-passwall=y 52 | # tools 53 | CONFIG_PACKAGE_luci-app-ramfree=y 54 | #CONFIG_PACKAGE_luci-app-vlmcsd=y 55 | CONFIG_PACKAGE_luci-app-wol=y 56 | #IPTV组播 57 | CONFIG_PACKAGE_luci-app-msd_lite=y 58 | CONFIG_PACKAGE_omcproxy=y 59 | #DNS 60 | CONFIG_PACKAGE_luci-app-smartdns=y 61 | #CONFIG_PACKAGE_mosdns=y 62 | #流量 负载监控 63 | CONFIG_PACKAGE_luci-app-vnstat=y 64 | #CONFIG_PACKAGE_luci-app-statistics=y 65 | #CONFIG_PACKAGE_luci-app-wrtbwmon=y 66 | -------------------------------------------------------------------------------- /config/cmiot_ax18/zn-m2 nowifi-globe.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ipq60xx=y 2 | CONFIG_TARGET_ipq60xx_generic=y 3 | CONFIG_TARGET_ipq60xx_generic_DEVICE_zn_m2=y 4 | #旧路径 ipq6000/package/addition/ath11k-wifi/ 5 | #新路径 package/firmware/ath11k-wifi 6 | #wifi board-cmiot_ax18 .bin.IPQ6018 7 | #wifi board-cmiot_ax18 .bin.IPQ6018 8 | #wifi board-gl-ax1800.bin.IPQ6018 9 | #CONFIG_PACKAGE_ath11k-wifi-cmiot-ax18=y 10 | #board-cmiot-ax18.bin.IPQ6018.bin 11 | #编译开 12 | CONFIG_DEVEL=y 13 | CONFIG_CCACHE=y 14 | CONFIG_PACKAGE_luci-app-upnp=y 15 | CONFIG_PACKAGE_luci-app-firewall=y 16 | CONFIG_PACKAGE_luci-app-ntpc=y 17 | CONFIG_PACKAGE_kmod-macvlan=y 18 | CONFIG_PACKAGE_luci-app-switch=y 19 | # Qca 20 | CONFIG_PACKAGE_kmod-qca-nss-crypto=y 21 | CONFIG_PACKAGE_nss-eip-firmware=y 22 | CONFIG_PACKAGE_qca-diag=y 23 | CONFIG_PACKAGE_qca-nss-fw-cp-retail=y 24 | CONFIG_PACKAGE_qca-nss-fw-eip-cp=y 25 | CONFIG_PACKAGE_qca-qrtr=y 26 | CONFIG_PACKAGE_qca-son-cli=y 27 | CONFIG_PACKAGE_qca-son-mem-debug=y 28 | CONFIG_PACKAGE_qca-spectral=y 29 | CONFIG_PACKAGE_qca-ssdk-shell=y 30 | # ipv6 31 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 32 | CONFIG_PACKAGE_ipv6helper=y 33 | # theme 34 | CONFIG_PACKAGE_luci-compat=y 35 | CONFIG_PACKAGE_luci-lib-ipkg=y 36 | CONFIG_PACKAGE_luci-theme-design=y 37 | # 多拨 38 | CONFIG_PACKAGE_luci-app-mwan3=y 39 | CONFIG_PACKAGE_luci-app-mwan3helper=y 40 | CONFIG_PACKAGE_luci-app-syncdial=y 41 | # VPN 42 | CONFIG_PACKAGE_luci-app-zerotier=y 43 | #CONFIG_PACKAGE_luci-app-wireguard=y 44 | # anti ad 45 | #CONFIG_PACKAGE_luci-app-adguardhome=y 46 | # Qos 47 | #CONFIG_PACKAGE_luci-app-sqm=y 48 | #CONFIG_PACKAGE_luci-app-nft-qos=y 49 | # Out 50 | #CONFIG_PACKAGE_luci-app-ssr-plus=y 51 | #CONFIG_PACKAGE_luci-app-openclash=y 52 | #CONFIG_PACKAGE_luci-app-passwall=y 53 | # tools 54 | CONFIG_PACKAGE_luci-app-ramfree=y 55 | CONFIG_PACKAGE_luci-app-vlmcsd=y 56 | CONFIG_PACKAGE_luci-app-wol=y 57 | #IPTV组播 58 | #CONFIG_PACKAGE_luci-app-msd_lite=y 59 | #CONFIG_PACKAGE_omcproxy=y 60 | #DNS 61 | CONFIG_PACKAGE_luci-app-smartdns=y 62 | CONFIG_PACKAGE_luci-app-mosdns=y 63 | #流量 负载监控 64 | CONFIG_PACKAGE_luci-app-vnstat=y 65 | #CONFIG_PACKAGE_luci-app-statistics=y 66 | #CONFIG_PACKAGE_luci-app-wrtbwmon=y 67 | -------------------------------------------------------------------------------- /custom/cmiot_ax18/basic/diy-part1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | -------------------------------------------------------------------------------- /custom/cmiot_ax18/basic/diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | 13 | # Modify default IP 14 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 15 | -------------------------------------------------------------------------------- /custom/cmiot_ax18/plus/diy-part1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | -------------------------------------------------------------------------------- /custom/cmiot_ax18/plus/diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | 13 | # Modify default IP 14 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 15 | 16 | # Enable Cache 17 | echo -e 'CONFIG_DEVEL=y\nCONFIG_CCACHE=y' >> .config 18 | --------------------------------------------------------------------------------