Code Monkey home page Code Monkey logo

openwrt-k's Introduction

OpenWrt-K

GitHub Repo stars GitHub forks GitHub commit activity (branch) GitHub last commit (by committer) Workflow Status

OpenWRT软件包与固件自动云编译

目录

README:

  1. 固件介绍
  2. 更新日志

Wiki页面:

  1. 固件使用方法
  2. 仓库基本介绍
  3. 定制编译OpenWrt固件
  4. 常见问题

固件介绍

  1. 基于OpenWrt官方源码编译
  2. 自带丰富的LuCI插件与软件包(见内置功能)
  3. 自带SmartDNS+AdGuard Home配置(AdGuard Home 默认密码:password
  4. 随固件编译几乎全部kmod(无sfe),拒绝kernel版本不兼容(kmod在Releases allkmod.zip中,建议与固件一同下载)
  5. 固件自带OpenWrt-K工具支持升级官方源没有的软件包(使用openwrt-k命令)
  6. 提供多种格式固件以应对不同需求

内置功能

已内置以下软件包:

  1. LuCI插件:
    luci-app-adguardhome :AdGuardHome广告屏蔽工具的luci设置界面
    luci-app-argon-config:Argon 主题设置
    luci-app-aria2:aria2下载器
    luci-app-cifs-mount:SMB/CIFS 网络挂载共享客户端
    luci-app-ddns:动态 DNS
    luci-app-diskman:DiskMan 磁盘管理
    luci-app-fileassistant:文件助手
    luci-app-firewall:防火墙
    luci-app-netdata:Netdata 实时监控
    luci-app-netspeedtest:网速测试
    luci-app-nlbwmon:网络带宽监视器
    luci-app-opkg:软件包
    luci-app-openclash:可运行在 OpenWrt 上的 Clash 客户端
    luci-app-passwall:passwall
    luci-app-passwall2:passwall2
    luci-app-rclone:Rclone命令行网盘工具设置界面
    luci-app-samba4:samba网络共享
    luci-app-smartdns:SmartDNS 服务器
    luci-app-socat:Socat网络工具
    luci-app-ttyd:ttyd 终端
    luci-app-turboacc:Turbo ACC 网络加速
    luci-app-upnp:通用即插即用(UPnP)
    luci-app-usb-printer:USB 打印服务器
    luci-app-webadmin:Web 管理页面设置
    luci-app-wechatpush:微信推送
    luci-app-wireguard:WireGuard 状态
    luci-app-wol:网络唤醒
    luci-app-zerotier:ZeroTier虚拟局域网

  2. 其他部分软件包:
    ethtool-full:网卡工具用于查询及设置网卡参数
    sudo:sudo命令支持
    htop:系统监控与进程管理软件
    ipv6helper: ipv6-helper 脚本
    cfdisk:磁盘分区工具
    bc:一个命令行计算器
    coremark:cpu跑分测试
    pciutils:PCI 设备配置工具
    usbutils:USB 设备列出工具
    cloudflared:Cloudflare 隧道客户端暂不支持go 1.21

  3. LuCI主题:Argon

    • 以上软件包都在生成在Releases的package.zip文件中,可安装使用。
  4. 网卡驱动:
    kmod-8139cp
    kmod-8139too
    kmod-alx
    kmod-amazon-ena
    kmod-amd-xgbe
    kmod-bnx2
    kmod-bnx2x
    kmod-e1000
    kmod-e1000e
    kmod-forcedeth
    kmod-i40e
    kmod-iavf
    kmod-igb
    kmod-igbvf
    kmod-igc
    kmod-ixgbe
    kmod-libphy
    kmod-macvlan
    kmod-mii
    kmod-mlx4-core
    kmod-mlx5-core
    kmod-net-selftests
    kmod-pcnet32
    kmod-phy-ax88796b
    kmod-phy-realtek
    kmod-phy-smsc
    kmod-r8125
    kmod-r8152
    kmod-r8168
    kmod-tg3
    kmod-tulip
    kmod-via-velocity
    kmod-vmxnet3

固件预览

概览

概览

新版netdata实时监控

实时监控

DiskMan 磁盘管理

磁盘管理

Argon 主题设置

Argon 主题设置

AdGuardHome广告屏蔽工具

luci-app-adguardhome AdGuardHome

SmartDNS DNS服务器

SmartDNS

文件助手

文件助手

Socat网络工具

概览

Turbo ACC 网络加速

概览

ZeroTier虚拟局域网

概览

更新日志

2023.7.27: 添加多配置编译支持、移动README部分内容到wiki

感谢

感谢以下项目与各位制作软件包大佬的付出

openwrt-k's People

Contributors

chenmozhijin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-k's Issues

编译后Turbo ACC没有设置项

大佬你好,编译后的固件Turbo ACC里面没有设置项。

硬件J4125在PVE LXC下运行
OpenWrt 23.05.0-rc4 r23482-7fe85ce1f2
LuCI openwrt-23.05
branch git-23.236.53405-fc638c8

Screenshot-2023-10-11_190918

Screenshot-2023-10-11_191852

首先感谢大佬的工作流,真是太好用了,不知道能否修改sh文件增加自己想编译的包

非常感谢大佬的工作。确实非常好用。自己fork修改和删除一些包非常方便编译。
有一些问题想咨询下是否可以实现。
如果使用sh文件进行配置文件的生成,有些自己想安装的包没有下载,默认下载的是大佬自己的包仓库,不知道能否修改sh文件增加自己想编译的包,否则在sh勾选包的时候由于没有lu-app-包,没有将包编译进去,目前自己只能fork仓库手动修改工作流文件从别的仓库按照大佬的语法从别的仓库复制,然后再手动添加*.config,但是自己对某些包需要用那些附加包不太清除,有可能漏掉一些.config。

大佬麻烦看一下这日志什么情况

大佬你好,麻烦看一下这日志什么情况?编译了2次都是同一个错误而且是luci-app-mosdns/adguardhome,是编译adg就一定要编译mosdns吗?

2024-01-29T03:14:44.5972684Z Finding targets
2024-01-29T03:14:44.6182960Z no required module provides package github.com/AdguardTeam/AdGuardHome: go.mod file not found in current directory or any parent directory; see 'go help modules'
2024-01-29T03:14:44.6187974Z 
2024-01-29T03:14:44.6188213Z Building targets
2024-01-29T03:14:44.6236739Z go: cannot find main module, but found .git/config in /home/runner/work/OpenWrt-K/OpenWrt-K/workspace/openwrt
2024-01-29T03:14:44.6237847Z 	to create a module there, run:
2024-01-29T03:14:44.6238179Z 	cd ../../../../.. && go mod init
2024-01-29T03:14:44.6243183Z 
2024-01-29T03:14:44.6246940Z make[2]: *** [Makefile:84: /home/runner/work/OpenWrt-K/OpenWrt-K/workspace/openwrt/build_dir/target-x86_64_musl/adguardhome-0.107.43/.built] Error 1
2024-01-29T03:14:44.6249139Z make[2]: Leaving directory '/home/runner/work/OpenWrt-K/OpenWrt-K/workspace/openwrt/package/cmzj_package/luci-app-mosdns/adguardhome'
2024-01-29T03:14:44.6253024Z time: package/cmzj_package/luci-app-mosdns/adguardhome/compile#0.15#0.06#0.20
2024-01-29T03:14:44.6260170Z     ERROR: package/cmzj_package/luci-app-mosdns/adguardhome failed to build.
2024-01-29T03:14:44.6263627Z make[1]: *** [package/Makefile:128: package/cmzj_package/luci-app-mosdns/adguardhome/compile] Error 1
2024-01-29T03:14:44.6267775Z make[1]: Leaving directory '/home/runner/work/OpenWrt-K/OpenWrt-K/workspace/openwrt'
2024-01-29T03:14:44.6272711Z make: *** [/home/runner/work/OpenWrt-K/OpenWrt-K/workspace/openwrt/include/toplevel.mk:232: package/compile] Error 2
2024-01-29T03:14:44.6317895Z ##[error]Process completed with exit code 2.

`TMPDIR` directory is missing when running `config_build_tool.sh`, causing curl returns failure

很好用的workflow!👍

在执行到 config_build_tool.sh的第260行的时候,返回了错误,错误代码是23,原因是 以下代码的$TMPDIR目录不存在

curl -o $TMPDIR/openwrtext.config -s -L --retry 3 --connect-timeout 20  $DOWNLOAD_URL

俺还没有仔细研究这个目录为什么执行到此会不存在。$(mktemp -d)是可以正常运行的。发个issue也问问到底是我的环境问题还是脚本问题。

在extpackages里增加软件源却没有编译

x86_64中的extpackages与defaultextpackages中都增加了

EXT_PACKAGES_NAME[16]="ipip6"
EXT_PACKAGES_PATH[16]=""
EXT_PACKAGES_REPOSITORIE[16]="https://github.com/missing233/openwrt-ipip6"
EXT_PACKAGES_BRANCH[16]=""

查看actions日志发现ipip6包只解压了,但是并没有被编译

要怎样取消编译netdata?

大佬你好,在config(luci.config、other.config)里面netdata相关的都前面加#或者=n,另外build-openwrt.yml里面netdata相关的都删除了,固件编译完成后还是带有netdata这个插件。请教一下要怎样才能取消编译这个插件?谢谢

请问怎样添加软件源仓库?

想用ssr-plus和mosdns,编译时出现多个依赖提示which does not exist,在extpackages.config添加相关包又太多数量了。
要怎样添加软件源仓库?例如添加 https://github.com/kenzok8/small 仓库要怎么做?
谢谢

依赖错误提示:

[19](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:20)
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'mosdns', which does not exist
[20](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:21)
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'v2dat', which does not exist
[21](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:22)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'lua-neturl', which does not exist
[22](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:23)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'mosdns', which does not exist
[23](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:24)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'v2dat', which does not exist
[24](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:25)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'shadow-tls', which does not exist
[25](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:26)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'redsocks2', which does not exist
[26](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:27)
Error: 检查到软件包依赖问题,这极有可能导致编译错误,请前往build1检查软件包依赖步骤查看详情。
[27](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:28)
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'mosdns', which does not exist
[28](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:29)
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'v2dat', which does not exist
[29](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:30)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'lua-neturl', which does not exist
[30](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:31)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'mosdns', which does not exist
[31](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:32)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'v2dat', which does not exist
[32](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:33)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'shadow-tls', which does not exist
[33](https://github.com/smdx/OpenWrt-K/actions/runs/6976303524/job/18984585510#step:23:34)
WARNING: Makefile 'package/cmzj_package/luci-app-ssr-plus/Makefile' has a dependency on 'redsocks2', which does not exist

请教:如何修改可以编译通过https://github.com/asvow/luci-app-tailscale呢?

沉默大佬你好,我这两天在折腾 https://github.com/asvow/luci-app-tailscale,作者的编译需要先执行
sed -i '/\/etc\/init\.d\/tailscale/d;/\/etc\/config\/tailscale/d;' feeds/packages/net/tailscale/Makefile

请问可以将这段代码加到哪个位置呢,我现在加到fix_problem.sh的最后一行,不知道有效吗,还在编译中,要两个多小时,先跑来问问,对这个一窍不通

添加mosdns后提示缺少v2dat

Run TMPDIR=$(mktemp -d) || exit 1

WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'mosdns', which does not exist
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'v2dat', which does not exist
Error: 检查到软件包依赖问题,这极有可能导致编译错误,请前往build1检查软件包依赖步骤查看详情。
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'mosdns', which does not exist
WARNING: Makefile 'package/cmzj_package/luci-app-mosdns/Makefile' has a dependency on 'v2dat', which does not exist

大佬考虑采用这个PR来加速编译速度吗?

Discussed in #51

Originally posted by wanmyj October 31, 2023
coolsnowwolf/lede#7796
偶然发现lede的repo里有这个open的PR,好像采用了cache缓存工具链,我对action也不是很懂,不知道能不能应用到大佬的仓库里。

我看大家的action都是5hour左右,如果能降到一小时以内,会方便很多

编译出来的固件自带NAT66

具体表现为LAN侧设备虽然能分配到公网IPv6,但是测试IP地址时显示的IPv6地址是路由器bridge的IP或者WAN6的IP
不了解这个功能的开关在哪里,似乎官方firmware selector里的固件没有这个问题。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.