RADIUSdesk

logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:openwrt-prep [2022/09/16 21:29]
admin [Prepare The System]
technical:openwrt-prep [2023/12/27 18:46] (current)
admin
Line 1: Line 1:
-====== Prepare OpenWRT 22.03.x on Ubuntu 22.04 ======+====== Prepare OpenWRT 23.05.x on Ubuntu 22.04 ======
 ===== 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
 </code> </code>
 +==== 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.+  * You need to do this as a normal Linux user (not root). 
 +  * Here we create a folder for the **23.05.2** 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
 </code> </code>
  
 ===== Checkout the SDK ===== ===== Checkout the SDK =====
-  * Do a clean checkout of the OpenWRT repository.+  * Do a clean checkout of the OpenWrt repository.
 <code bash> <code bash>
 git clone https://git.openwrt.org/openwrt/openwrt.git git clone https://git.openwrt.org/openwrt/openwrt.git
Line 33: Line 36:
 git tag -l git tag -l
 </code> </code>
-  * We will be checking out the **v22.03.0** tag.+  * We will be checking out the **v23.05.2** tag.
 <code bash> <code bash>
-git checkout v22.03.0+git checkout v23.05.2
 </code> </code>
-  * Confirm that this **v22.03.0** is now checked out.+  * Confirm that this **v23.05.2** is now checked out.
 <code bash> <code bash>
 git branch git branch
Line 45: Line 48:
 ./scripts/feeds update ./scripts/feeds update
 </code> </code>
 +
 +===== Install the required packages =====
 +  * Ensure the following packages are installed since they are required by the MESHdesk package.
 +<code bash>
 +./scripts/feeds install coova-chilli
 +./scripts/feeds install luasocket
 +./scripts/feeds install libuci-lua
 +./scripts/feeds install curl
 +./scripts/feeds install -a -p routing 
 +./scripts/feeds install iwinfo
 +./scripts/feeds install luci
 +./scripts/feeds install luci-theme-material
 +./scripts/feeds install mosquitto
 +./scripts/feeds install lua-mosquitto
 +#For backward compatibility in 23.05 with older Luci libs
 +./scripts/feeds install luci-compat
 +#Add the iptables translator package to translate iptables to nftables
 +./scripts/feeds install  iptables-nft
 +#Add these Luci packages
 +./scripts/feeds install luci-lib-nixio
 +./scripts/feeds install luci-lib-jsonc
 +./scripts/feeds install luci-lib-json
 +./scripts/feeds install luci-lib-httpprotoutils
 +./scripts/feeds install luci-lib-httpclient
 +./scripts/feeds install luci-lib-base
 +#If you are going to implement OpenVPN tunnels
 +./scripts/feeds install openvpn-openssl
 +</code>
 +  * Everything is now prepared for us to add the MESHdesk package.
 +
 +[[technical:openwrt-meshdesk|OpenWRT 23.05.x with MESHdesk packages]]