×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 77
  • Thank you received: 1

Ok, I’ll run the astropi3 script again then for the IP setup. Or can I do it a quicker way?

But it’s just a normal Ethernet cable, right?

It was first time I booted after your script KDE told me that it would Update the software. I’ll let it do it next time then.

Thanks
SkyWatcher ED80 Pro
Skywatcher HEQ5 Pro with Rowan Belt Mod with EQDIR cable
ZWO ASI294MC Pro imaging camera
QHY5L-II-C guide camera on 50mm guidescope
DeepSkyDad AF3 autofocuser
Raspberry Pi 4 4GB running Kstars/Ekos
4 years 7 months ago #42571

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

  • Posts: 2876
  • Thank you received: 809
Yes I just use a normal ethernet cable
4 years 7 months ago #42572

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

  • Posts: 1067
  • Thank you received: 140
Hello,
Is there a way to get the script to use all four cores on the rpi4 CPU while running, (j4 or something) as it’s a bit slow and only uses one...as you can see in the picture
4 years 6 months ago #42596
Attachments:

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

  • Posts: 2876
  • Thank you received: 809
Yes, I updated the script last week to do that. Take a look at the make commands, they should all look like this now:

sudo -H -u $SUDO_USER make -j $(expr $(nproc) + 2)
The following user(s) said Thank You: Avocette
4 years 6 months ago #42599

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

  • Posts: 326
  • Thank you received: 49
My latest run on Monday the 4 cores were all brought into use at all times but only one at a time would reach 100%. The whole installation took two hours on the RPi4 4GB and incidentally four hours on the RPi3B+.
4 years 6 months ago #42600

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

  • Posts: 1067
  • Thank you received: 140
So how do I update your script that is already on my rpi, I know how to “git pull” in the Kstars folder to update that but how do I update the actual script I already have downloaded....just run “git pull” in the AstroPI3 folder..?.
4 years 6 months ago #42609

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

  • Posts: 2876
  • Thank you received: 809
oh yes absolutely. git pull is the method to update the script to the latest version since it is a git repo. The system update script should do that as well, but if you just want to update the script, git pull is the way to go.

I also fixed a samba issue yesterday. The Raspbian script was using the method I used to get samba working on an ubuntu system. But really it needed the method I used on Manjaro since the needed packages were not all in apt. Also the method I used on Manjaro was simpler, and I think I might just change all of them to go that route. . . So I changed the samba setup for raspbian. You will get all the recent updates by doing a git pull.
The following user(s) said Thank You: AstroNerd
4 years 6 months ago #42611

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

  • Posts: 2876
  • Thank you received: 809

Was this during the make commands when it was building the astro software? And did you update the script to the latest version first? It does seem to be much faster since this change.
4 years 6 months ago #42612

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

  • Posts: 326
  • Thank you received: 49
Was this during the make commands when it was building the astro software? And did you update the script to the latest version first? It does seem to be much faster since this change.[/quote]
Sorry - I now remember cronky wasn’t running during the make process! Apologies.
4 years 6 months ago #42620

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

  • Posts: 1067
  • Thank you received: 140
A option that I think would be good for this script, is to be able to chose between installing the latest nightly Kstars or the stable version, as personally I prefer the stable versions... but that is not a criticism at all as the script is superb.. :)
4 years 6 months ago #42628

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

  • Posts: 1067
  • Thank you received: 140
I also have noticed that USB thumb drives are no longer recognised after running this script.... any ideas how to get them back...??
4 years 6 months ago #42631

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

  • Posts: 2876
  • Thank you received: 809
Before, we disabled all drive mounting to allow DSLRs to connect with a config file, but the camera mounting should now be disabled in a different way, so you should be able to delete this file now.
Try this:

rm ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf
4 years 6 months ago #42632

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

Time to create page: 0.468 seconds