• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatic setup of the netPI
#1
Hello,

as we need to setup some more netPi the question came up if there is a possibility of creating a script which will be automatically executed to setup the netPi.
(e.g. Load the Docker, setup the security, setup the network and so on..)

Best Regards
Patrick Bulach
  Reply
#2
Hello Partick,


netPI has a web UI a human is normally doing the configuration in a web browser session. But I can tell you that all commands called from a web browser can be "called" automated from remote over Ethernet from any other station if all the http(s) RESTapi commands are known.

The first recommendation I can give to you is a browser action recorder that replays made actions again and again. This can be used to make an automated rollout.
All you have to do is to install the CBA tool into Google Chrome browser. With it you can record all actions needed and then replay them later. Here is the tool that integrates into Chrome is 1 minute: https://chrome.google.com/webstore/detai...bbon?hl=en



The more complex recommended way is to write your own http(s) client application that is sending the relevant commands to the netPI. For that purpose you can review the http:// actions made by Chromium or Firefox and rewrite them in your own application and call them all from remote automated. This will work too. How you do it is described here: https://forum.hilscher.com/thread-317.html



Regards

Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Initial Setup of Control Panel with admin + admin thorws error Michi 4 3,228 January-28th-2022, 09:28 AM
Last Post: Michi
  netPI setup procedure tad 1 2,300 March-15th-2021, 05:48 AM
Last Post: Armin@netPI
  Automatic setup of NetPI (for production) Martin Serik 3 3,353 December-12th-2019, 03:23 PM
Last Post: Armin@netPI
  Setup trusted Docker registry on a Raspberry Pi to host netPI containers Armin@netPI 12 13,534 January-31st-2019, 06:47 PM
Last Post: Armin@netPI
  Problems with NTP setup adeeljsid 4 3,909 March-17th-2018, 06:42 AM
Last Post: Armin@netPI
  NTP setup (Network time protocol) zulliger@software-natives.ch 1 2,770 February-7th-2018, 09:05 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)