×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

AstroPi3 Scripts revised

2 months 3 weeks ago
andefeldt
Senior Boarder
Senior Boarder
Posts: 46
More
AstroPi3 Scripts revised #42570

AstroNerd wrote: You sure do need a fan on the rpi4, don’t try and run without one as you will throttle the CPU...it’s a must in these little things.. :)


Yeah, I was a bit surprised about that, cause I’ve had multiple RP3’s with only passive cooling that never got hot. The RP4 was hot right after first boot of Rasbian. So I ordered a fan right away, should come today or tomorrow latest.

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
Controlled from Kstars/Ekos on Mac
The following user(s) said Thank You AstroNerd

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

2 months 3 weeks ago
andefeldt
Senior Boarder
Senior Boarder
Posts: 46
More
AstroPi3 Scripts revised #42571

rlancaste wrote: You can just re - run the script later to set up the static ip. You should really know what IP your computer self assigns to itself before doing this. It *should* be in the 169 range, but it is not guaranteed. That's easy to test, just:
1. disconnect your laptop from any network by going far away
2. (maybe) connect the ethernet cable between the pi and your laptop (This may or may not be needed to make it give itself an IP)
3. Take a look at what IP address your computer self assigns.

Do you mean that it wanted to update the software before or after you ran the script? One of the steps in the script is to update everything. So I would be surprised if it had another update after that. But yes, you can let it update things if you like.

Be sure to test everything inside thoroughly before going out under the sky. Do it with the simulators, and then later do it with real equipment. Then try doing a real observing session.


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
Controlled from Kstars/Ekos on Mac

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

2 months 3 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Topic Author
AstroPi3 Scripts revised #42572
Yes I just use a normal ethernet cable

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 637
Karma: 1
More
AstroPi3 Scripts revised #42596
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

Stellarmate OS BETA on Raspberry pi4b
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
Attachments:

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

2 months 3 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Topic Author
AstroPi3 Scripts revised #42599
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

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

2 months 3 weeks ago
Avocette
Senior Boarder
Senior Boarder
Posts: 69
More
AstroPi3 Scripts revised #42600

rlancaste wrote: 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)

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+.

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to AstroPi3 Script
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 637
Karma: 1
More
AstroPi3 Scripts revised #42609
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..?.

Stellarmate OS BETA on Raspberry pi4b
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes

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

2 months 3 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Topic Author
AstroPi3 Scripts revised #42611
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

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

2 months 3 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Topic Author
AstroPi3 Scripts revised #42612

Avocette wrote:

rlancaste wrote: 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)

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+.


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.

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

2 months 3 weeks ago
Avocette
Senior Boarder
Senior Boarder
Posts: 69
More
AstroPi3 Scripts revised #42620
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.

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to AstroPi3 Script
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 637
Karma: 1
More
AstroPi3 Scripts revised #42628
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.. :)

Stellarmate OS BETA on Raspberry pi4b
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 637
Karma: 1
More
AstroPi3 Scripts revised #42631
I also have noticed that USB thumb drives are no longer recognised after running this script.... any ideas how to get them back...??

Stellarmate OS BETA on Raspberry pi4b
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes

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

Time to create page: 0.345 seconds