You are viewing a single comment's thread from:

RE: Raspberry Pi: IPFS-Node installieren (GUI-Version)

in #ipfs7 years ago

Eins habe ich jetzt noch nicht kapiert.
Wie greife ich jetzt auf die Weboberfläche von meinem PC aus zu und binde den Raspi
z.B. über IPFS Companion ein?
Wenn ich ip:5001/webui im Browser eingebe ist da nur
"Diese Website ist nicht erreichbar".

Sort:  

Habe die Lösung gefunden:
"Now the magic bit so pay attention
IPFS has been installed and is now running on you raspberry pi computer, you cannot access the webui at this point as it exist's on a remote computer. So tp get around this from a Laptop or Pc connected to the same network as the RPi we can use this clever little trick.

Open a NEW terminal on your Pc or laptop do this very important this step, this ensure's you not close the daemon already running, and that we setup previously.

ssh -L 5001:localhost:5001 aaa.bbb.ccc.ddd -l pi

If you followed all the above steps you will not need to be root (where a.b.c.d is the address on your network of your RPI)

What this does is to map your laptop/Pc localhost:5001 to aaa.bbb.ccc.ddd:5001 this is why you need to activate openssh-server in raspi-config earlier. So in your own chosen browser, chromium is fine on your laptop/Pc in the URL type localhost:5001/webui only you can access the user webui interface which should be on the same network as the RPi.

type in browser url
localhost:5001/webui
"

Ok, jetzt habe ich das Problem, daß das nur so lange läuft, so lange das Fenster offen ist.
Hat jemand einen Trick für mich?