Skip to content

Scripts that automate tedious tasks when dealing with OpenWRT routers.

License

Notifications You must be signed in to change notification settings

dazeb/OpenWRT-Automate

Repository files navigation

OpenWRT-Automate-BASH-Scripts 📜

Scripts that automate tedious tasks when dealing with OpenWRT routers. I made this because i was sick of copy pasting. Also there was some errors that needed fixing and new code for better stability. The OpenWRT code was old and a bit dated.

These scripts automate a lot fo what is in the tutorials. Just run the script and you will be updated when its complete. For the swap script make sure to be patient as it can take a while to create a 1gb swap.

Update 1 - The old documentation has some commands that have been improved in this first update. Added usb-modeswitch

What they do? 📢

usb-extroot.sh - this will format and setup any usb stick and set it to use extroot.

This means the USB stick will be mounted root and /overlay partitions so that there is more space to download packages. This is useful if your router has a very small amount of memory. See https://openwrt.org/docs/guide-user/additional-software/extroot_configuration for more info, the script basically follows the guide step by step and will gie you some output and information on what it is doing.

How to run

It is probably best to download and upload the script manually and upload it to the router yourself via ssh since cloning the repo will ask you for verification for github bla bla...

Just download the script and send it over SCP.

Once you have the script on the server use chmod +x usb-extroot.sh to make the script executable then run the script with ./usb-extroot.sh.

About

Scripts that automate tedious tasks when dealing with OpenWRT routers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages