×

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

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 2876
  • Thank you received: 809
Ok I made your recommended change, please see if it works better now.
3 years 4 months ago #63193

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

No apparent issues here. Phdlogviewer compiled without any issues.
3 years 4 months ago #63195

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

  • Ray
  • Ray's Avatar
  • Offline
  • New Member
  • New Member
  • HEQ5 , FS102 , ASI1600 MONO ASI183MC , 200 F5 NEWT
  • Posts: 7
  • Thank you received: 0

Replied by Ray on topic AstroPi3 Scripts revised

Solved the Link Local Ethernet failure.
I went back to the script , copied and entered these lines directly into the terminal;

nmcli connection modify "Wired DHCP Ethernet" ipv4.may-fail no
nmcli connection add type ethernet ifname eth0 con-name "Link Local Ethernet" autoconnect yes ip4 $IP/24

Ignored all of the advice about setting IPv4 in the client computer ethernet connection and set it all to auto

Used the Real VNC Vnc viewer and created a new connection ROCK64:0

And it works (but no internet )

A few things from the script failed to load. I think I manually installed Kstars again and set up shares for file access. So perhaps interruptions of some kind messed up the script in the first place.
Reentering the (possibly failed ) script elements manually seemed to work and saved setting up the PHD settings and calibration all over or editing out whole sections of the script and reloading.

Back to the night with the Tak and the HEQ5 and dithered mono subs minus the long cable .
3 years 4 months ago #63303

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

  • Ray
  • Ray's Avatar
  • Offline
  • New Member
  • New Member
  • HEQ5 , FS102 , ASI1600 MONO ASI183MC , 200 F5 NEWT
  • Posts: 7
  • Thank you received: 0

Replied by Ray on topic AstroPi3 Scripts revised

HMM . Seems like I can not get internet on ethernet with these settings until i change the Ethernet back from IPv4 static address in the Rock64 to auto. But then no Link Local Ethernet. So it seems I can have ethernet and link local ethernet connections for the Rock 64 or ethernet and internet but not all three.
3 years 4 months ago #63305

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

  • Ray
  • Ray's Avatar
  • Offline
  • New Member
  • New Member
  • HEQ5 , FS102 , ASI1600 MONO ASI183MC , 200 F5 NEWT
  • Posts: 7
  • Thank you received: 0

Replied by Ray on topic AstroPi3 Scripts revised

"In the new version, I put it in as a virtual network so that it shouldn't prevent ethernet from working with DHCP if you connect it to a router, but it will still keep the static IP running in the field if you need to connect to your laptop. At least this is my reasoning, have you found that this isn't true anymore?"
Is that the part in the script that mentions;

sudo --preserve-env bash -c 'cat > /etc/network/interfaces' <<- EOF
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
EOF

Maybe I could enter these lines in the terminal to ensure this is working?
3 years 4 months ago #63306

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

  • Ray
  • Ray's Avatar
  • Offline
  • New Member
  • New Member
  • HEQ5 , FS102 , ASI1600 MONO ASI183MC , 200 F5 NEWT
  • Posts: 7
  • Thank you received: 0

Replied by Ray on topic AstroPi3 Scripts revised

With a little patience all working now. Just slow to respond swapping ethernet to link local and reconnecting.
Works with link local static IP Ipv4 and with wired ethernet automatic plus Ipv4 IP "alternate"
Wired ethernet providing internet now.
3 years 4 months ago #63317

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

no idea why I am still getting this in Raspbian OS 64bit

[ 32%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/ekos/auxiliary/dustcap.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:1244: kstars/CMakeFiles/KStarsLib.dir/ekos/manager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1004: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
3 years 4 months ago #63319

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

  • Posts: 460
  • Thank you received: 69
I'm guessing... are you compiling with a "-j x" option that exceeds you available memory? On a 4G Odroid, I've had to cut back my compile processes to -j2 it seems.
The following user(s) said Thank You: Tom
3 years 4 months ago #63324

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

not only that, but i am also getting this when compiling indi-3rdparty

[ 95%] Linking CXX executable indi_rpicam
/usr/bin/ld: /opt/vc/lib/libmmal_core.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [indi-rpicam/CMakeFiles/indi_rpicam.dir/build.make:306: indi-rpicam/indi_rpicam] Error 1
make[1]: *** [CMakeFiles/Makefile2:3873: indi-rpicam/CMakeFiles/indi_rpicam.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
3 years 4 months ago #63326

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

How to exclude this indi_rpicam when compiling indi_3rdparty????

This is something I found when I search for answers, www.raspberrypi.org/forums/viewtopic.php?t=143539

Maybe someone can help up?

Thanks.
Last edit: 3 years 4 months ago by Tom.
3 years 4 months ago #63327

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

  • Posts: 2876
  • Thank you received: 809
Tom, I think I agree with Jerry, the first issue is probably that your system probably ran out of available memory or something similar. Do you have the zram option enabled and is zram running? How many GB of ram do you have?

For the rpicam issue, when I first saw your post, I suspected that it was a recent change in 3rd party that caused the failure. I thought maybe rpicam had been recently added or recently changed to cause the issue, but I took a look and it hasn't been changed in about 2 months. So I am not sure I understand why it would have the wrong symbols. What system are you using, is it armhf, arm-64 or something else? I would think the best solution would be to submit a bug report to either the author or rpicam or to the 3rd party INDI drivers repo so that whatever issue there is with that driver, it can get fixed.

My script by default builds all 3rd party drivers based on this cmakelists: github.com/indilib/indi-3rdparty/blob/master/CMakeLists.txt. If you want to turn off the building of any particular driver, you can either edit the cmakelists.txt file, or you can change the cmake build command in the script to turn off the driver(s) you don't want.
3 years 4 months ago #63338

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

Thanks Rob. Any guide on how to change the cmake build command in the script to turn off the driver(s) I don't want?

Actually, I am trying this Raspios arm64 image right now. downloads.raspberrypi.org/raspios_arm64/...os_arm64-2020-08-24/
3 years 4 months ago #63386

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

Time to create page: 1.024 seconds