×

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

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • 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 5 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 5 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 5 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 5 months ago #63319

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

  • Posts: 463
  • 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 5 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 5 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 5 months ago by Tom.
3 years 5 months ago #63327

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

  • Posts: 2879
  • Thank you received: 813
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 5 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 5 months ago #63386

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

okay done. I managed to turn OFF the indi_rpicam option in cmakelist before it starts compiling. So my next question is will this cmakelist.txt change when performing git pull?

Thanks

Tom
3 years 5 months ago #63390

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

  • Posts: 2879
  • Thank you received: 813
So since you modified the cmakelists, if you do a git pull and nobody changes that file, then you are fine and it will merge with the other changes. But if somebody edits cmakelists,txt, you might have to undo your change or delete the file, or reset the repo before doing the git pull. You will know that it is a problem because it will refuse to git pull in that case.
3 years 5 months ago #63394

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

Also installed the Edimax EW-7811UTC. Surprisingly it works also with VNC viewer. Not all of the suggested builds on the Edimax site for driver installation seemed to succeed but the dongle work in any case and perhaps would have worked without.
3 years 5 months ago #63466

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

Time to create page: 1.196 seconds