编译Lede版本Openwrt

已废弃

由于对wireguard刚需,但手上的各路由器编译出lede都没法使用wireguard,难以解决,于是不再使用lede。转用官方openwrt+lede的一些包自己进行整合。

github action

lwabish/lede: Lean's OpenWrt source (github.com)

  • feeds.conf.default

      src-git helloworld https://github.com/fw876/helloworld
      src-git passwall https://github.com/xiaorouji/openwrt-passwall
      src-git cloudflarespeedtest https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest.git
      # 注意有依赖
      src-git cdnspeedtest https://github.com/immortalwrt-collections/openwrt-cdnspeedtest.git
  • github-actions

      on:
        push:
          branches: 
            - master
        # schedule:
        #   - cron: 0 20 * * *
        release:
          types: [published]
  • package/luci-app-openclash:vernesong/OpenClash: A Clash Client For OpenWrt (github.com)

  • feeds

      ./scripts/feeds update -a
      ./scripts/feeds install -a

配置

  • make menuconfig

  • ipv6

      Extra Packages->ipv6helper
  • openclash:luci-app-openclash

  • wireguard

      luci-proto-wireguard
      luci-app-wireguard
  • ssr-plus

  • luci-app-wol

  • cf-speedtest

      luci-app-cloudflarespeedtest
      Network  --->
      <*> cdnspeedtest.............. Getting the fastest ips to your network of CDN

刷写固件

initramfs为内存文件系统,用于临时的中间系统

最终要用squashfs-sysupgrade

opkg

编译刷完固件后,缺失的软件可以用opkg安装

参考

coolsnowwolf/lede: Lean's OpenWrt source (github.com)

OpenWrt Wiki Netgear R7800 (Nighthawk X4S AC2600)

OpenWrt Wiki Techdata: Linksys WRT32X v1 (venom)

在 macOS 内使用大小写敏感的 APFS 卷存储代码 | 计算机科学论坛 (learnku.com)

KFERMercer/OpenWrt-CI: OpenWrt CI 在线集成自动编译环境 (github.com)

文章目录