Openwrt自编译固件 相关学习链接

2021-10-09  本文已影响0人  Flying_x

1. 编译环境VMare 安装Ubuntu系统

1.1 Ubuntu系统扩展 /dev/mapper/ubuntu--vg-ubuntu--lv空间

问题源来:error:cannot create temporary directory【问题解决】error:cannot create temporary directory_流氓兔的博客-CSDN博客

2. 编译教程

3. 自定义配置

OpenWrt 编译 LuCI-> Applications 添加插件应用说明-L大【2021.10.8】 - OPENWRT专版 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)

看完这篇,自定义 OpenWrt/LEDE 路由固件不求人 - 少数派 (sspai.com)

如何编译自己需要的OpenWrt路由器固件_哔哩哔哩_bilibili

#03 软路由固件openwrt编译界面设置,详解L大的openwrt默认插件及插件推荐。编译openwrt进阶讲解,大雕Lead源码编译。make menuconfig - YouTube

关于编译OpenWrt固件中找不到luci-app-ssr-plus更新说明 - 毫无作为 (elstec.cn)

利用LEDE编译自己的OPENWRT固件-蓝浤的博客 (lanhome.com)

【2020-01-14 更新】OpenWrt入门编译 make menuconfig配置参考说明与自动生成脚本 - OPENWRT专版 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)

4. GitHub openwrt软件源

    - name: Clone source code
      env: 
        REPO_URL: https://github.com/coolsnowwolf/lede
        REPO_BRANCH: master
      run: |
        git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt
        cd openwrt
        echo "src-git ssrp https://github.com/fw876/helloworld.git" >> ./feeds.conf.default
        echo "src-git small https://github.com/kenzok8/small" >> ./feeds.conf.default
        echo "src-git kenzo https://github.com/kenzok8/openwrt-packages" >> ./feeds.conf.default
        echo "src-git jerryk https://github.com/jerrykuku/openwrt-package" >> ./feeds.conf.default
        echo "src-git lienol https://github.com/Lienol/openwrt-package" >> ./feeds.conf.default

lienol大的源有socat

5. VM安装openwrt

6. 其他注意事项

如何缩小固件体积 - OPENWRT专版 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)

去掉了luci-app没用的。你选择了某个luci-app的时候,会自动添加所有的直接和间接依赖项。你去掉了luci-app之后,所有的直接和间接依赖项并不会去掉。
现在能做的是,make distclean,然后再重新make menuconfig,再去make。

执行一次 rm -rf ./tmp && rm -rf .config 然后首次取消LUCI,会自动取消依赖的本体

少选固件!!!!非必须就别选!!要不然固件过大刷不上/刷上经常卡

本人需求:

  1. 多拨+负载均衡——syncdial+mwan3+mwan3 helper

  2. ipv6——ipv6 helper

  3. ipv6 nat——kmod-ipt-nat6、odhcp6c、odhcpd-ipv6only、一般选了ipv6 helper就自动选上了(注意检查)

  4. socat(ipv6端口转发)——lienol源的socat

  5. ssr+/vssr/passwall 三选一——别都选占空间,用一个就行

  6. 阿里云ddns——ddns已集成___记得选bind-host组件

  7. zerotier

  8. ttyd

  9. 添加主题 argon 18.06

  10. 添加编辑器 nano

  11. 【删】adbyby去广告

  12. 【删】UnblockNeteaseMusic——解锁网易云

上一篇 下一篇

猜你喜欢

热点阅读