找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4977|回复: 10

云编译openwrt经验总结

[复制链接]
发表于 2021-4-10 23:22 | 显示全部楼层 |阅读模式
本帖最后由 YouClock 于 2021-4-15 13:32 编辑

云编译教程及项目地址:使用 GitHub Actions 云编译 OpenWrt - P3TERX ZONE

插件中文对照地址:【新提醒】OpenWrt 编译 LuCI-> Applications 添加插件应用说明-L大【2021.3.15】 - OPENWRT专版 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)或者OpenWrt 编译教程及 LuCI -> Applications 添加插件应用说明 update -2019.12.21 · Issue #2415 · coolsnowwolf/lede (github.com)
好看主题:luci-theme-argon/README_ZH.md at master · jerrykuku/luci-theme-argon (github.com)


一、云编译自定义默认主题:修改[diy-part2.sh]文件
删除原主题:
rm -rf package/lean/luci-theme-argon

添加新的主题:
git clone 主题地址     如:git clone https://github.com/sypopo/luci-theme-atmaterial.git package/lean/luci-theme-atmaterial

取消bootstrap为默认主题:
sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap

修改bootstrap主题为atmaterial主题:
sed -i 's/更改前的主题名/更改后的主题名/g' ./feeds/luci/collections/luci/Makefile
sed -i 's/luci-theme-bootstrap/luci-theme-atmaterial/g' ./feeds/luci/collections/luci/Makefile

修改某一文件格式:
sed -i 's/更改前的信息/更改后的信息/g' ./要修改的文件的目录(可以用本地查看)


二、IPV6支持的配置(OpenWrt 编译教程及 LuCI -> Applications 添加插件应用说明 update -2019.12.21 · Issue #2415 · coolsnowwolf/lede (github.com)
支持 iPv6:
1、Extra packages ---> ipv6helper (选定这个后下面几项自动选择了

Network ---> odhcp6c
Network ---> odhcpd-ipv6only
LuCI ---> Protocols ---> luci-proto-ipv6
LuCI ---> Protocols ---> luci-proto-ppp



三、USB U盘挂载支持的配置(我测试是小米mini路由器)(openwrt编译系统加入USB驱动配置 - 百度文库 (baidu.com)
USB U盘挂载配置:
1. 添加USB相关支持
Kernel modules —> USB Support —> <*> kmod-usb-core.
Kernel modules —> USB Support —> <*> kmod-usb-ohci.
Kernel modules —> USB Support —> <*> kmod-usb-uhci.
Kernel modules —> USB Support —> <*> kmod-usb-storage. #安装usb存储设备驱动
Kernel modules —> USB Support —> <*> kmod-usb-storage-extras.
Kernel modules —> USB Support —> <*> kmod-usb2. ##usb2.0

2. 添加SCSI支持
Kernel modules —> Block Devices —> <*>kmod-scsi-core

3. 添加文件系统支持
Kernel modules —> Filesystems —> <*> kmod-fs-ext4 (移动硬盘EXT4格式选择)
Kernel modules —> Filesystems —> <*> kmod-fs-vfat(FAT16 / FAT32 格式 选择)
Kernel modules —> Filesystems —> <*> kmod-fs-ntfs (NTFS 格式 选择)

4.添加UTF8编码,CP437编码,ISO8859-1编码
Kernel modules —> Native Language Support —> <*> kmod-nls-cp437
Kernel modules —> Native Language Support —> <*> kmod-nls-iso8859-1
Kernel modules —> Native Language Support —> <*> kmod-nls-utf8

5. 添加自动挂载工具
Utilities —> Filesystem —> <*> badblocks  

Utilities ---> disc ---> <*> fdisk.................................... manipulate disk partition table
Utilities ---> <*> usbutils................................... USB devices listing utilities

6. 添加USB挂载
Base system —> <*>block-mount  
在线查看:OpenWRT编译make menuconfig配置及LUCI插件说明.xlsx - Microsoft Excel Online (live.com)

我编译的固件地址:openwrt云编译固件云编译小米R4A千兆breed直刷版参考:unkaer/Actions-OpenWrt-Xiaomi-R4A: 自己编译小米R4A千兆breed直刷版用 (github.com)

我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-4-10 23:26 | 显示全部楼层
回复可见就算了还要币……
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-11 00:04 | 显示全部楼层

回帖奖励 +2 币恩山币

回复可见就算了还要币……  不过还是学习下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-11 00:25 | 显示全部楼层

回帖奖励 +2 币恩山币

还是学习下把
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-11 01:57 | 显示全部楼层
怎样设置才不回复就可以可见
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-11 10:42 | 显示全部楼层
本帖最后由 山东膻羊肉 于 2021-4-11 10:44 编辑

学习下  虽然现在已经设置好每天凌晨3点自动编译后 release
更新:内容主题基于P3TERX的 可以不用购买了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-11 23:04 来自手机 | 显示全部楼层
学习了,很有用,感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-12 10:50 | 显示全部楼层

学习了,很有用,感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-21 16:12 | 显示全部楼层
还是学习下把
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-9-15 10:55 | 显示全部楼层
支持支持!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-1-23 12:08 | 显示全部楼层
学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 06:18

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表