Git Product home page Git Product logo

openwrt-actions's Introduction

自动构建斐讯 K2P/N1 OpenWrt 固件脚本

Automatically Build OpenWrt Firmware for PHICOMM K2P/N1

每周自动通过 Github Actions 进行云编译,并发布为当日日期版本

手动触发OpenWrt固件云编译 OpenWrt 固件自动云编译 GitHub release (latest by date) GitHub repo size GitHub All Releases

使用方法

  1. 将本项目 Fork 到自己帐号
  2. 修改 config 目录下的配置信息
  3. 每周自动编译,或按照下方手动出发方式进行编译

手动触发

  1. config 下创建架构目录,如 N1
  2. 目录中至少包含 .configsettings.ini 两个文件,分别代表 OpenWrt 配置信息及编译配置信息
  3. 若需要更多自定义,请自行增加 diyfilespatches 目录及 diy1.shdiy2.shorganizer.sh 三个文件
  4. Actions 中找到 手动触发OpenWrt固件云编译 这个项目,并点击右边的 Run workflow,在弹出的窗口内输入自己在 config 目录下创建的架构目录名称,必须区分大小写,随后点击绿色按钮即可

K2P配置

  1. 登录地址:192.168.1.2
  2. 登录帐号:root
  3. 登录密码:password

N1配置

  1. 登录地址:192.168.1.3
  2. 登录帐号:root
  3. 登录密码:password

N1写入emmc说明

  1. N1做好前期准备工作并配置U盘启动
  2. 将N1编译后的.img文件写入U盘制作启动盘
  3. N1断电并在靠近高清线的接口插入U盘后接通电源
  4. 使用网线或各种方法将PC与N1连接

安装

n1-install && reboot

更新

n1-update && reboot

恢复

tune2fs -L "D" /dev/mmcblk1p3 && reboot

插件说明

K2P插件

  1. arpbind
  2. autoreboot
  3. ddns
  4. flowoffload
  5. mtwifi
  6. ramfree
  7. upnp

N1插件

  1. aria2
  2. autoreboot
  3. baidupcs-web
  4. cifs-mount
  5. docker
  6. filebrowser
  7. filetransfer
  8. flowoffload
  9. netdata
  10. nfs
  11. passwall
  12. ssr-plus
  13. unblockmusic
  14. upnp
  15. vlmcsd
  16. vsftpd
  17. zerotier

特别说明

  1. 源码使用 https://github.com/coolsnowwolf/lede.git
  2. 插件使用 https://github.com/xiaorouji/openwrt-package.git
  3. N1打包使用 https://github.com/tuanqing/mknop.git
  4. N1下emmc写入使用 tuanqingflippy
  5. 代码参考 https://github.com/281677160/build-openwrt.git

openwrt-actions's People

Contributors

ylqjgm avatar

Watchers

 avatar

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.