• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] WebConfig netpi-nodered-fieldbus
#9
well, I can start my deep investigations on monday first, not before.

node-red 0.20.x is out since 19'th or march. Since our container is rebuild on Docker Hub only in case its linux base image has been changed it could easily be april/may till a recompilation will bring up those incompatibilities we have detected now.

The fieldbus container has no ssh installed so doing something from remote will be difficult. But you have detected the embedded web console...

To install another version of node-red just call

Code:
npm install -g --unsafe-perm node-red@0.19.6

or 0.18.7 for the latest 18'th version.


The embedded console will be stopping to work on 1 minute idle unfortunately. We have a netPI software version v1.1.6.0 in work where this is corrected by the way.

If you want to post install ssh which makes life easier call (remember to map port 22 additionally next to 1880 and 9000 which requires to reload the container first of all)


Code:
apt-get update
apt-get install -y openssh-server
echo 'root:root' | chpasswd
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
mkdir /var/run/sshd

and edit the start script /etc/init.d/entrypoint and insert the following time whereever you want


Code:
/etc/init.d/ssh start &


restart the container then.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: WebConfig netpi-nodered-fieldbus - by JohnyD94 - May-4th-2019, 08:30 PM
RE: WebConfig netpi-nodered-fieldbus - by JohnyD94 - May-4th-2019, 09:18 PM
RE: WebConfig netpi-nodered-fieldbus - by JohnyD94 - May-4th-2019, 11:52 PM
RE: WebConfig netpi-nodered-fieldbus - by Armin@netPI - May-5th-2019, 05:52 AM
RE: WebConfig netpi-nodered-fieldbus - by JohnyD94 - May-5th-2019, 07:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,661 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  HTTP Request using Nodered DSongra 6 3,406 August-20th-2021, 11:44 AM
Last Post: Armin@netPI
  2 MAC addresses for fieldbus RJ45 ports tad 2 2,101 March-11th-2021, 01:17 PM
Last Post: tad
  Internet on the fieldbus-side COswald 21 9,086 March-1st-2021, 07:41 AM
Last Post: COswald
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,583 November-16th-2020, 01:35 PM
Last Post: alhammi
  NodeRed and EtherCAT Schranz 3 6,055 September-23rd-2020, 08:01 AM
Last Post: Armin@netPI
  Receive at startup additional data through the Fieldbus Port Schranz 1 2,810 September-10th-2020, 10:55 AM
Last Post: Armin@netPI
  Fieldbus Ports not working Schoko 13 8,523 June-29th-2020, 09:43 PM
Last Post: Armin@netPI
  [SOLVED] netPI with Raspbian Desktop firefly 8 5,654 November-28th-2019, 06:01 PM
Last Post: Armin@netPI
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 6 4,659 October-21st-2019, 10:30 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)