• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EtherCAT Master: any options?
#40
(May-22nd-2019, 02:18 PM)Armin@netPI Wrote: Hello Andreas,

the point is as follows. The reason why you are getting access to portainer.io via "cifx0" but in the end this portainer.io not to DockerHub is the following:

If you remove the "eth0" or "wlan0" interface physically then the Host Linux will remove the DNS server from its local "/etc/resolve.conf" file.

If now portainer.io wants to request an image from "registry-1.docker.io" then the Host Linux cannot resolve this name and give you back an error like


Code:
Failure

Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 127.0.0.1:53: server misbehaving

And even if a container is started in Host and priviledge mode, it cannot access the file "/etc/resolve.conf" on the host, else you could easily insert a new DNS server entry like "nameserver 8.8.8.8" for example.


Armin

Hello Armin,

I did insert an nameserver 8.8.8.8 in /etc/resolv.conf in the host mode container (not the host system). This was the way to get DNS working in the container. Is there a way to get this line in the host systems /etc/resolv.conf?
My solution was now to additionally install Node-Red in the host mode container manually like described here https://nodered.org/docs/hardware/raspberrypi

The new issue now is that it seems that the NetPi crashes completely after a couple of hours of operation. This varies between 3 hours and 12 hours of operation. Last time when I observed that I could not connect to the container via ssh and I could not reach the Edge Gateway Manager web interface and got no ping to the device. Where should I start to investigate?

Thank you for your Help,
Andreas

Andreas
  Reply


Messages In This Thread
Answer - by maiorfi - March-31st-2018, 02:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-15th-2019, 09:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 10:41 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 01:49 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 01:54 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 02:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 03:03 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 03:10 PM
RE: EtherCAT Master: any options? - by andreash - April-17th-2019, 03:51 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-17th-2019, 05:38 PM
RE: EtherCAT Master: any options? - by andreash - April-19th-2019, 11:59 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-19th-2019, 01:26 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-20th-2019, 07:31 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-23rd-2019, 07:24 AM
RE: EtherCAT Master: any options? - by andreash - April-30th-2019, 01:17 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-30th-2019, 01:46 PM
RE: EtherCAT Master: any options? - by andreash - May-20th-2019, 05:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-20th-2019, 06:37 PM
RE: EtherCAT Master: any options? - by andreash - May-21st-2019, 09:43 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-21st-2019, 10:13 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 09:28 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:01 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:18 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:25 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:33 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 12:11 PM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 01:12 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 02:18 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 11:39 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 03:00 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 01:41 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 01:57 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 02:11 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 02:21 PM
RE: EtherCAT Master: any options? - by andreash - May-30th-2019, 05:04 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-30th-2019, 07:55 PM
Answer - by Armin@netPI - March-31st-2018, 06:07 PM
Answer - by maiorfi - April-4th-2018, 05:26 PM
Answer - by Armin@netPI - April-4th-2018, 06:53 PM
Answer - by Armin@netPI - April-19th-2018, 10:49 AM
Answer - by Jorgem - April-19th-2018, 10:50 AM
Answer - by Jorgem - April-20th-2018, 11:41 AM
Answer - by Armin@netPI - April-20th-2018, 12:53 PM
Answer - by Jorgem - April-20th-2018, 01:39 PM
Answer - by Armin@netPI - April-20th-2018, 05:39 PM
RE: Answer - by andreash - April-15th-2019, 06:38 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  NodeRed and EtherCAT Schranz 1 12 September-2nd-2019, 03:46 PM
Last Post: Armin@netPI
  EtherCAT Slave OP mode (netPI RTE3) mauroriva 1 113 June-20th-2018, 08:38 AM
Last Post: Armin@netPI
  Container IP address - Network Options kimsmyth 2 165 January-30th-2018, 11:04 AM
Last Post: kimsmyth

Forum Jump:


Users browsing this thread: 1 Guest(s)