linien icon indicating copy to clipboard operation
linien copied to clipboard

Cannot connect to Redpitaya 250-12 with OS 2.00-30

Open Zacstein opened this issue 1 year ago • 9 comments

  1. The executable file linien-2.0.0.exe can successfully install linien-server on the redpitaya.
  2. ping and ssh success, but the connection always show time-out error.
  3. The command screen -ls shows no sockets, and after the command linien-server start, screen -ls still shows no sockets. Additionally, screen -r linien-server shows "not matching" error.

I have no idea about how to fix this problem. Thank you in advance!

Zacstein avatar May 04 '24 14:05 Zacstein

I forgot to update the README. Linien 2.0 uses systemd rather than screen for running the server. Please run linien-server status or check /root/.local/share/linien/linien.log for debugging.

You can also try to run the server directly with linein-server run.

bleykauf avatar May 13 '24 12:05 bleykauf

I forgot to update the README. Linien 2.0 uses systemd rather than screen for running the server. Please run linien-server status or check /root/.local/share/linien/linien.log for debugging.

You can also try to run the server directly with linein-server run.

image

Zacstein avatar May 14 '24 04:05 Zacstein

And I check the file linien.log, which is always empty.

Zacstein avatar May 14 '24 04:05 Zacstein

OK, so there is something wrong when deploying the gateware...

Could you please verify that the SH256 checksum of the gateware is 47bba375ba97bb1e9de0261844b2e527521bea795e3f6233e65247a0ba4a41bf?

You can do this by running

sha256sum /usr/local/lib/python3.10/dist-packages/linien_server/gateware.bin

Also, I just uploaded a new version yesterday. The old one had a severe bug related to the autolock.

bleykauf avatar May 14 '24 08:05 bleykauf

I change to use the new version linien-2.0.2.exe, but encounter new bug. dff74ed7e2ee4fc58fe4eb1aa252bb4

And I also verify the SH256 checkesum of the gateware, which is correct. 4de5b23c78b99402124775791d1aad4

Zacstein avatar May 15 '24 06:05 Zacstein

Edit: Sorry, its not the parameters.json that got corrupted but influxdb_credentials.json: Please delete it, rm /root/.local/share/linien/influxdb_credentials.json, and try again.~~

~~Looks like the parameters.json got corrupted due to the crash when uploading the gateware. Please delete it, rm /root/.local/share/linien/parameters.json, and try again.~~

bleykauf avatar May 15 '24 07:05 bleykauf

Thanks for your quick reply! I delete the json file, but the old bug apears..... aa8b8489564a8b94273d875f81ed563

2e3610134cbbeff0f9b0dc5d4fe6210

Zacstein avatar May 15 '24 08:05 Zacstein

That is odd. I did test specifically test with the same OS version and STEMlab 125-14 LN without any issue. I would not rule out some hardware issue. Do you happen to have another RP lying around that you could test on?

bleykauf avatar May 15 '24 08:05 bleykauf

Closing since it could not be reproduced.

bleykauf avatar Aug 13 '24 14:08 bleykauf