Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:hw:01-axon:lte [2020/11/10 16:17] avsetula |
en:hw:01-axon:lte [2023/07/11 15:09] (current) avsetula [Autoswitch feature] |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{page>en:hw:01-axon:replacement-of-axon-hidden}} | {{page>en:hw:01-axon:replacement-of-axon-hidden}} | ||
====== Axon LTE ====== | ====== Axon LTE ====== | ||
+ | <WRAP group 100%> | ||
+ | <WRAP half column 81%> | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
Looking for a guide how to get started with LTE on **Mervis IDE**? Please see [[en:sw:01-mervis:lte-configuration-hidden|this tutorial]], otherwise continue here. | Looking for a guide how to get started with LTE on **Mervis IDE**? Please see [[en:sw:01-mervis:lte-configuration-hidden|this tutorial]], otherwise continue here. | ||
+ | </WRAP> | ||
+ | </WRAP> | ||
+ | <WRAP half column 15%> | ||
+ | ;;# | ||
+ | <html><span class="dev-tag dev-axon">Axon</span></html> | ||
+ | ;;# | ||
+ | </WRAP> | ||
</WRAP> | </WRAP> | ||
Line 8: | Line 17: | ||
<WRAP center round info 80%> | <WRAP center round info 80%> | ||
- | Axon series controllers are shipped with the Mervis image by default. Mervis can be disabled or you can flash the open-source image manually. | + | Axon series units are shipped with the Mervis image by default. Mervis can be disabled or you can flash the open-source image manually. |
* [[https://kb.unipi.technology/files:software:os-images:00-start#axon_opensource_os|open-source image]] | * [[https://kb.unipi.technology/files:software:os-images:00-start#axon_opensource_os|open-source image]] | ||
* [[https://kb.unipi.technology/en:hw:01-axon:image|HOW-TO Flash the OS]] | * [[https://kb.unipi.technology/en:hw:01-axon:image|HOW-TO Flash the OS]] | ||
Line 16: | Line 25: | ||
- Insert a micro-sim supporting LTE data into the slot. | - Insert a micro-sim supporting LTE data into the slot. | ||
- | - Log-in to the controller via SSH (or SCP). | + | - Log-in to the unit via SSH. |
- Install unipi-lte package:<code> | - Install unipi-lte package:<code> | ||
sudo su | sudo su | ||
Line 24: | Line 33: | ||
- Edit file /etc/unipi/lte.conf. **APN setting is mandatory** (LTE service is turned off if this line in the file is missing or is commented). You can use built-in nano editor to do this. The APN parameter should be provided by your network operator, so ''internet'' is the default value. | - Edit file /etc/unipi/lte.conf. **APN setting is mandatory** (LTE service is turned off if this line in the file is missing or is commented). You can use built-in nano editor to do this. The APN parameter should be provided by your network operator, so ''internet'' is the default value. | ||
- In the same way, set the PIN parameter if SIM is PIN-protected. | - In the same way, set the PIN parameter if SIM is PIN-protected. | ||
- | - Restart your controller. Be patient, registration to the mobile network can take tens of seconds. When registered, NET LED lights up. | + | - Restart your unit. Be patient, registration to the mobile network can take tens of seconds. When registered, NET LED lights up. |
- During normal operation, "Mobile network" LED indicators SIM, NET, INT should be ON while blinking SIG indicates signal strength. | - During normal operation, "Mobile network" LED indicators SIM, NET, INT should be ON while blinking SIG indicates signal strength. | ||
- In case of any problem, check the Syslog for more info (you can use grep command to filter messages from the unipi-lte service). | - In case of any problem, check the Syslog for more info (you can use grep command to filter messages from the unipi-lte service). | ||
Line 33: | Line 42: | ||
Therefore, it is necessary to continually keep the metrics as positive non-zero values. This is ensured by a DHCP client when DHCP is active on the main network interface but **it must be assured manually if static IP is configured on the main interface** (as static routes have zero metrics as default). As an example, you can put a constant to the interface’s configuration file at ///etw/network/interfaces.d//. | Therefore, it is necessary to continually keep the metrics as positive non-zero values. This is ensured by a DHCP client when DHCP is active on the main network interface but **it must be assured manually if static IP is configured on the main interface** (as static routes have zero metrics as default). As an example, you can put a constant to the interface’s configuration file at ///etw/network/interfaces.d//. | ||
- | Then, the ///etw/network/interfaces.d/**eth0**// file for static IP configuration may look like: | + | Then, the ///etc/network/interfaces.d/**eth0**// file for static IP configuration may look like: |
<code> | <code> | ||
# Example static IP configuration for unit belonging to LAN | # Example static IP configuration for unit belonging to LAN | ||
Line 60: | Line 69: | ||
===== Useful hints ===== | ===== Useful hints ===== | ||
- | * for optimal signal strength **it is necessary to use an external antenna** installed in an open space (eg. outside any enclosures). External antenna is included in the package of each LTE controller - during the purchase, you can also choose between the default antenna with magnetic mount, or a larger one with on-wall mount. Both antennas can be also purchased [[https://www.unipi.technology/others-c42|separately]] | + | * for optimal signal strength **it is necessary to use an external antenna** installed in an open space (eg. outside any enclosures). External antenna is included in the package of each LTE unit - during the purchase, you can also choose between the default antenna with magnetic mount, or a larger one with on-wall mount. Both antennas can be also purchased [[https://www.unipi.technology/others-c42|separately]] |
* Operate both Wi-Fi and LTE simultaneously is not recommended. | * Operate both Wi-Fi and LTE simultaneously is not recommended. | ||
* The Ethernet interface is set as primary while the LTE acts as a backup by default. | * The Ethernet interface is set as primary while the LTE acts as a backup by default. |