Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 590
» Latest member: hussein57728
» Forum threads: 555
» Forum posts: 2,851

Full Statistics

Latest Threads
netFIELD Compact Gateway ...
Forum: Hardware
Last Post: DSongra
February-27th-2023, 08:38 AM
» Replies: 10
» Views: 3,321
Forum is becoming read-on...
Forum: News
Last Post: Armin@netPI
February-19th-2023, 05:04 PM
» Replies: 0
» Views: 1,250
NIOT-E-NPIX-RS485
Forum: Software
Last Post: Armin@netPI
January-21st-2023, 05:20 PM
» Replies: 6
» Views: 4,488
netPI device series is di...
Forum: News
Last Post: Armin@netPI
January-21st-2023, 08:34 AM
» Replies: 0
» Views: 862
Forum "netHAT" is being c...
Forum: News
Last Post: Armin@netPI
December-21st-2022, 01:17 PM
» Replies: 0
» Views: 918
netFIELD Compact Gateway ...
Forum: Software
Last Post: Armin@netPI
December-20th-2022, 10:34 AM
» Replies: 1
» Views: 3,332
netPI not found in networ...
Forum: Hardware
Last Post: Armin@netPI
December-13th-2022, 11:40 PM
» Replies: 1
» Views: 3,481
Proxy Settings
Forum: Software
Last Post: Armin@netPI
December-5th-2022, 06:21 PM
» Replies: 9
» Views: 7,154
Node Red configuration
Forum: Software
Last Post: Armin@netPI
November-30th-2022, 05:14 PM
» Replies: 3
» Views: 1,793
443 port issue
Forum: Software
Last Post: LucioFiam
November-21st-2022, 05:39 PM
» Replies: 5
» Views: 2,307

 
  Raspi 3 + netHAT = netPI?
Posted by: vdupont - February-12th-2018, 01:37 PM - Forum: Software - Replies (4)

I would like to know if the Raspi 3 + netHat behave like the netPI when it comes to develop docker app.
I bought the netHat, with the goal of using it as my dev. environment, and keep the netPI as my "production" platform, so I can test and develop into the Raspi and then upload the docker containers directly into the NetPi.

Is there any kind of differences into using both? I understood the netPi is locked and secured into the host part, so no docker CLI access / SSH... but what about the hardware / drivers / access to NetX51? is it the same?

I'm waiting to receive both this week, so I want to be sure that I made the right choice buying them.
thanks.
Vincent


  Answer
Posted by: Armin@netPI - February-11th-2018, 08:16 AM - Forum: Software - No Replies

We found another nice paper on the internet, where Roberto Morabito from company Ericsson examined the Docker performance compared to a native system on a Raspberry Pi 2. He presented his results on 2016 IEEE Conference on Computer Communications Workshops.

His summary is: "Results show an almost negligible impact of the container virtualization layer in terms of performance, if compared to native execution".

Find his paper officially published here on the IEEE.org. Tip: if you have no account, you find his paper published on many other platforms as well where you can download the document right away.

[EDIT] Performance Document appended to this post. Also nice to read: https://hackernoon.com/another-reason-wh...7207dec27f



Attached Files
.pdf   1603.02955.pdf (Size: 901.76 KB / Downloads: 1)

  Used ports
Posted by: Armin@netPI - February-9th-2018, 01:36 PM - Forum: Software - No Replies

By default netPI listens to the following ports:

TCP:

  • Port 80,nginx -> web server / reverse proxy
  • Port 443,nginx -> web server / reverse proxy
  • Port 49152, upnpd -> UPnP daemon
UDP:
  • 123,ntpd -> Network Time Protocol daemon
  • 137,nbnsd -> Netbios Name Service
  • 1900, upnpd -> UPnP daemon
  • 5353, avahi-daemon -> Zeroconf
  • 60843, avahi-daemon -> Zeroconf temporary port
  • 36517, avahi-daemon -> Zeroconf temporary port
  • 41429, dnsmasq -> DNS proxy temporary port


  Custom NPIX modules
Posted by: Armin@netPI - February-9th-2018, 12:33 PM - Forum: Hardware - No Replies

NPIX modules tailored to your requirements - in which your ideas can add to the basic functions of netPI - is a service we offer.

What you need are three things:

  •    A PCBA
  •    A metal bracket
  •    Two screws

There are two options how to come to an own NPIX module:
  •    You share your idea with us. We make the design and take care of the whole production on a bid basis.
  •    You take care of the design. You deal with the metal bracket manufacturer. You do the production yourself.

For your reference you find the NPIX connector pinout document here and the board outline dcoument here. Also you find the user manual of the Hilscher designed NPIX modules in the "downloads" section here as well as a 3D model of the metal bracket within the provided netPI 3D CAD model.

Next to certain 3,3V, 5V, 24V and GND signals the remaining 36 pins of the NPIX connector are wired to the Broadcom CPU BCM2837 (Raspberry Pi chip) or the netX Industrial Network Controller (on netPI RTE 3 only). Roughly one half of the pins connects to the BCM CPU, the other to netX. With those connecting to BCM we set the focus on specific signals only. Connected are a UART, an I2C, an SPI and some GPIOs. Keep in mind that the BCM SPI0 signals are not available since they are used for communications between the BCM CPU and netX CPU.

Tell us about your project and we will come together to a solution. Mail your idea/concept to netpi@hilscher.com


  NTP setup (Network time protocol)
Posted by: zulliger@software-natives.ch - February-7th-2018, 07:09 PM - Forum: Software - Replies (1)

