This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
md:openwrt-meshdesk [2021/11/11 05:30] – [wan_network] admin | md:openwrt-meshdesk [2022/03/14 12:15] (current) – [Select Packages To Include With Firmware] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenWRT 21.02.x with MESHdesk packages ====== | ====== OpenWRT 21.02.x with MESHdesk packages ====== | ||
- | <WRAP center round tip 90%> | + | <WRAP center round info 90%> |
Follow these instructions to build the MESHdesk firmware on devices capable of running OpenWRT version 21.02.x | Follow these instructions to build the MESHdesk firmware on devices capable of running OpenWRT version 21.02.x | ||
</ | </ | ||
Line 42: | Line 42: | ||
<code bash> | <code bash> | ||
#Do this in the working directory e.g. cd 21.02.0 | #Do this in the working directory e.g. cd 21.02.0 | ||
- | git clone git://git.code.sf.net/p/ | + | git clone https://github.com/RADIUSdesk/ |
</ | </ | ||
* The package has three main components. Each one is located in a unique folder. | * The package has three main components. Each one is located in a unique folder. | ||
- | - **zzz-MESHdesk** - This is the MESHdesk package which will be build by the SDK. | + | - **MESHdesk** - This is the MESHdesk package which will be build by the SDK. |
- **files** - This is the override structure containing files to override during the build process. | - **files** - This is the override structure containing files to override during the build process. | ||
- **luci-app-meshdesk** - This is the Luci application used to enable central control. | - **luci-app-meshdesk** - This is the Luci application used to enable central control. | ||
===== Copying the three components ===== | ===== Copying the three components ===== | ||
- | * The **zzz-MESHdesk** folder needs to be copied under the **package** folder (openwrt/ | + | * The **MESHdesk** folder needs to be copied under the **package** folder (openwrt/ |
<code bash> | <code bash> | ||
#cd to the working directory | #cd to the working directory | ||
- | cp -R ./ | + | cp -R ./ |
</ | </ | ||
* The **files** folder needs to sit directly under the **openwrt** folder (root level). | * The **files** folder needs to sit directly under the **openwrt** folder (root level). | ||
Line 85: | Line 85: | ||
===== Select Packages To Include With Firmware ===== | ===== Select Packages To Include With Firmware ===== | ||
* Select the following packages when building the firmware. | * Select the following packages when building the firmware. | ||
+ | * When selecting a package there are the options to build it as a module (M) or fully include it (*). | ||
+ | * **Make sure you select with the (*) option to fully include the package.** | ||
* Package names in bold are required. | * Package names in bold are required. | ||
* The Mosquitto packages are for MQTT support. | * The Mosquitto packages are for MQTT support. | ||
Line 90: | Line 92: | ||
^ Package | ^ Package | ||
- | | **zzz-MESHdesk** | + | | **MESHdesk** |
| kmod-batman-adv | Kernel Modules -> Network Support | Keep the default options | | | kmod-batman-adv | Kernel Modules -> Network Support | Keep the default options | | ||
| lua-mosquitto | | lua-mosquitto | ||
Line 116: | Line 118: | ||
* The next section will cover the files you have to attend to for the specific hardware tweaks. | * The next section will cover the files you have to attend to for the specific hardware tweaks. | ||
- | ===== Initial File Preperation | + | ===== Initial File Preparation |
* Use ssh to gain access to the device in order to tweak these files. | * Use ssh to gain access to the device in order to tweak these files. | ||
==== wan_network ==== | ==== wan_network ==== | ||
Line 171: | Line 173: | ||
</ | </ | ||
* Next look at the **/ | * Next look at the **/ | ||
- | <file bash network> | + | <file bash wan_network> |
config interface ' | config interface ' | ||
option proto ' | option proto ' | ||
Line 237: | Line 239: | ||
<WRAP center round tip 90%> | <WRAP center round tip 90%> | ||
- | * There is a growing list of existing sample **wan_network** files under the /// | + | * There is a growing list of existing sample **wan_network** files under the /// |
* They have a convention of **network_< | * They have a convention of **network_< | ||
- | * Simply copy that file over // | + | * Simply copy that file over // |
- | * Those files will have a matching existing hardware section in the // | + | * Those files will have a matching existing hardware section in the // |
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
==== meshdesk ==== | ==== meshdesk ==== | ||
Line 415: | Line 413: | ||
^On Device | ^On Device | ||
- | |/ | + | |/ |
- | |/ | + | |/ |
- | |/ | + | |/ |
- | |/ | + | |/ |
* This brings us to the end of the page on how to build MESHdesk firmware for specific hardware. | * This brings us to the end of the page on how to build MESHdesk firmware for specific hardware. |