Skip to content

nate235/Action_OpenWRT_AutoBuild_Linksys_Devices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenWRT

GitHub Action Script Custom Modded By Eliminater74

Original from P3TERX

Created to make building OpenWRT easier using github actions.

LinksysWRT3200ACM

Notes:


GitHub Downloads

Latest Release Downloads:

GitHub Downloads

Total Downloads:

GitHub Downloads

Actions-OpenWrt

Visits Badge

Cleaning

Build OpenWrt Snapshot (TESTING)

Build OpenWrt Snapshot (TESTING)

Repo Updated:

Updated Badge

Your Repository’s Stats


INSTRUCTIONS FOR USE:

Use Template or fork Github,

once you have it, then git clone it to your linux box. Yes I think its possible to use the windows ubuntu. But dont quote me on that..

anyhow, after you do that

clone openwrt github to your linux box as well..

then inside the Action github, copy this:

From: CONFIGS Dir:

  • patches <----- Directory Copy whole Dir

  • feeds.conf.default

  • wrt3200acm.config <---- in my case,

NOTE: I could personally copy the above wrt3200acm.config no matter what device your running on, and make changes from that config, since its always updated to latest test.. you can just change the device from within the menuconfig for your device.

From SCRIPTS Dir:

  • manual-generate.sh

  • diy-part1.sh

  • diy-part2.sh

  • lean_packages.sh

  • sirpdboy-package.sh

  • DevOpenWRT-Router.sh

Copy all the above files and or Dir's to root of cloned openwrt,

then type

  • ./manual-generate.sh

and sit back and wait till you see the menuconfig startup screen.. then make your changes and save as your device name that you see in configs dir. once you understand what ypur doing, you can edit: manual-generate.sh to rename your device .config file and not the wrt3200acm.config .

For now use the wrt3200acm.config and make your changes from there. once you have your device config,\copy it over to the Action github under CONFIGS, push back to git;

then run your Action workflow. and wait.. about 4 - 5 hours.. possibly less.


Build OpenWrt using GitHub Actions

Instructions (Use Translater)

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.

Usage

  • Click the Use this template button to create a new repository.
  • Select macOS (tmate) or Ubuntu (tmate) on the Actions page.
  • Click the Run workflow button.
  • Get the connection info in the log.

TIPS

  • Note that your repo needs to be public, otherwise you have a strict monthly limit on how many minutes you can use.
  • Your session can run for up to six hours. Don't forget to close it after finishing your work, otherwise you will continue to occupy this virtual machine, making it impossible for others to use it normally.
  • Please check the GitHub Actions Terms of Service. According to the TOS the repo that contains these files needs to be the same one where you're developing the project that you're using it for, and specifically that you are using it for the "production, testing, deployment, or publication of [that] software project".

Advanced

SSH by using ngrok

Click the Settings tab on your own repository, and then click the Secrets button to add the following encrypted environment variables:

  • NGROK_TOKEN: Sign up on the https://ngrok.com , find this token here.
  • SSH_PASSWORD: This password you will use when authorizing via SSH.

Send connection info to Telegram

Click the Settings tab on your own repository, and then click the Secrets button to add the following encrypted environment variables:

  • TELEGRAM_BOT_TOKEN: Get your bot token by talking to @BotFather.
  • TELEGRAM_CHAT_ID: Get your chat ID by talking to @GetMyID_bot or other similar bots.

You can find Telegram Bot related documents here.`

Acknowledgments

LICENSE GitHub Stars GitHub Forks