Skip to content

kuole-o/Actions-OpenWrt

 
 

Repository files navigation

欢迎来到 kuole 的 OpenWrt 云编译仓库

K2p MTK A1/A2 自用版

鸣谢

感谢以下朋友的指导

  • 感谢 garypang13 (TG_ID:翠翠🐻🔫)在电报群及私下的多次指导
  • 感谢 hyird (TG_ID:hyird)在电报群的多次指导

  • 这里的仓库,更改了web ip为:192.168.2.1。diy-part2.sh 下定义
  • network、shadowsocksr、wireless配置,引用了一个私库(私库:my-files 存放了 network、shadowsocksr、 wireless文件);使用需要配置个人令牌到这个仓库的secrets里
  • WiFi配置及密码,使用了上述wireless文件(适用于5.4内核,之前的版本得去mt下拷贝mt765*.dat文件);宽带账号密码使用了network文件;科学上网使用了shadowsocksr文件;
  • network、shadowsocksr、wireless文件来源:先注释掉.yml文件中的私库文件拷贝两行代码,刷上路由器配置完成后,ssh链接路由器拷贝 etc/config下的network、shadowsocksr、wireless文件。
  • root账号密码设置了本人自己的密码。diy/package/lean/default-settings/files/zzz-default-settings 下定义
  • .config配置文件是斐讯K2P 128MB(原装)的配置。如果使用本仓库,需要自己跑一遍make defconfig,选择自己的硬件。参考:coolsnowwolf/lede#2288

Actions-OpenWrt

LICENSE GitHub Stars GitHub Forks

Build OpenWrt using GitHub Actions

Read the details in my blog (in Chinese) | 中文教程

Usage

  • Click the Use this template button to create a new repository.
  • Generate .config files using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. )
  • Push .config file to the GitHub repository.
  • Select Build OpenWrt on the Actions page.
  • Click the Run workflow button.
  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.

Tips

  • It may take a long time to create a .config file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply search Actions-Openwrt in GitHub.
  • Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.

Acknowledgments

License

MIT © P3TERX

About

K2p MTK A1/A2 自用版

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%