This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
technical:openwrt-prep [2022/09/16 21:17] admin created |
technical:openwrt-prep [2023/12/27 18:46] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Prepare OpenWRT | + | ====== Prepare OpenWRT |
===== Prepare The System ===== | ===== Prepare The System ===== | ||
* This page will cover the preparation work for you to be able to build OpenWRT with the MESHdesk packages included. | * This page will cover the preparation work for you to be able to build OpenWRT with the MESHdesk packages included. | ||
Line 9: | Line 9: | ||
sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl unzip mercurial | sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl unzip mercurial | ||
</ | </ | ||
+ | ==== Location for the SDK ==== | ||
+ | |||
* Create the location for the SDK | * Create the location for the SDK | ||
* Our suggestion is to create a folder that will indicate the version of the firmware you'll be building. | * Our suggestion is to create a folder that will indicate the version of the firmware you'll be building. | ||
- | * Here we create a folder for the **22.03.0** release. | + | |
+ | | ||
<code bash> | <code bash> | ||
# Create the working directory | # Create the working directory | ||
- | mkdir 22.03.0 | + | mkdir 23.05.2 |
# Change to our working directory | # Change to our working directory | ||
- | cd 22.03.0 | + | cd 23.05.2 |
</ | </ | ||
+ | |||
+ | ===== Checkout the SDK ===== | ||
+ | * Do a clean checkout of the OpenWrt repository. | ||
+ | <code bash> | ||
+ | git clone https:// | ||
+ | </ | ||
+ | * This repository has various branches. To see which branches are available and which one we are currently set to use, issue the following command. | ||
+ | <code bash> | ||
+ | #We may first need to change our directory to the openwrt directory | ||
+ | cd openwrt | ||
+ | git branch -a | ||
+ | #Also to see the tags | ||
+ | git tag -l | ||
+ | </ | ||
+ | * We will be checking out the **v23.05.2** tag. | ||
+ | <code bash> | ||
+ | git checkout v23.05.2 | ||
+ | </ | ||
+ | * Confirm that this **v23.05.2** is now checked out. | ||
+ | <code bash> | ||
+ | git branch | ||
+ | </ | ||
+ | * Update the package feeds. | ||
+ | <code bash> | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | ===== Install the required packages ===== | ||
+ | * Ensure the following packages are installed since they are required by the MESHdesk package. | ||
+ | <code bash> | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | #For backward compatibility in 23.05 with older Luci libs | ||
+ | ./ | ||
+ | #Add the iptables translator package to translate iptables to nftables | ||
+ | ./ | ||
+ | #Add these Luci packages | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | ./ | ||
+ | #If you are going to implement OpenVPN tunnels | ||
+ | ./ | ||
+ | </ | ||
+ | * Everything is now prepared for us to add the MESHdesk package. | ||
+ | |||
+ | [[technical: | ||
+ | |||