Issue resolving dgw.torizon.io through a cellular connection with a startup script

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the context provided, it seems that the issue is related to DNS resolution when using the cellular interface (wwan0) without the Wi-Fi interface (mlan0) being active. Here are some steps you can take to troubleshoot and potentially resolve the issue:

  1. Check DNS Configuration for wwan0: Ensure that the cellular interface has proper DNS settings. You can check the DNS configuration by looking at the /etc/resolv.conf file or using the nmcli command if NetworkManager is managing your connections. Make sure that the DNS servers are correctly set for the cellular connection.

  2. Test DNS Resolution Independently: Try using the dig or nslookup command to resolve dgw.torizon.io using the cellular interface. This can help determine if the issue is specifically with DNS resolution on that interface.

  3. Review Routing Table: Use the ip route command to check the routing table when only the cellular interface is active. Ensure that there is a default route set for the cellular interface that allows it to handle outgoing traffic properly.

  4. Check for DNS Caching Issues: If there is a DNS caching service running on the system, it might be caching incorrect DNS information. Try flushing the DNS cache or temporarily disabling the caching service to see if it resolves the issue.

  5. Test with a Different DNS Server: Temporarily configure the cellular interface to use a public DNS server like Google’s (8.8.8.8) to see if that resolves the issue.

  6. Community Support: If the above steps do not resolve the issue, consider reaching out to community forums or technical support for Torizon. Other users or support staff may have encountered similar issues and can provide additional insights.

By addressing the DNS configuration and ensuring proper routing, you should be able to resolve the connectivity issue with the cellular interface.

Please, also check if these links can help you solve your problem:

Best Approach to Handle Priority of 3 Network Interfaces.