If one of your devices being managed by the LANCOM Management Cloud (LMC) is shown as “offline”, but is otherwise working normally, communication with the LMC is disrupted.
This article describes what steps for troubleshooting can be taken.
- LANconfig as of version 10.12 (download latest version)
- LANmonitor as of version 10.12 (download latest version)
- SSH client for command-line access (e.g. PuTTY)
1) Checking whether DNS can resolve the LANCOM Management Cloud:
1.1) Connect to the router’s CLI and enter the following sequence of commands:
- Enter the command tr # dns to start a DNS trace.
- Enter the command ping cloud.lancom.de to send a ping from the router to cloud.lancom.de.
The # character serves as a toggle. The command tr # dns will either start or stop the trace, depending.
In this example cloud.lancom.de cannot be resolved.
1.2) If the DNS cannot resolve cloud.lancom.de, you have to check whether the correct DNS server is being used:
- Check under IPv4 → DNS → Forwarding to see whether a non-existent or malfunctioning DNS server has been specified.
DNS forwarding takes precedence over all other DNS servers stored in the device and should be checked first.
- In the case of a plain Ethernet connection with static IP parameters, check whether the correct DNS server has been entered under Communication → Protocols → IP parameters → <name of the Internet connection>.
- In the case of a plain Ethernet connection with dynamic IP address assignment via DHCP from an upstream router, use LANmonitor to check whether the correct DNS server has been assigned. If the DNS server is not correct, contact the administrator of the upstream router or adjust the configuration yourself if you have access to it.
Alternatively, you can read out the IP parameters received from the DHCP server by means of the CLI command ls Status/DHCP-Client/WAN-IP-List/.
- Occasionally it can happen that the DNS servers assigned by the provider (statically or dynamically assigned) cannot be reached. In this case, enter a DNS forwarding under IPv4 → DNS → Forwarding to a DNS server of your choice.
- Enter the wildcard * for the Domain. This represents any number of characters. This enables the forwarding of all DNS queries.
- Set the Remote site to an IP address of a DNS server (in this example the Google DNS server).
2) Further steps:
If the device in the LMC appears as “offline” even though the DNS name cloud.lancom.de is being resolved, there are two ways to reconnect the device to the LMC.
With the two procedures described below, the device retains its current configuration!
2.1) The affected device is “Cloud ready” and was connected to the LMC using the “Cloud PIN” shipped with the device:
Restart the device. The device will then reconnect to the LMC.
2.2) The affected device was connected to the LMC using an activation code generated in the LMC (for “Cloud ready” and “not Cloud ready” devices):
Generate a new activation code as described in the techpaper LANCOM Management Cloud (LMC) Rollout in the section “Assignment by activation code”, and use this code to connect the device to the LMC. The device will then reconnect to the LMC.
The activation code used to connect the device to the LMC must be sourced from the project where the device is currently shown as “offline”.