×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Indi Remote Question

  • Posts: 211
  • Thank you received: 8
I think I want to use Indi remotely. I have a Raspberry Pi at my scope running Astroberry. I want to run KStars on my laptop (inside) and communicate with the Raspberry Pi wirelessly.

Reading the manual, section 7.6.2, I find this:

But running this command only brings a syntax error message on my Ubuntu 22.04 laptop
$ ssh -L 8624:192.168.86.61:8623
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command [argument ...]]

What am I doing wrong, and do I even need to be doing this to achieve my goal?
1 year 4 months ago #88467

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52

Replied by Gene N on topic Indi Remote Question

Hi Steve,

If your destination device is 192.168.86.61, also add it as 'destination'

ssh -L 8624:192.168.86.61:8623 192.168.86.61

Gene
1 year 4 months ago #88475

Please Log in or Create an account to join the conversation.

  • Posts: 270
  • Thank you received: 74

Replied by Toni Schriber on topic Indi Remote Question

Steve is right, your command lacks the destination.

I too, I'm using a SSH-tunnel into the observatory, with the following command
"ssh -fNL 8624:localhost:8624 user@destination"

Notes:
  1. "localhost" refers in fact to the remote machine "destination"!
  2. there is no need to change port number, so you can stay with 8624
  3. -f : go to background
  4. -N : noshell
  5. -L : local forwarding

BTW, why you want to use SSH? Are there any security issues? If not, you can access the port at the destination directly.
1 year 4 months ago #88477

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 8

Replied by Steve Cohen on topic Indi Remote Question

I guess the manual might need updating.
1 year 4 months ago #88481

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 8

Replied by Steve Cohen on topic Indi Remote Question


Thanks.

I don't actually need or want to use SSH which is why I asked in the OP if I actually needed to be doing this. But I could not find documentation about how to set things up with the Pi at the telescope and all the software on the laptop (except, of course, the Indi Server and astroberry). Can someone point me there?
1 year 4 months ago #88482

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52

Replied by Gene N on topic Indi Remote Question

Steve,

Moving data from indiserver CCD's captures across wireless to Kstars/Ekos is less than optimium even with a good wifi link, pretty bad with a marginal wifi link.

Thought about using VNC client with astroberry providing a wifi hotspot /vnc server?

Gene
1 year 4 months ago #88487

Please Log in or Create an account to join the conversation.

  • Posts: 211
  • Thank you received: 8

Replied by Steve Cohen on topic Indi Remote Question


Okay, time to fess up that I really don't understand any of this. I've been getting by without understanding fully what I am doing.
When I point my browser to astroberry.local/desktop, this brings up a web page that identifies itself as "astroberry - noVNC". What's with this "noVNC"? I've newer understood what that meant. It looks and feels like it IS VNC i.e. a "remote console" . If it isn't VNC then what is it?

How would this setup you are recommending work? And how does it differ from my current setup? It sounds as though it would do what I want. Basically, that's keeping all the files generated on my laptop, not my Pi.
1 year 4 months ago #88525

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 0.436 seconds