One of the first things you need to do, once a virgin NetPI3 got unboxed, is to setup NTP, according to the "netPI - Getting Started with the netPI" video. Otherwise, customers run into severe issues, such as not being able to run Docker containers. The reason for the need of NTP is obvious, but I wonder why doesn't the NetPI3 either:
- Setup a generic NTP by default, or
- Offer this setup in a kind of wizard, e.g. right after changing the password?
Is this an oversight? Are there any technical issues I don't grasp? Or is it planned, but you didn't yet had time to implement it?


  DHCP/DNS issue: Couldn't access NetPI3 out-of-the-box
Posted by: zulliger@software-natives.ch - February-7th-2018, 06:56 PM - Forum: Software - Replies (5)

Initially, when I connected my new NetPI3 to my LAN, I wasn't able to access it by the described instructions (opening the browser and enter the "name" mentioned on the sticker). I also couldn't "ping" it because the "name" could not be resolved.

After some debugging, I could resolve the issue by reconfiguring my router (pfsense): The DHCP-Server didn't automatically update the DNS entries. I can't remember the very details, because already some days past since then, but may claim is: I think that the way to initially access the NetPI3 is not working under all circumstances (possibly including some "pretty popular" ones, as my "pfsense" setup was quite virgin).

Question: Are you aware of that? If not, would it help if I reproduce the issue and provide more information on this?

Another possibly related question: In one of the forum posts you mention the Tcp/Udp ports opened by the NetPI3. According to that post, bonjour is running as well. Why? Can it be used as another option to initially access the NetPI3?


  General Forum Rules and Guidelines
Posted by: zulliger@software-natives.ch - February-7th-2018, 07:43 AM - Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform - Replies (3)

I'd like to keep up with new information. Therefore, I'd like to get notified by emails upon new forum entries. Either for each post and reply or just upon new posts or maybe as a daily summary (most preferred option). I couldn't find a way to setup this right now. Am I missing something? If not: Are you planning to implement such a feature?


  System software V1.1.0.0 out now!
Posted by: zulliger@software-natives.ch - February-2nd-2018, 08:10 PM - Forum: Software - Replies (2)

Thanks for the new system software. Installation worked like a charm.

Just today, I was looking for a new software, but did not look at the forum. Instead, I checked out https://www.netiot.com/netpi/industrial-...-on-netpi/. Over there, I clicked the "download"-link - but that link is broken (404). That made me think that no "public" software was yet released. Maybe it'd be good to fix the link.


  Container IP address - Network Options
Posted by: kimsmyth - January-29th-2018, 11:56 PM - Forum: Software - Replies (2)

Hello all, looking for a little advice, all I want is a RaspberryPi (with Codesys) container that I can set (and change afterwards) its IP address. What network option do I need when creating the container (Bridge, host, Container).


  Create own trusted Docker registry server
Posted by: Armin@netPI - January-27th-2018, 02:55 PM - Forum: Software - No Replies

netPI pulls images from trusted Docker registry servers only. Trusted servers provide a trusted certificate from an official Certificate Authority (CA) to rely on its digital signature. The most popular trusted Docker registry is Docker hub. But you can run trusted Docker registry servers yourself on-premise as well. We show you how.

Here is how you set up your own trusted Docker registry server with help of an official Certificate Authority such as Let's Encypt.

  • First you need a domain name (hostname) of your server. Get one from noip for example. Let's suppose you got a name mydockerregistry.ddns.net.
  • As next configure DynDNS service on your Internet Router as described here so that your router is reachable through your domain name over the internet.
  • Then set up a physical server. Run Linux on it for quick results. Ubuntu will do it.
  • Configure your Internet Router to forward the TCP ports 80 and 443 to the server. Port 80 is needed to demonstrate control over the domain during one time certification process. Port 443 is needed to run the Docker registry across.
  • For an automated certificate issuance you need a web server installed on your server. For quick results we recommend Nginx. To install it simply call sudo apt-get install nginx.
  • Additionally install CertBot, a software that is automatically requesting a certificate from Let's encrypt for your domain. On the web site select as software Nginx and as system Ubuntu and it will be providing you an installation instruction. Execute the proposed commands on your server.
  • During the procedure you will be asked for the domain name you want the certificate for. Enter your domain name mydockerregistry.ddns.net(our example) at this stage.
  • The certificates and keys will be genrated and stored on your server in the folder /etc/letsencrypt/live/mydockerregistry.ddns.net/. Port 80 forwarding on your Internet Router is no longer needed.
  • Now install Docker on your server as described here
  • The certificates and keys need a renaming and a merge so that the Docker registry can use them. Call
    cd /etc/letsencrypt/live/mydockerregistry.ddns.net/cp privkey.pem domain.keycat cert.pem chain.pem > domain.crtchmod 777 domain.crtchmod 777 domain.key
  • Finally run the Docker registry with the following docker command
    $ docker run -d \  --restart=always --name registry \  -v /etc/letsencrypt/live/mydockerregistry.ddns.net:/certs \  -v /opt/docker-registry:/var/lib/registry \  -e REGISTRY_HTTP_ADDR=0.0.0.0:443 \  -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \  -e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \  -p 443:443 \  registry:2
  • Now you are able to acess your Docker registry over mydockerregistry.ddns.net. e.g. call the command docker pull mydockerregistry.ddns.net/myimage for example to pull an image named myimage across the internet.
If you want to turn your Docker registry server into a local server you should close all forwarded ports in your Internet Router first and then add the hostname to your server's files /etc/hosts and /etc/hostnames e.g. 127.0.0.1 mydockerregistry.ddns.net(our example). Then run a local DNS server in your network translating the hostname to the local IP address of your server and that's it. All access to mydockerregistry.ddns.net are running now locally.