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:52] admin [Add a hardware section for our device] |
technical:openwrt-meshdesk-file [2022/09/18 21:17] (current) admin [Review new hardware] |
||
|---|---|---|---|
| Line 41: | Line 41: | ||
| ===== Adjust the settings section accordingly ===== | ===== Adjust the settings section accordingly ===== | ||
| - | + | * There are two important options here to adjust | |
| - | * This have to match the value for hardware under the settings section | + | * **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 54: | Line 55: | ||
| </ | </ | ||
| * 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. | ||
| - | * The final tweak for the hardware in the config file is the interface that must be used as the id_if. | ||
| - | * It will typically be **eth0**. | ||
| - | * On devices like the MT7621 based boards it will typically be **wan**. | ||
| - | |||
| ===== Alarm On or Alarm Off? ===== | ===== Alarm On or Alarm Off? ===== | ||
| * We use the yellow LED as an alarm which means it has to light up when communication to the controller is down. | * We use the yellow LED as an alarm which means it has to light up when communication to the controller is down. | ||
| Line 73: | Line 70: | ||
| </ | </ | ||
| - | | + | ==== Review new hardware ==== |
| + | |||
| + | |||
| + | | ||
| ^ Item ^ Typical value ^ Comment | ^ Item ^ Typical value ^ Comment | ||
| Line 80: | 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 | | ||