This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Go to file
2025-06-03 06:36:22 +00:00
.devcontainer/ci-env devcontainer: Add development environment for gihub codespace 2023-10-30 23:34:26 +01:00
.vscode meta: VS Code: add "Git: Always Sign Off" setting 2024-10-03 17:18:51 +02:00
config Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
include Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
LICENSES
package Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
scripts Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
target Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
toolchain Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
tools Merge Official Source 2025-05-25 16:53:53 +08:00
.gitattributes .gitattributes: ignore some whitespace "violations" in .patch files 2024-12-12 11:01:56 +01:00
.gitignore gitignore: ignore local APK keys 2024-05-17 22:03:06 +03:00
BSDmakefile
Config.in Update QCA Source 2025-05-25 17:06:03 +08:00
COPYING
feeds.conf.default Merge remote-tracking branch 'imm/main' 2025-06-03 06:36:22 +00:00
Makefile build: include tests/Makefile if available 2024-06-17 17:51:31 +02:00
README.md Update README.md 2025-05-24 11:54:37 +08:00
rules.mk rules.mk: respect the empty CONFIG_HOST_FLAGS_OPT 2025-05-16 20:42:43 +02:00

适用于 IPQ系列设备的 OpenWrt 源码仓库

说明

对于以前IPQ系列想要使用OpenWrt系统只能放弃部分NSS功能亦或者使用相对老旧的内核在开源社区的努力下完善了这部分的支持
其中本库中融合了JiaY-shiqosmio两位大佬NSS支持的代码实现了这一功能以及使用了immortalwrt的luci、packages作为插件的支持,在此感谢大佬们的付出

目前已实现功能

Target NSS NAT 2.4G WiFi
NSS Offload
5G WiFi
NSS Offload
IPQ807X
IPQ60XX
IPQ50XX

Wiki


使用方法

云编译

本地编译

  • 不要用 root 用户进行编译⚠
  • 国内用户编译前最好准备好梯子
  • 默认登陆IP 192.168.1.1 密码 password
  1. 首先装好 Linux 系统, Ubuntu 20.04 LTS

  2. 安装编译依赖

    sudo apt update -y
    sudo apt full-upgrade -y
    sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
    bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
    git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
    libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
    mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils \
    rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
    
  3. 下载源代码,更新 feeds 并选择配置

    git clone --depth 1 --single-branch https://github.com/LiBwrt-op/openwrt-6.x.git
    cd openwrt-6.x
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make menuconfig
    
  4. 下载 dl 库,编译固件 -j 后面是线程数,为便于排除错误推荐用单线程)

    make download -j$(nproc)
    make -j1 V=s
    
  5. 二次编译:

    cd openwrt-6.x
    git fetch && git reset --hard origin/kernel-6.12
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make menuconfig
    make V=s -j$(nproc)
    
  6. 如果需要重新配置:

    rm -rf .config
    make menuconfig
    make V=s -j$(nproc)
    
  7. 编译完成后输出路径bin/targets

如果你喜欢这个项目的话别忘了点个Star

Stargazers over time

Stargazers over time