This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
technical:openwrt-meshdesk [2022/09/17 17:37] admin [Updating the available packages] |
technical:openwrt-meshdesk [2023/12/27 19:20] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== OpenWRT | + | ====== OpenWRT |
| <WRAP center round info 90%> | <WRAP center round info 90%> | ||
| - | Follow these instructions to include the MESHdesk package on devices capable of running OpenWRT version | + | Follow these instructions to include the MESHdesk package on devices capable of running OpenWRT version |
| </ | </ | ||
| ===== Minimum Hardware Requirements ===== | ===== Minimum Hardware Requirements ===== | ||
| Line 55: | Line 55: | ||
| * The MESHdesk package is such a package. | * The MESHdesk package is such a package. | ||
| * The MESHdesk package is hosted on Github as part of a git repository. | * The MESHdesk package is hosted on Github as part of a git repository. | ||
| - | * This git repository also includes | + | * This git repository also includes the other items we will use with our firmware development (the Luci application and some additional files) |
| * Check out the **openwrt-meshdesk** package from the Github repository. | * Check out the **openwrt-meshdesk** package from the Github repository. | ||
| < | < | ||
| - | #Do this in the working directory e.g. cd 23.03.0 (on the same level as the openwrt directory) | + | #Do this in the working directory e.g. cd 23.05.2 (on the same level as the openwrt directory) |
| git clone https:// | git clone https:// | ||
| </ | </ | ||
| Line 95: | Line 95: | ||
| ===== Select Packages To Include With Firmware ===== | ===== Select Packages To Include With Firmware ===== | ||
| + | {{: | ||
| * The OpenWrt SDK has a cursors interface (much like Midnight Commander for the old school readers 8-O) | * The OpenWrt SDK has a cursors interface (much like Midnight Commander for the old school readers 8-O) | ||
| * To start this cursors interface up you need to cd from the working directory to the **openwrt** directory. | * To start this cursors interface up you need to cd from the working directory to the **openwrt** directory. | ||
| Line 110: | Line 111: | ||
| * The Mosquitto packages are for MQTT support. | * The Mosquitto packages are for MQTT support. | ||
| * The Batman packages are for mesh support. | * The Batman packages are for mesh support. | ||
| + | |||
| + | ^ Location | ||
| + | | Base system | ||
| + | | Kernel Modules -> Network Support | ||
| + | | Kernel Modules -> Netfilter Extensions | ||
| + | | Languages -> Lua |lua-mosquitto | ||
| + | | Languages -> Lua |**libiwinfo-lua** | ||
| + | | Languages -> Lua | **luasocket** | ||
| + | | Libraries | ||
| + | | Luci -> Collections | ||
| + | | Luci -> Modules | ||
| + | | Luci -> Applications | ||
| + | | Luci -> Themes | ||
| + | | Luci -> Libraries | ||
| + | | Luci -> Libraries | ||
| + | | Luci -> Libraries | ||
| + | | Luci -> Libraries | ||
| + | | Network -> Captive Portals | ||
| + | | Network -> File Transfer | ||
| + | | Network -> Firewall | ||
| + | | Network -> Routing and Redirection | ||
| + | | Network -> WirelessAPD | **wpad IEEE 802.1x Auth/ | ||
| + | | Network | ||
| + | |Network | ||
| + | |Network | ||
| + | |||
| + | * After you selected these packages you can save the configuration and issue **make** to build the firmware. | ||
| + | * The completed firmware will be located under the **openwrt/ | ||
| + | * In our case we will use // | ||
| + | * The firmware you just built will be standard OpenWrt in effect and you can flash your hardware as with normal OpenWRT then access it on **192.168.1.1**. | ||
| + | * Username and Password is **root** and **admin** for Luci and ssh. | ||
| + | * The next section will cover the files you have to attend to for the specific hardware tweaks. | ||
| + | |||
| + | ==== Note on Warnings | ||
| + | |||
| + | * When you issue the **make** command these warnings might pop-up. | ||
| + | * They are harmless and can be ignored. | ||
| + | <code bash> | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | WARNING: Makefile ' | ||
| + | make[2]: Entering directory '/ | ||
| + | make[2]: ' | ||
| + | make[2]: Leaving directory '/ | ||
| + | make[1] world | ||
| + | make[2] target/ | ||
| + | make[3] -C target/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Files to tweak ===== | ||
| + | Use ssh to gain access to the device in order to tweak these files. | ||
| + | |||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | * [[technical: | ||
| + | |||
| + | * Once the tweaks are completed we can test everything out. | ||
| + | * Log onto your device using Luci (http:// | ||
| + | * The following image shows how to point the device to the controller using the GUI. | ||
| + | {{: | ||
| + | * Point the device to your controller and reboot it. | ||
| + | * If all goes well it will show up in Unknown Nodes. | ||
| + | * If it is a new hardware type add it to the controller as described here: Hardwares (Again Once Off) | ||
| + | |||
| + | |||
| + | ===== The Production Built ===== | ||
| + | * If everything on the device work as intended you can use those tweaked files to build a final version of the firmware for the specific hardware. | ||
| + | * Copy the files to a temporary folder on the machine where you are building the firmware. | ||
| + | * Use the following as a lookup for the location inside the SDK where the tweaked files need to go. | ||
| + | |||
| + | ^On Device | ||
| + | |/ | ||
| + | |/ | ||
| + | |/ | ||
| + | |/ | ||
| + | |||
| + | * This brings us to the end of the page on how to build MESHdesk firmware for specific hardware. | ||
| + | |||
| + | |||