├── .github └── workflows │ ├── build-AX6-IPQ.yml │ ├── build-AX6-NSS.yml │ ├── build-IMM.yml │ └── build-LEDE.yml ├── AX6-IMM ├── .config ├── .config-lite └── diy.sh ├── AX6-IPQ ├── .config ├── .config-ipq └── diy.sh ├── AX6-lEDE ├── .config ├── .config-mosdns └── diy.sh ├── LuCI应用说明.yml ├── README.md └── bak └── AX6-2 ├── .config ├── .config-- ├── .config1 └── diy.sh /.github/workflows/build-AX6-IPQ.yml: -------------------------------------------------------------------------------- 1 | name: Build OpenWRT for AX6-IPQ 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | env: 7 | REPO_URL: https://github.com/LiBwrt-op/openwrt-6.x.git 8 | REPO_BRANCH: openwrt-24.10 9 | CONFIG_FILE: AX6-IPQ/.config-ipq 10 | DIY_SH: AX6-IPQ/diy.sh 11 | FILES: AX6-IPQ/files 12 | TZ: Asia/Shanghai 13 | 14 | jobs: 15 | build: 16 | runs-on: ubuntu-22.04 17 | 18 | steps: 19 | - name: Check machine configuration 20 | run: | 21 | echo "警告⚠" 22 | echo "分配的服务器性能有限,若选择的插件过多,务必注意CPU性能!" 23 | echo "云编译建议取消勾选Node.js及其相关插件!" 24 | echo "已知CPU型号(降序):7763,8370C,8272CL,8171M,E5系列" 25 | echo "--------------------------CPU信息--------------------------" 26 | echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)" 27 | echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n" 28 | echo "--------------------------内存信息--------------------------" 29 | echo "已安装内存详细信息:" 30 | sudo lshw -short -C memory | grep GiB 31 | echo -e "\n" 32 | echo "--------------------------硬盘信息--------------------------" 33 | echo -e "硬盘数量:$(ls /dev/sd* | grep -v [1-9] | wc -l) \n" 34 | echo "硬盘详情:" 35 | df -Th 36 | 37 | - name: Before freeing up disk space 38 | run: | 39 | echo "Before freeing up disk space" 40 | echo "==============================================================================" 41 | df -hT 42 | echo "==============================================================================" 43 | 44 | - name: "Optimize Disk Space" 45 | uses: "hugoalh/disk-space-optimizer-ghaction@v0.8.1" 46 | with: 47 | operate_sudo: "True" 48 | general_include: ".+" 49 | general_exclude: |- 50 | ^GCC$ 51 | ^G\+\+$ 52 | Clang 53 | LLVM 54 | docker_include: ".+" 55 | docker_prune: "True" 56 | docker_clean: "True" 57 | apt_prune: "True" 58 | apt_clean: "True" 59 | homebrew_prune: "True" 60 | homebrew_clean: "True" 61 | npm_prune: "True" 62 | npm_clean: "True" 63 | os_swap: "True" 64 | 65 | - name: Freeing up disk space 66 | uses: easimon/maximize-build-space@master 67 | with: 68 | root-reserve-mb: 10240 69 | swap-size-mb: 1 70 | remove-dotnet: 'true' 71 | remove-android: 'true' 72 | remove-haskell: 'true' 73 | remove-codeql: 'true' 74 | remove-docker-images: 'true' 75 | 76 | - name: Free up disk space complete 77 | run: | 78 | echo "Free up disk space complete" 79 | echo "==============================================================================" 80 | df -hT 81 | echo "==============================================================================" 82 | 83 | - name: Checkout 84 | uses: actions/checkout@main 85 | 86 | - name: Initialize environment 87 | env: 88 | DEBIAN_FRONTEND: noninteractive 89 | run: | 90 | sudo -E apt-get -qq update -y 91 | sudo -E apt-get -qq install -y $(curl -fsSL https://raw.githubusercontent.com/nantayo/My-Pkg/master/2305) 92 | sudo -E apt-get -qq autoremove --purge 93 | sudo -E apt-get -qq clean 94 | sudo timedatectl set-timezone "$TZ" 95 | sudo chown $USER:$GROUPS $GITHUB_WORKSPACE 96 | 97 | - name: Clone source code 98 | working-directory: ./ 99 | run: | 100 | git clone $REPO_URL -b $REPO_BRANCH openwrt 101 | 102 | - name: cache wrt build 103 | uses: stupidloud/cachewrtbuild@main 104 | with: 105 | ccache: 'true' 106 | mixkey: AX6-IPQ-${{ env.REPO_BRANCH }} 107 | prefix: ${{ github.workspace }}/openwrt 108 | 109 | - name: Update & Install feeds 110 | working-directory: ./openwrt 111 | run: | 112 | ./scripts/feeds update -a 113 | ./scripts/feeds install -a 114 | 115 | - name: Load custom config 116 | run: | 117 | [ -e $FILES ] && mv $FILES openwrt/files 118 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 119 | chmod +x $DIY_SH 120 | cd openwrt 121 | $GITHUB_WORKSPACE/$DIY_SH 122 | 123 | # - name: SSH connect to Actions 124 | # uses: P3TERX/ssh2actions@main 125 | # if: (github.event.inputs.ssh == 'true') || contains(github.event.action, 'ssh') 126 | 127 | - name: Download package 128 | working-directory: ./openwrt 129 | run: | 130 | make defconfig 131 | make download -j8 132 | find dl -size -1024c -exec ls -l {} \; 133 | find dl -size -1024c -exec rm -f {} \; 134 | 135 | - name: Compile the firmware 136 | run: | 137 | chmod -R 755 openwrt 138 | cd openwrt 139 | echo -e "$(nproc) thread compile" 140 | make -j$(nproc) || make -j1 || make -j1 V=s 141 | echo "compile_status=success" >> $GITHUB_ENV 142 | 143 | # - name : Upload packages 144 | # uses: actions/upload-artifact@master 145 | # if: always() 146 | # with: 147 | # name: AX6-IPQ 148 | # path: openwrt/bin/targets 149 | - name: cp output to upload file 150 | run: | 151 | df -hT 152 | mkdir upload 153 | cp openwrt/bin/targets/*/*/*.ubi upload/ 154 | cp openwrt/bin/targets/*/*/*.bin upload/ 155 | 156 | - name: Get Current Date 157 | run: echo "CURRENT_DATE=$(date '+%Y%m%d%H%M%S')" >> $GITHUB_ENV 158 | 159 | - name: Upload OpenWrt Firmware to Release 160 | uses: ncipollo/release-action@main 161 | with: 162 | tag: AX6_IPQ_${{ env.CURRENT_DATE }} 163 | artifacts: upload/* 164 | allowUpdates: true 165 | token: ${{ secrets.GITHUB_TOKEN }} 166 | body: | 167 | 基于LiBwrt的openwrt代码构建 168 | 首次使用建议全新刷写 169 | 是否有NSS加速自己测试! 170 | * 基本信息 171 | IP: 192.168.1.1 172 | 账户: root 173 | 密码: password 174 | 175 | - name: Delete old releases 176 | uses: dev-drprasad/delete-older-releases@master 177 | env: 178 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 179 | with: 180 | keep_latest: 10 181 | delete_tags : true -------------------------------------------------------------------------------- /.github/workflows/build-AX6-NSS.yml: -------------------------------------------------------------------------------- 1 | name: Build OpenWRT for AX6-NSS 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | env: 7 | REPO_URL: https://github.com/VIKINGYFY/immortalwrt.git 8 | REPO_BRANCH: main 9 | CONFIG_FILE: AX6-IPQ/.config 10 | DIY_SH: AX6-IPQ/diy.sh 11 | FILES: AX6-IPQ/files 12 | TZ: Asia/Shanghai 13 | 14 | jobs: 15 | build: 16 | runs-on: ubuntu-22.04 17 | 18 | steps: 19 | - name: Check machine configuration 20 | run: | 21 | echo "警告⚠" 22 | echo "分配的服务器性能有限,若选择的插件过多,务必注意CPU性能!" 23 | echo "云编译建议取消勾选Node.js及其相关插件!" 24 | echo "已知CPU型号(降序):7763,8370C,8272CL,8171M,E5系列" 25 | echo "--------------------------CPU信息--------------------------" 26 | echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)" 27 | echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n" 28 | echo "--------------------------内存信息--------------------------" 29 | echo "已安装内存详细信息:" 30 | sudo lshw -short -C memory | grep GiB 31 | echo -e "\n" 32 | echo "--------------------------硬盘信息--------------------------" 33 | echo -e "硬盘数量:$(ls /dev/sd* | grep -v [1-9] | wc -l) \n" 34 | echo "硬盘详情:" 35 | df -Th 36 | 37 | - name: Before freeing up disk space 38 | run: | 39 | echo "Before freeing up disk space" 40 | echo "==============================================================================" 41 | df -hT 42 | echo "==============================================================================" 43 | 44 | - name: "Optimize Disk Space" 45 | uses: "hugoalh/disk-space-optimizer-ghaction@v0.8.1" 46 | with: 47 | operate_sudo: "True" 48 | general_include: ".+" 49 | general_exclude: |- 50 | ^GCC$ 51 | ^G\+\+$ 52 | Clang 53 | LLVM 54 | docker_include: ".+" 55 | docker_prune: "True" 56 | docker_clean: "True" 57 | apt_prune: "True" 58 | apt_clean: "True" 59 | homebrew_prune: "True" 60 | homebrew_clean: "True" 61 | npm_prune: "True" 62 | npm_clean: "True" 63 | os_swap: "True" 64 | 65 | - name: Freeing up disk space 66 | uses: easimon/maximize-build-space@master 67 | with: 68 | root-reserve-mb: 10240 69 | swap-size-mb: 1 70 | remove-dotnet: 'true' 71 | remove-android: 'true' 72 | remove-haskell: 'true' 73 | remove-codeql: 'true' 74 | remove-docker-images: 'true' 75 | 76 | - name: Free up disk space complete 77 | run: | 78 | echo "Free up disk space complete" 79 | echo "==============================================================================" 80 | df -hT 81 | echo "==============================================================================" 82 | 83 | - name: Checkout 84 | uses: actions/checkout@main 85 | 86 | - name: Initialize environment 87 | env: 88 | DEBIAN_FRONTEND: noninteractive 89 | run: | 90 | sudo -E apt-get -qq update -y 91 | sudo -E apt-get -qq install -y $(curl -fsSL https://raw.githubusercontent.com/nantayo/My-Pkg/master/2305) 92 | sudo -E apt-get -qq autoremove --purge 93 | sudo -E apt-get -qq clean 94 | sudo timedatectl set-timezone "$TZ" 95 | sudo chown $USER:$GROUPS $GITHUB_WORKSPACE 96 | 97 | - name: Clone source code 98 | working-directory: ./ 99 | run: | 100 | git clone $REPO_URL -b $REPO_BRANCH openwrt 101 | 102 | - name: cache wrt build 103 | uses: stupidloud/cachewrtbuild@main 104 | with: 105 | ccache: 'true' 106 | mixkey: AX6-NSS-${{ env.REPO_BRANCH }} 107 | prefix: ${{ github.workspace }}/openwrt 108 | 109 | - name: Update & Install feeds 110 | working-directory: ./openwrt 111 | run: | 112 | ./scripts/feeds update -a 113 | ./scripts/feeds install -a 114 | 115 | - name: Load custom config 116 | run: | 117 | [ -e $FILES ] && mv $FILES openwrt/files 118 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 119 | chmod +x $DIY_SH 120 | cd openwrt 121 | $GITHUB_WORKSPACE/$DIY_SH 122 | 123 | # - name: SSH connect to Actions 124 | # uses: P3TERX/ssh2actions@main 125 | # if: (github.event.inputs.ssh == 'true') || contains(github.event.action, 'ssh') 126 | 127 | - name: Download package 128 | working-directory: ./openwrt 129 | run: | 130 | make defconfig 131 | make download -j8 132 | find dl -size -1024c -exec ls -l {} \; 133 | find dl -size -1024c -exec rm -f {} \; 134 | 135 | - name: Compile the firmware 136 | run: | 137 | chmod -R 755 openwrt 138 | cd openwrt 139 | echo -e "$(nproc) thread compile" 140 | make -j$(nproc) || make -j1 || make -j1 V=s 141 | echo "compile_status=success" >> $GITHUB_ENV 142 | 143 | # - name : Upload packages 144 | # uses: actions/upload-artifact@master 145 | # if: always() 146 | # with: 147 | # name: AX6-NSS 148 | # path: openwrt/bin/targets 149 | - name: cp output to upload file 150 | run: | 151 | df -hT 152 | mkdir upload 153 | cp openwrt/bin/targets/*/*/*.ubi upload/ 154 | cp openwrt/bin/targets/*/*/*.bin upload/ 155 | 156 | - name: Get Current Date 157 | run: echo "CURRENT_DATE=$(date '+%Y%m%d%H%M%S')" >> $GITHUB_ENV 158 | 159 | - name: Upload OpenWrt Firmware to Release 160 | uses: ncipollo/release-action@main 161 | with: 162 | tag: AX6_NSS_${{ env.CURRENT_DATE }} 163 | artifacts: upload/* 164 | allowUpdates: true 165 | token: ${{ secrets.GITHUB_TOKEN }} 166 | body: | 167 | 基于VIKINGYFY合并的immortalwrt构建 168 | 首次使用建议全新刷写 169 | NSS满血加速! 170 | * 基本信息 171 | IP: 192.168.1.1 172 | 账户: root 173 | 密码: 空 174 | 175 | - name: Delete old releases 176 | uses: dev-drprasad/delete-older-releases@master 177 | env: 178 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 179 | with: 180 | keep_latest: 10 181 | delete_tags : true 182 | -------------------------------------------------------------------------------- /.github/workflows/build-IMM.yml: -------------------------------------------------------------------------------- 1 | name: Build OpenWRT-IMM for AX6 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | env: 7 | REPO_URL: https://github.com/immortalwrt/immortalwrt.git 8 | REPO_BRANCH: openwrt-23.05 9 | CONFIG_FILE: AX6-IMM/.config 10 | DIY_SH: AX6-IMM/diy.sh 11 | FILES: AX6-IMM/files 12 | TZ: Asia/Shanghai 13 | 14 | jobs: 15 | build: 16 | runs-on: ubuntu-22.04 17 | 18 | steps: 19 | - name: Check machine configuration 20 | run: | 21 | echo "警告⚠" 22 | echo "分配的服务器性能有限,若选择的插件过多,务必注意CPU性能!" 23 | echo "云编译建议取消勾选Node.js及其相关插件!" 24 | echo "已知CPU型号(降序):7763,8370C,8272CL,8171M,E5系列" 25 | echo "--------------------------CPU信息--------------------------" 26 | echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)" 27 | echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n" 28 | echo "--------------------------内存信息--------------------------" 29 | echo "已安装内存详细信息:" 30 | sudo lshw -short -C memory | grep GiB 31 | echo -e "\n" 32 | echo "--------------------------硬盘信息--------------------------" 33 | echo -e "硬盘数量:$(ls /dev/sd* | grep -v [1-9] | wc -l) \n" 34 | echo "硬盘详情:" 35 | df -Th 36 | 37 | - name: Before freeing up disk space 38 | run: | 39 | echo "Before freeing up disk space" 40 | echo "==============================================================================" 41 | df -hT 42 | echo "==============================================================================" 43 | 44 | - name: "Optimize Disk Space" 45 | uses: "hugoalh/disk-space-optimizer-ghaction@v0.8.1" 46 | with: 47 | operate_sudo: "True" 48 | general_include: ".+" 49 | general_exclude: |- 50 | ^GCC$ 51 | ^G\+\+$ 52 | Clang 53 | LLVM 54 | docker_include: ".+" 55 | docker_prune: "True" 56 | docker_clean: "True" 57 | apt_prune: "True" 58 | apt_clean: "True" 59 | homebrew_prune: "True" 60 | homebrew_clean: "True" 61 | npm_prune: "True" 62 | npm_clean: "True" 63 | os_swap: "True" 64 | 65 | - name: Freeing up disk space 66 | uses: easimon/maximize-build-space@master 67 | with: 68 | root-reserve-mb: 10240 69 | swap-size-mb: 1 70 | remove-dotnet: 'true' 71 | remove-android: 'true' 72 | remove-haskell: 'true' 73 | remove-codeql: 'true' 74 | remove-docker-images: 'true' 75 | 76 | - name: Free up disk space complete 77 | run: | 78 | echo "Free up disk space complete" 79 | echo "==============================================================================" 80 | df -hT 81 | echo "==============================================================================" 82 | 83 | - name: Checkout 84 | uses: actions/checkout@main 85 | 86 | - name: Initialize environment 87 | env: 88 | DEBIAN_FRONTEND: noninteractive 89 | run: | 90 | sudo -E apt-get -qq update -y 91 | sudo -E apt-get -qq install -y $(curl -fsSL https://raw.githubusercontent.com/nantayo/My-Pkg/master/2305) 92 | sudo -E apt-get -qq autoremove --purge 93 | sudo -E apt-get -qq clean 94 | sudo timedatectl set-timezone "$TZ" 95 | sudo chown $USER:$GROUPS $GITHUB_WORKSPACE 96 | 97 | - name: Clone source code 98 | working-directory: ./ 99 | run: | 100 | git clone $REPO_URL -b $REPO_BRANCH openwrt 101 | 102 | - name: cache wrt build 103 | uses: stupidloud/cachewrtbuild@main 104 | with: 105 | ccache: 'true' 106 | mixkey: AX6-IMM-${{ env.REPO_BRANCH }} 107 | prefix: ${{ github.workspace }}/openwrt 108 | 109 | - name: Update & Install feeds 110 | working-directory: ./openwrt 111 | run: | 112 | ./scripts/feeds update -a 113 | ./scripts/feeds install -a 114 | 115 | - name: Load custom config 116 | run: | 117 | [ -e $FILES ] && mv $FILES openwrt/files 118 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 119 | chmod +x $DIY_SH 120 | cd openwrt 121 | $GITHUB_WORKSPACE/$DIY_SH 122 | 123 | # - name: SSH connect to Actions 124 | # uses: P3TERX/ssh2actions@main 125 | # if: (github.event.inputs.ssh == 'true') || contains(github.event.action, 'ssh') 126 | 127 | - name: Download package 128 | working-directory: ./openwrt 129 | run: | 130 | make defconfig 131 | make download -j8 132 | find dl -size -1024c -exec ls -l {} \; 133 | find dl -size -1024c -exec rm -f {} \; 134 | 135 | - name: Compile the firmware 136 | run: | 137 | chmod -R 755 openwrt 138 | cd openwrt 139 | echo -e "$(nproc) thread compile" 140 | make -j$(nproc) || make -j1 || make -j1 V=s 141 | echo "compile_status=success" >> $GITHUB_ENV 142 | 143 | - name : Upload packages 144 | uses: actions/upload-artifact@master 145 | if: always() 146 | with: 147 | name: AX6-IMM 148 | path: openwrt/bin/targets 149 | -------------------------------------------------------------------------------- /.github/workflows/build-LEDE.yml: -------------------------------------------------------------------------------- 1 | name: Build OpenWRT-lede for AX6 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | env: 7 | REPO_URL: https://github.com/coolsnowwolf/lede 8 | REPO_BRANCH: master 9 | CONFIG_FILE: AX6-lEDE/.config 10 | DIY_SH: AX6-lEDE/diy.sh 11 | FILES: AX6-lEDE/files 12 | TZ: Asia/Shanghai 13 | 14 | jobs: 15 | build: 16 | runs-on: ubuntu-22.04 17 | 18 | steps: 19 | - name: Check machine configuration 20 | run: | 21 | echo "警告⚠" 22 | echo "分配的服务器性能有限,若选择的插件过多,务必注意CPU性能!" 23 | echo "云编译建议取消勾选Node.js及其相关插件!" 24 | echo "已知CPU型号(降序):7763,8370C,8272CL,8171M,E5系列" 25 | echo "--------------------------CPU信息--------------------------" 26 | echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)" 27 | echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n" 28 | echo "--------------------------内存信息--------------------------" 29 | echo "已安装内存详细信息:" 30 | sudo lshw -short -C memory | grep GiB 31 | echo -e "\n" 32 | echo "--------------------------硬盘信息--------------------------" 33 | echo -e "硬盘数量:$(ls /dev/sd* | grep -v [1-9] | wc -l) \n" 34 | echo "硬盘详情:" 35 | df -Th 36 | 37 | - name: Before freeing up disk space 38 | run: | 39 | echo "Before freeing up disk space" 40 | echo "==============================================================================" 41 | df -hT 42 | echo "==============================================================================" 43 | 44 | - name: "Optimize Disk Space" 45 | uses: "hugoalh/disk-space-optimizer-ghaction@v0.8.1" 46 | with: 47 | operate_sudo: "True" 48 | general_include: ".+" 49 | general_exclude: |- 50 | ^GCC$ 51 | ^G\+\+$ 52 | Clang 53 | LLVM 54 | docker_include: ".+" 55 | docker_prune: "True" 56 | docker_clean: "True" 57 | apt_prune: "True" 58 | apt_clean: "True" 59 | homebrew_prune: "True" 60 | homebrew_clean: "True" 61 | npm_prune: "True" 62 | npm_clean: "True" 63 | os_swap: "True" 64 | 65 | - name: Freeing up disk space 66 | uses: easimon/maximize-build-space@master 67 | with: 68 | root-reserve-mb: 10240 69 | swap-size-mb: 1 70 | remove-dotnet: 'true' 71 | remove-android: 'true' 72 | remove-haskell: 'true' 73 | remove-codeql: 'true' 74 | remove-docker-images: 'true' 75 | 76 | - name: Free up disk space complete 77 | run: | 78 | echo "Free up disk space complete" 79 | echo "==============================================================================" 80 | df -hT 81 | echo "==============================================================================" 82 | 83 | - name: Checkout 84 | uses: actions/checkout@main 85 | 86 | - name: Initialize environment 87 | env: 88 | DEBIAN_FRONTEND: noninteractive 89 | run: | 90 | sudo -E apt update 91 | sudo -E apt -y install $(curl -fsSL https://is.gd/depends_ubuntu_2204) 92 | sudo -E apt -y autoremove --purge 93 | sudo -E apt -y install libfuse-dev 94 | sudo -E apt -y install rename 95 | sudo -E apt -y install time 96 | sudo -E apt -y install gn 97 | sudo -E systemctl daemon-reload 98 | sudo -E apt clean 99 | sudo timedatectl set-timezone "$TZ" 100 | sudo chown $USER:$GROUPS $GITHUB_WORKSPACE 101 | 102 | - name: Clone source code 103 | working-directory: ./ 104 | run: | 105 | git clone $REPO_URL -b $REPO_BRANCH openwrt 106 | cd openwrt 107 | sed -i 's|https://github.com/coolsnowwolf/luci.git;openwrt-23.05|https://github.com/coolsnowwolf/luci|g' feeds.conf.default 108 | 109 | - name: cache wrt build 110 | uses: stupidloud/cachewrtbuild@main 111 | with: 112 | ccache: 'true' 113 | mixkey: lede-${{ env.REPO_BRANCH }} 114 | prefix: ${{ github.workspace }}/openwrt 115 | 116 | - name: Update & Install feeds 117 | working-directory: ./openwrt 118 | run: | 119 | ./scripts/feeds update -a 120 | ./scripts/feeds install -a 121 | 122 | - name: Load custom config 123 | run: | 124 | [ -e $FILES ] && mv $FILES openwrt/files 125 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 126 | chmod +x $DIY_SH 127 | cd openwrt 128 | $GITHUB_WORKSPACE/$DIY_SH 129 | 130 | # - name: SSH connect to Actions 131 | # uses: P3TERX/ssh2actions@main 132 | # if: (github.event.inputs.ssh == 'true') || contains(github.event.action, 'ssh') 133 | 134 | - name: Download package 135 | working-directory: ./openwrt 136 | run: | 137 | make defconfig 138 | make download -j8 139 | find dl -size -1024c -exec ls -l {} \; 140 | find dl -size -1024c -exec rm -f {} \; 141 | 142 | - name: Compile the firmware 143 | run: | 144 | chmod -R 755 openwrt 145 | cd openwrt 146 | echo -e "$(nproc) thread compile" 147 | make -j$(nproc) || make -j1 || make -j1 V=s 148 | echo "compile_status=success" >> $GITHUB_ENV 149 | 150 | # - name : Upload packages 151 | # uses: actions/upload-artifact@master 152 | # if: always() 153 | # with: 154 | # name: ipq807x 155 | # path: openwrt/bin/targets/qualcommax 156 | 157 | - name: cp output to upload file 158 | run: | 159 | df -hT 160 | mkdir upload 161 | cp openwrt/bin/targets/*/*/*.ubi upload/ 162 | cp openwrt/bin/targets/*/*/*.bin upload/ 163 | 164 | - name: Get Current Date 165 | run: echo "CURRENT_DATE=$(date '+%Y%m%d%H%M%S')" >> $GITHUB_ENV 166 | 167 | - name: Upload OpenWrt Firmware to Release 168 | uses: ncipollo/release-action@main 169 | with: 170 | tag: LEDE_NSS_${{ env.CURRENT_DATE }} 171 | artifacts: upload/* 172 | allowUpdates: true 173 | token: ${{ secrets.GITHUB_TOKEN }} 174 | body: | 175 | 基于lede openwrt构建 176 | 首次使用建议全新刷写 177 | nss是否有效自己测试! 178 | * 基本信息 179 | IP: 192.168.1.1 180 | 账户: root 181 | 密码: password 182 | 183 | - name: Delete old releases 184 | uses: dev-drprasad/delete-older-releases@master 185 | env: 186 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 187 | with: 188 | keep_latest: 10 189 | delete_tags : true 190 | -------------------------------------------------------------------------------- /AX6-IMM/diy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Git稀疏克隆,只克隆指定目录到本地 3 | function git_sparse_clone() { 4 | branch="$1" repourl="$2" && shift 2 5 | git clone --depth=1 -b $branch --single-branch --filter=blob:none --sparse $repourl 6 | repodir=$(echo $repourl | awk -F '/' '{print $(NF)}') 7 | cd $repodir && git sparse-checkout set $@ 8 | mv -f $@ ../package 9 | cd .. && rm -rf $repodir 10 | } 11 | 12 | # Add packages 13 | #添加科学上网源 14 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall-packages package/openwrt-passwall-packages 15 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall package/openwrt-passwall 16 | #git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 17 | #git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 18 | #git clone --depth 1 https://github.com/sirpdboy/luci-app-ddns-go package/ddnsgo 19 | #git clone --depth 1 https://github.com/sbwml/luci-app-mosdns package/mosdns 20 | #git clone --depth 1 https://github.com/sbwml/luci-app-alist package/alist 21 | #git clone --depth=1 https://github.com/kenzok8/small-package package/small-package 22 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-zerotier 23 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages vlmcsd 24 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-vlmcsd 25 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-socat 26 | 27 | # 替换luci-app-openvpn-server imm源的启动不了服务! 28 | #rm -rf feeds/luci/applications/luci-app-openvpn-server 29 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-openvpn-server 30 | # 调整 openvpn-server 到 VPN 菜单 31 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/controller/*.lua 32 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/model/cbi/openvpn-server/*.lua 33 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/view/openvpn/*.htm 34 | 35 | # git clone -b js https://github.com/papagaye744/luci-theme-design package/luci-theme-design 36 | 37 | #替换luci-app-socat为https://github.com/chenmozhijin/luci-app-socat 38 | #rm -rf feeds/luci/applications/luci-app-socat 39 | #git_sparse_clone main https://github.com/chenmozhijin/luci-app-socat luci-app-socat 40 | 41 | #删除库中的插件,使用自定义源中的包。 42 | #rm -rf feeds/luci/themes/luci-theme-argon 43 | #rm -rf feeds/luci/applications/luci-app-argon-config 44 | #rm -rf feeds/luci/applications/luci-app-ddns-go 45 | #rm -rf feeds/packages/net/ddns-go 46 | #rm -rf feeds/packages/net/alist 47 | #rm -rf feeds/luci/applications/luci-app-alist 48 | #rm -rf feeds/luci/applications/openwrt-passwall 49 | 50 | 51 | 52 | 53 | #修改默认IP 54 | #sed -i 's/192.168.1.1/192.168.123.1/g' package/base-files/files/bin/config_generate 55 | 56 | #修改主机名 57 | sed -i "s/hostname='ImmortalWrt'/hostname='Redmi-AX6'/g" package/base-files/files/bin/config_generate -------------------------------------------------------------------------------- /AX6-IPQ/diy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Git稀疏克隆,只克隆指定目录到本地 3 | function git_sparse_clone() { 4 | branch="$1" repourl="$2" && shift 2 5 | git clone --depth=1 -b $branch --single-branch --filter=blob:none --sparse $repourl 6 | repodir=$(echo $repourl | awk -F '/' '{print $(NF)}') 7 | cd $repodir && git sparse-checkout set $@ 8 | mv -f $@ ../package 9 | cd .. && rm -rf $repodir 10 | } 11 | 12 | # Add packages 13 | #添加科学上网源 14 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall-packages package/openwrt-passwall-packages 15 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall package/openwrt-passwall 16 | git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 17 | git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 18 | #git clone --depth 1 https://github.com/sirpdboy/luci-app-ddns-go package/ddnsgo 19 | #git clone --depth 1 https://github.com/sbwml/luci-app-mosdns package/mosdns 20 | #git clone --depth 1 https://github.com/sbwml/luci-app-alist package/alist 21 | #git clone --depth=1 https://github.com/kenzok8/small-package package/small-package 22 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-zerotier 23 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages vlmcsd 24 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-vlmcsd 25 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-socat 26 | 27 | # 替换luci-app-openvpn-server imm源的启动不了服务! 28 | #rm -rf feeds/luci/applications/luci-app-openvpn-server 29 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-openvpn-server 30 | # 调整 openvpn-server 到 VPN 菜单 31 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/controller/*.lua 32 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/model/cbi/openvpn-server/*.lua 33 | #sed -i 's/services/vpn/g' package/luci-app-openvpn-server/luasrc/view/openvpn/*.htm 34 | 35 | #git clone -b js https://github.com/papagaye744/luci-theme-design package/luci-theme-design 36 | 37 | #替换luci-app-socat为https://github.com/chenmozhijin/luci-app-socat 38 | #rm -rf feeds/luci/applications/luci-app-socat 39 | #git_sparse_clone main https://github.com/chenmozhijin/luci-app-socat luci-app-socat 40 | 41 | #删除库中的插件,使用自定义源中的包。 42 | rm -rf feeds/luci/themes/luci-theme-argon 43 | rm -rf feeds/luci/applications/luci-app-argon-config 44 | #rm -rf feeds/luci/applications/luci-app-ddns-go 45 | #rm -rf feeds/packages/net/ddns-go 46 | #rm -rf feeds/packages/net/alist 47 | #rm -rf feeds/luci/applications/luci-app-alist 48 | #rm -rf feeds/luci/applications/openwrt-passwall 49 | 50 | 51 | #修改默认IP 52 | #sed -i 's/192.168.1.1/192.168.123.1/g' package/base-files/files/bin/config_generate 53 | 54 | #修改主机名 55 | #sed -i "s/hostname='ImmortalWrt'/hostname='Redmi-AX6'/g" package/base-files/files/bin/config_generate -------------------------------------------------------------------------------- /AX6-lEDE/diy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Git稀疏克隆,只克隆指定目录到本地 3 | function git_sparse_clone() { 4 | branch="$1" repourl="$2" && shift 2 5 | git clone --depth=1 -b $branch --single-branch --filter=blob:none --sparse $repourl 6 | repodir=$(echo $repourl | awk -F '/' '{print $(NF)}') 7 | cd $repodir && git sparse-checkout set $@ 8 | mv -f $@ ../package 9 | cd .. && rm -rf $repodir 10 | } 11 | 12 | # Add packages 13 | #添加科学上网源 14 | git clone --depth=1 https://github.com/xiaorouji/openwrt-passwall-packages package/openwrt-passwall-packages 15 | git clone --depth=1 https://github.com/xiaorouji/openwrt-passwall package/openwrt-passwall 16 | git clone -b 18.06 --single-branch --depth 1 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 17 | git clone -b 18.06 --single-branch --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 18 | #git clone --depth=1 https://github.com/sirpdboy/luci-app-ddns-go package/ddnsgo 19 | #git clone -b v5-lua --single-branch --depth 1 https://github.com/sbwml/luci-app-mosdns package/mosdns 20 | #git clone -b v3.35.0 --single-branch --depth 1 https://github.com/sbwml/luci-app-alist package/alist 21 | #git clone --depth=1 https://github.com/sirpdboy/luci-app-lucky package/lucky 22 | #git clone --depth=1 https://github.com/sirpdboy/NetSpeedTest package/NetSpeedTest 23 | #git clone --depth=1 https://github.com/sirpdboy/NetSpeedTest package/NetSpeedTest 24 | #git clone --depth=1 https://github.com/0x676e67/luci-theme-design package/luci-theme-design 25 | #git clone --depth=1 https://github.com/0x676e67/luci-app-design-config package/luci-app-design-config 26 | 27 | #添加自定义的软件包源 28 | #git_sparse_clone master https://github.com/kiddin9/openwrt-packages luci-theme-design 29 | #git_sparse_clone master https://github.com/kiddin9/openwrt-packages luci-app-design-config 30 | 31 | 32 | # Remove packages 33 | #删除lean库中的插件,使用自定义源中的包。 34 | #rm -rf feeds/packages/net/v2ray-geodata 35 | #rm -rf feeds/packages/utils/v2dat 36 | rm -rf feeds/luci/themes/luci-theme-argon 37 | rm -rf feeds/luci/applications/luci-app-argon-config 38 | #rm -rf feeds/packages/net/mosdns 39 | #rm -rf feeds/luci/applications/luci-app-mosdns 40 | #rm -rf feeds/luci/themes/luci-theme-design 41 | #rm -rf feeds/luci/applications/luci-app-design-config 42 | 43 | # Default IP 44 | #sed -i 's/192.168.1.1/192.168.10.1/g' package/base-files/files/bin/config_generate 45 | 46 | # 修改主机名 47 | #sed -i "s/hostname='OpenWrt'/hostname='Redmi-AX6'/g" package/base-files/files/bin/config_generate 48 | 49 | #修改默认时间格式 50 | sed -i 's/os.date()/os.date("%Y-%m-%d %H:%M:%S %A")/g' $(find ./package/*/autocore/files/ -type f -name "index.htm") -------------------------------------------------------------------------------- /LuCI应用说明.yml: -------------------------------------------------------------------------------- 1 | 选择LuCI 配置 添加插件应用:常用 2 | ----------------------------------------------------------------------------------------- 3 | LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 4 | LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + 5 | LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 6 | LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 7 | LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) 8 | LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) 9 | LuCI ---> Applications ---> luci-app-firewall #添加防火墙 10 | LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS... 11 | LuCI ---> Applications ---> luci-app-frpc #内网穿透 Frp 12 | LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 13 | LuCI ---> Applications ---> luci-app-ipsec-vpnd #vpn服务器 IPSec 14 | LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 15 | LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 16 | LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 17 | LuCI ---> Applications ---> luci-app-ramfree #释放内存 18 | LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) 19 | LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) 20 | ------------------------------------------------------------------------------------------- 21 | LuCI ---> Applications ---> luci-app-ssr-plus #ssr低调上网Plus+ 22 | luci-app-ssr-plus ---> Include shadowsocks v2ray Plugin #SS v2ray插件 * 23 | luci-app-ssr-plus ---> Include v2ray #v2ray代理 24 | luci-app-ssr-plus ---> Include Trojan #Trojan代理 25 | luci-app-ssr-plus ---> Include red---socks2 #red---socks2代理 * 26 | luci-app-ssr-plus ---> Include Kcptun #Kcptun加速 27 | luci-app-ssr-plus ---> Include ShadowsocksR Server #ssr服务器 28 | ------------------------------------------------------------------------------------------- 29 | LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) 30 | LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 31 | LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) 32 | LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 33 | LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 34 | LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 35 | LuCI ---> Applications ---> luci-app-wireleShadowsocksRegdb #WiFi无线 36 | LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 37 | LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 38 | LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 39 | LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 40 | Extra packages ---> ipv6helper #支持 ipv6 41 | Utilities ---> open-vm-tools #打开适用于VMware的VM Tools 42 | 43 | 44 | 45 | 以下是全部: 注:应用后面标记 “ * ” 为最近新添加 46 | ----------------------------------------------------------------------------------------- 47 | LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 48 | LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境 49 | LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤 50 | LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + 51 | LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(已弃) 52 | LuCI ---> Applications ---> luci-app-adkill #广告过滤(已弃) 53 | LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启 54 | LuCI ---> Applications ---> luci-app-ahcp #支持AHCPd 55 | LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(已弃,集成至ddns) 56 | LuCI ---> Applications ---> luci-app-amule #aMule下载工具 57 | LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具 58 | LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 59 | LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器 60 | LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关 61 | LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 62 | LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理 63 | LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定) 64 | LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持 65 | LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持 66 | LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(已弃) 67 | LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(已弃) 68 | LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议 69 | LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议 70 | LuCI ---> Applications ---> luci-app-caldav #联系人(已弃) 71 | LuCI ---> Applications ---> luci-app-cifsd #网络共享CIFS/SMB服务器 * 72 | LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关 73 | LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件 74 | LuCI ---> Applications ---> luci-app-commands #Shell命令模块 75 | LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具 76 | LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) 77 | LuCI ---> Applications ---> luci-app-diag-core #core诊断工具 78 | LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具 * 79 | luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW) 80 | luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息 81 | luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具 82 | luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块 83 | luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块 84 | LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染 85 | LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染 86 | LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(已弃) 87 | LuCI ---> Applications ---> luci-app-dockerman #Docker容器 * 88 | LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定) 89 | LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知) 90 | LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器 91 | LuCI ---> Applications ---> luci-app-familycloud #家庭云盘 92 | LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) 93 | LuCI ---> Applications ---> luci-app-firewall #添加防火墙 94 | LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS... 95 | LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知) 96 | LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知) 97 | LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知) 98 | LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端 99 | LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端 * 100 | LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器 101 | LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 102 | LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(已弃) 103 | LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP 104 | LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠 105 | LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议 106 | LuCI ---> Applications ---> luci-app-ipsec-vpnd #vpn服务器 IPSec 107 | LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘 108 | LuCI ---> Applications ---> luci-app-kooldns #vpn服务器 ddns替代方案(已弃) 109 | LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(已弃) 110 | LuCI ---> Applications ---> luci-app-lxc #LXC容器管理 111 | LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导 112 | LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件 113 | LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序 114 | LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 * 115 | LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(已弃) 116 | LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(已弃,移至syncdial) 117 | LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(已弃) 118 | LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 119 | LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 120 | LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 vpn服务 121 | LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图表) 122 | LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版 123 | LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(已弃) 124 | LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 125 | LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击 126 | LuCI ---> Applications ---> luci-app-nps #内网穿透nps * 127 | LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器 128 | LuCI ---> Applications ---> luci-app-ocserv #OpenConnect vpn服务 129 | LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块 130 | LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器 131 | LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化 132 | LuCI ---> Applications ---> luci-app-openvpn #Openvpn客户端 133 | LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的Openvpn服务器 Web-UI 134 | LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(已弃) 135 | LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块 136 | LuCI ---> Applications ---> luci-app-pagekitec #Pagekite内网穿透客户端 137 | LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理) 138 | LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP) 139 | LuCI ---> Applications ---> luci-app-pptp-server #vpn服务器 pptp(已弃) 140 | LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存) 141 | LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent) 142 | LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控 143 | LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具 144 | LuCI ---> Applications ---> luci-app-ramfree #释放内存 145 | LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器 146 | LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) 147 | LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4) 148 | LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(flowoffload二选一) 149 | LuCI ---> Applications ---> luci-app-shadowsocks #SS低调上网(已弃) 150 | LuCI ---> Applications ---> luci-app-shadowsocks-libev #SS-libev服务端 151 | LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能 152 | LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard 153 | LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截 154 | LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(已弃) 155 | LuCI ---> Applications ---> luci-app-softethervpn #SoftEther vpn服务器 NAT穿透 * 156 | LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统 157 | LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) 158 | LuCI ---> Applications ---> luci-app-squid #Squid代理服务器 159 | LuCI ---> Applications ---> luci-app-ssr-plus #ssr低调上网Plus+ 160 | luci-app-ssr-plus ---> Include shadowsocks New Version #新SS代理(已弃) 161 | luci-app-ssr-plus ---> Include shadowsocks Simple-obfs Plugin #simple-obfs简单混淆工具(已弃) 162 | luci-app-ssr-plus ---> Include shadowsocks v2ray Plugin #SS v2ray插件 * 163 | luci-app-ssr-plus ---> Include v2ray #v2ray代理 164 | luci-app-ssr-plus ---> Include Trojan #Trojan代理 165 | luci-app-ssr-plus ---> Include red---socks2 #red---socks2代理 * 166 | luci-app-ssr-plus ---> Include Kcptun #Kcptun加速 167 | luci-app-ssr-plus ---> Include ShadowsocksR Server #ssr服务器 168 | luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(已弃) 169 | luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel #SSR代理(已弃) 170 | luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(已弃) 171 | LuCI ---> Applications ---> luci-app-ssr-pro #ssr-Pro(已弃) 172 | LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器 173 | LuCI ---> Applications ---> luci-app-statistics #流量监控工具 174 | LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) 175 | LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器 176 | LuCI ---> Applications ---> luci-app-transmission #BT下载工具 177 | LuCI ---> Applications ---> luci-app-travelmate #旅行路由器 178 | LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行 179 | LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器 180 | LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器 181 | LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 182 | UnblockNeteaseMusic Golang Version #Golang版本 * 183 | UnblockNeteaseMusic NodeJS Version #NodeJS版本 * 184 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并) 185 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并) 186 | LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器 187 | LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) 188 | LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器 189 | LuCI ---> Applications ---> luci-app-v2ray-server #v2ray 服务器 190 | LuCI ---> Applications ---> luci-app-v2ray-pro #v2ray透明代理(已弃,集成ssr) 191 | LuCI ---> Applications ---> luci-app-verysync #微力同步 * 192 | LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 193 | LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表) 194 | LuCI ---> Applications ---> luci-app-vpnbypass #vpn BypassWebUI 绕过vpn设置 195 | LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 196 | LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启 197 | LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置 198 | LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(已弃) 199 | LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 200 | LuCI ---> Applications ---> luci-app-wireguard #vpn服务器 WireGuard状态 201 | LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线 202 | LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 203 | LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 204 | LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 205 | LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 206 | 207 | --------------------------------------------------------------------------------------------------- 208 | 支持 iPv6: 209 | 1、Extra packages ---> ipv6helper (选定这个后下面几项自动选择了) 210 | Network ---> odhcp6c 211 | Network ---> odhcpd-ipv6only 212 | LuCI ---> Protocols ---> luci-proto-ipv6 213 | LuCI ---> Protocols ---> luci-proto-ppp 214 | 215 | 216 | 217 | 218 | 信息来源:https://www.right.com.cn/forum/thread-3682029-1-1.html -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### 自用AX6一键编译脚本 2 | - IMM官方项目没有NSS加速,要编译没有nss加速的是首选! 3 | 4 | - LEDE显示有nss,但是测试WIFI有问题,内网中上传速度特别慢。 5 | 6 | - 以下两个项目是支持大分区,而且带NSS加速! 7 | 8 | 1、LiBwrt:https://github.com/LiBwrt-op/openwrt-6.x.git build-AX6-IPQ脚本【该项目近期发现nss加速启动不了】 9 | 2、VIKINGYFY: https://github.com/VIKINGYFY/immortalwrt.git build-AX6-NSS脚本【该项目nss加速满血,500m跑满cpu占用个位数!】 10 | 11 | - 注意: 12 | nss加速默认是开启的,不要去防火墙里打开系统的硬件或软件卸载加速,会有不可预测的冲突! 13 | 测试只要跑大流量cpu占用很低或没有就是NSS加速在起作用了! 14 | 在线ipk软件源: 15 | src/gz immortalwrt_core https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/targets/qualcommax/ipq807x/packages/ 16 | src/gz immortalwrt_base https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/base 17 | src/gz immortalwrt_luci https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/luci 18 | src/gz immortalwrt_packages https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/packages 19 | src/gz immortalwrt_routing https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/routing 20 | src/gz immortalwrt_telephony https://downloads.immortalwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/telephony 21 | 22 | - 高通OPENWRT其他大佬项目: 23 | 24 | 下面的这些项目带nss加速,但是只支持官方的分区! 25 | 26 | https://github.com/JiaY-shi/openwrt.git 27 | 28 | https://github.com/qosmio/openwrt-ipq.git 29 | 30 | https://github.com/King-Of-Knights/openwrt-6.x.git 31 | 32 | 33 | ![微信截图_20241116071934](https://github.com/user-attachments/assets/617a2d49-0f51-485c-a20a-b25cde5a8e82) 34 | ![微信截图_20241116071804](https://github.com/user-attachments/assets/502012e5-83d0-4e4b-be8b-a53c1edd0f8b) 35 | -------------------------------------------------------------------------------- /bak/AX6-2/.config1: -------------------------------------------------------------------------------- 1 | # 定义固件硬件平台 2 | CONFIG_TARGET_qualcommax=y 3 | CONFIG_TARGET_qualcommax_ipq807x=y 4 | CONFIG_TARGET_qualcommax_ipq807x_DEVICE_redmi_ax6=y 5 | CONFIG_HAS_SUBTARGETS=y 6 | CONFIG_HAS_DEVICES=y 7 | CONFIG_TARGET_BOARD="qualcommax" 8 | CONFIG_TARGET_SUBTARGET="ipq807x" 9 | CONFIG_TARGET_PROFILE="DEVICE_redmi_ax6" 10 | CONFIG_TARGET_ARCH_PACKAGES="aarch64_cortex-a53" 11 | CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mcpu=cortex-a53" 12 | CONFIG_CPU_TYPE="cortex-a53" 13 | CONFIG_LINUX_6_6=y 14 | 15 | 16 | #dns设置,使用完整版。 17 | # CONFIG_PACKAGE_dnsmasq is not set 18 | # CONFIG_PACKAGE_dnsmasq-dhcpv6 is not set 19 | CONFIG_PACKAGE_dnsmasq-full=y 20 | CONFIG_PACKAGE_dnsmasq_full_dhcp=y 21 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 22 | CONFIG_PACKAGE_dnsmasq_full_dnssec=n 23 | CONFIG_PACKAGE_dnsmasq_full_auth=n 24 | CONFIG_PACKAGE_dnsmasq_full_ipset=y 25 | CONFIG_PACKAGE_dnsmasq_full_nftset=n 26 | CONFIG_PACKAGE_dnsmasq_full_conntrack=n 27 | CONFIG_PACKAGE_dnsmasq_full_noid=n 28 | # CONFIG_PACKAGE_dnsmasq_full_broken_rtc is not set 29 | CONFIG_PACKAGE_dnsmasq_full_tftp=y 30 | 31 | 32 | #禁用firewall4使用老版防火墙 33 | CONFIG_PACKAGE_firewall=y 34 | # CONFIG_PACKAGE_firewall4 is not set 35 | 36 | 37 | # Ipv6扩展支持 38 | CONFIG_PACKAGE_ip6tables-extra=y 39 | CONFIG_PACKAGE_ip6tables-mod-nat=y 40 | 41 | # passwall 关闭部分组件 42 | CONFIG_PACKAGE_luci-app-passwall=y 43 | CONFIG_PACKAGE_luci-app-passwall_Iptables_Transparent_Proxy=y 44 | # CONFIG_PACKAGE_luci-app-passwall_Nftables_Transparent_Proxy is not set 45 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Haproxy=y 46 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Hysteria is not set 47 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_NaiveProxy is not set 48 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Client=n 49 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Libev_Server=n 50 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Client=n 51 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_Rust_Server is not set 52 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Client=n 53 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_Libev_Server is not set 54 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Simple_Obfs=n 55 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_SingBox=y 56 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan_Plus=y 57 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_tuic_client is not set 58 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray_Geodata is not set 59 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray_Plugin=n 60 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray=y 61 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray_Plugin is not set 62 | 63 | #其他luci 64 | CONFIG_PACKAGE_luci-app-vlmcsd=n 65 | CONFIG_PACKAGE_luci-app-ddns-go=y 66 | CONFIG_PACKAGE_luci-app-uhttpd=y 67 | CONFIG_PACKAGE_luci-app-frpc=y 68 | CONFIG_PACKAGE_luci-app-socat=y 69 | CONFIG_PACKAGE_luci-app-mosdns=y 70 | CONFIG_PACKAGE_luci-app-alist=n 71 | CONFIG_PACKAGE_luci-app-ttyd=y 72 | CONFIG_PACKAGE_luci-app-upnp=y 73 | # theme 74 | CONFIG_PACKAGE_luci-theme-argon=y 75 | CONFIG_PACKAGE_luci-app-argon-config=n 76 | # vpn 77 | CONFIG_PACKAGE_luci-app-openvpn-server=y 78 | CONFIG_PACKAGE_luci-app-zerotier=y 79 | 80 | # other packages 81 | CONFIG_PACKAGE_zoneinfo-asia=y 82 | CONFIG_PACKAGE_openssh-sftp-server=y 83 | CONFIG_PACKAGE_luci-app-firewall=y 84 | CONFIG_PACKAGE_luci=y 85 | CONFIG_LUCI_LANG_zh_Hans=y 86 | CONFIG_PACKAGE_luci-compat=y 87 | CONFIG_PACKAGE_luci-lib-ipkg=y 88 | CONFIG_PACKAGE_unzip=y 89 | CONFIG_PACKAGE_miniupnpd=y 90 | CONFIG_PACKAGE_miniupnpd-iptables=y 91 | # CONFIG_PACKAGE_miniupnpd-nftables is not set 92 | 93 | #去掉源里关于nss的地址 94 | CONFIG_FEED_nss_packages=n 95 | CONFIG_FEED_sqm_scripts_nss=n 96 | 97 | # NSS Offloading 98 | CONFIG_ATH11K_NSS_SUPPORT=y 99 | CONFIG_ATH11K_NSS_MESH_SUPPORT=y 100 | CONFIG_PACKAGE_MAC80211_NSS_SUPPORT=y 101 | CONFIG_PACKAGE_kmod-qca-nss-drv=y 102 | CONFIG_PACKAGE_kmod-qca-nss-drv-bridge-mgr=y 103 | CONFIG_PACKAGE_kmod-qca-nss-ecm=y 104 | 105 | # Additional NSS packages (VLAN, Multicast Snooping, etc) 106 | CONFIG_PACKAGE_kmod-qca-nss-drv-vlan-mgr=y 107 | CONFIG_PACKAGE_kmod-qca-mcs=y 108 | 109 | # NSS SQM Traffic Shaping 110 | CONFIG_PACKAGE_sqm-scripts-nss=n 111 | 112 | # Disable unnecessary debugging for Wi-Fi driver. 113 | CONFIG_ATH11K_DEBUGFS_HTT_STATS=n 114 | CONFIG_ATH11K_DEBUGFS_STA=n 115 | CONFIG_ATH11K_THERMAL=n 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /bak/AX6-2/diy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Git稀疏克隆,只克隆指定目录到本地 3 | function git_sparse_clone() { 4 | branch="$1" repourl="$2" && shift 2 5 | git clone --depth=1 -b $branch --single-branch --filter=blob:none --sparse $repourl 6 | repodir=$(echo $repourl | awk -F '/' '{print $(NF)}') 7 | cd $repodir && git sparse-checkout set $@ 8 | mv -f $@ ../package 9 | cd .. && rm -rf $repodir 10 | } 11 | 12 | # Add packages 13 | #添加科学上网源 14 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall-packages package/openwrt-passwall-packages 15 | #git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall package/openwrt-passwall 16 | #git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 17 | #git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 18 | #git clone --depth 1 https://github.com/sirpdboy/luci-app-ddns-go package/ddnsgo 19 | #git clone --depth 1 https://github.com/sbwml/luci-app-mosdns package/mosdns 20 | #git clone --depth 1 https://github.com/sbwml/luci-app-alist package/alist 21 | #git clone --depth=1 https://github.com/kenzok8/small-package package/small-package 22 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-zerotier 23 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages vlmcsd 24 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-vlmcsd 25 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-socat 26 | #git_sparse_clone main https://github.com/kiddin9/kwrt-packages luci-app-openvpn-server 27 | 28 | # Remove packages 29 | #删除lean库中的插件,使用自定义源中的包。 30 | #rm -rf feeds/packages/net/alist 31 | #rm -rf feeds/luci/applications/luci-app-alist 32 | #rm -rf feeds/packages/net/mosdns 33 | #rm -rf feeds/luci/applications/luci-app-mosdns 34 | 35 | 36 | # Default IP 37 | #sed -i 's/192.168.1.1/192.168.2.2/g' package/base-files/files/bin/config_generate --------------------------------------------------------------------------------