This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical:openwrt-meshdesk-file [2022/09/18 20:40] admin [Exploring our hardware] |
technical:openwrt-meshdesk-file [2022/09/18 21:17] (current) admin [Review new hardware] |
||
---|---|---|---|
Line 33: | Line 33: | ||
* With this info we can create a hardware section in / | * With this info we can create a hardware section in / | ||
- | |||
<code bash> | <code bash> | ||
config hardware ' | config hardware ' | ||
Line 40: | Line 39: | ||
option wifi_led ' | option wifi_led ' | ||
</ | </ | ||
- | | + | |
+ | ===== Adjust the settings section accordingly ===== | ||
+ | * There are two important options here to adjust | ||
+ | * **hardware** - have to match the value of a hardware | ||
+ | * **id_if** - have to match the interface specified in the **wan_network** file. | ||
<code bash> | <code bash> | ||
config settings ' | config settings ' | ||
Line 48: | Line 51: | ||
</ | </ | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Don't make the name of the hardware section more than 14characters. Longer names break things during deployment. | + | * Don't make the name of the hardware section more than 14characters. Longer names break things during deployment. |
+ | * Devices where the interface used in wan_network is eth0.1 simply use eth0 here. | ||
</ | </ | ||
* Later we will also use the value of **xiaomi_4a_100** to define the hardware on the controller. | * Later we will also use the value of **xiaomi_4a_100** to define the hardware on the controller. | ||
- | | + | ===== Alarm On or Alarm Off? ===== |
- | * It will typically be **eth0**. | + | |
- | * On devices like the MT7621 based boards it will typically be **wan**. | + | * Since we want the **yellow LED** to be off when the communication |
- | * Since we want the **yellow LED** to be off when the comms to the controller is fine we need to check what the current setup is. | + | |
<code bash> | <code bash> | ||
vi / | vi / | ||
#Look for this section | #Look for this section | ||
if(ok_flag)then | if(ok_flag)then | ||
- | internetLED(' | + | internetLED(' |
checkForContollerReboot(' | checkForContollerReboot(' | ||
else | else | ||
Line 67: | Line 70: | ||
</ | </ | ||
- | | + | ==== Review new hardware ==== |
+ | |||
+ | |||
+ | | ||
^ Item ^ Typical value ^ Comment | ^ Item ^ Typical value ^ Comment | ||
Line 74: | Line 80: | ||
| settings -> skip_radio_0 | | settings -> skip_radio_0 | ||
- | === Tweaks For Our Environment === | + | ===== Remember Your Environment ===== |
+ | * Finally you need to adjust some items to match up with your controller and its environment. | ||
* The following table lists some of the important items with comments | * The following table lists some of the important items with comments | ||
^ Item ^ Typical value ^ Comment | ^ Item ^ Typical value ^ Comment | ||
| internet1 -> disabled | | internet1 -> disabled | ||
- | | internet1 -> dns | cloud.radiusdesk.com | + | | internet1 -> dns | cloud.radiusdesk.com |
| internet1 -> protocol | https | Can be http or https | | | internet1 -> protocol | https | Can be http or https | | ||
| internet1 -> ip | 176.31.15.210 | Fallback when FQDN does not resolve on FQDN not used | | | internet1 -> ip | 176.31.15.210 | Fallback when FQDN does not resolve on FQDN not used | |