×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks

  • Posts: 43
  • Thank you received: 25
Thanks for reading this far down.
I hope that my posts are useful to someone in the future.
Let me know if you had any use of it.

And also let me know if you have any suggestions for ways to do the same things a lot easier.
And feel free to post your own OPTIONAL steps in this thread that I and others can use to improve our Raspberry Pi4 setup even further.
The following user(s) said Thank You: Jasem Mutlaq, Rishi Garrod, Joaquin, Gustav Olav Lundby, mahesh
1 year 5 months ago #54295

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

Great job! Will sticky this! I'd like to point out that if you use the StellarMate App (at least one time), it would sync your time and location to that of the phone/tablet GPS. So no need to set that manually. Similarly, you can join WiFi network from the App itself.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 5 months ago #54308

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

  • Posts: 45
  • Thank you received: 1
First, I want to thank you for this great write up. Very easy to follow along without knowing what I'm doing (for parts of it). Question at step 2 of making almost everything off the SSD:

sudo rsync -avx / /ssd

After a long list of copied files, I get the following error:
rsync: write failed on "/ssd/lib/modules/4.19.115+/kernel/drivers/iio/pressure/bmp280-i2c.ko": Read-only file system (30)
rsync error: error in file IO (code 11) at receiver .c(374) [receiver=3.1.3]

Is his expected? Did I do something wrong? How should I fix?

EDIT: I must have done *something* wrong... I continued with the instructions and the thing will no longer boot... with or without the SSD.
Last edit: 1 year 4 months ago by vince.
1 year 4 months ago #54783

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

  • Posts: 43
  • Thank you received: 25

The command only copies everything from your root folder / to the /ssd folder.
If you mounted your SSD on the /ssd path then that should work.

However, I did not get the error message that you mention here so maybe it can also be different from SSD to SSD
1 year 4 months ago #54785

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

  • Posts: 13
  • Thank you received: 3
Hello

Raspberry Pi 4 now supports both data and power over USB port. I was wondering if we could simply connect a powered USB hub to USB C port and then connect devices through that. On R-Pi 4 forums it seems this is enabled in the firmware. How to do that with stellarmet? Any ideas?
1 year 4 months ago #54853

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

  • Posts: 45
  • Thank you received: 1

Thought I'd close the loop with this. I've resolved my issue. Again, I want to thank you for the guide it was very helpful for me.
For reference, it turns out the issue was insufficient power. I hadn't receive my powered USB hub yet so the SSD was plugged directly into the pi (powered by a cheapo wall wart). I got the exact same problem the second try. dmesg command revealed insufficient voltage. Tried again with the new hub and it copied all the files over.

When it was time to bootup, it still did not work because I use a Sabrent SATA USB adapter. After some reading, I used the quirks fix and now everything works great. I have a new adapter ordered.
Thanks again.
Vince
The following user(s) said Thank You: Stefan R.
1 year 4 months ago #54930

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

  • Posts: 28
  • Thank you received: 0
Thanks for a really good guide!
Wavemon is a nice tool to test WiFi Signal Strength:

$ sudo apt-get update
$ sudo apt-get install wavemon
$ wavemon
1 year 4 months ago #55283

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

  • Posts: 60
  • Thank you received: 6
Great guide, very helpful for Astroberry as well! Used it to install a SSD mounted at boot time, works perfectly. Lots of space now and fast, especially important for FireCapture when it writes the video files. On the SD card, this was nearly impossible.

I have two questions: How can I back up the SD/SSD combo to an external image file? It‘s a bit different from the situation with just a SD card. And how would I restore this backup, just in case?

Thanks and CS, Bernd
10" F5 Newton and 130mm F7 Apo on EQ6-R, ZWO EAF focusers, ASI294MC Pro, ASI183MM, Astroberry on RPi4b, PixInsight
1 year 4 months ago #55510

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

  • Posts: 11
  • Thank you received: 3
Thanks for an excellent guide !

One comment regarding external USB 3.0 Realtek WiFi. When I was configuring mine I had problems with building the source code. After some digging on this forum I managed to get it to work by running this set of commands:

sudo apt -y install raspberrypi-kernel-headers
sudo ln -s /usr/src/linux-headers-$(uname -r)/arch/arm/ /usr/src/linux-headers-$(uname -r)/arch/armv7l # this was the missing link that made it possible to build Realtek driver on StellarMate
sudo apt -y install git
sudo apt -y install gcc
cd /usr/src
sudo git clone https://github.com/EntropicEffect/rtl8822bu
cd rtl8822bu
sudo nano Makefile -l
# Update lines 100 and 101 to this and save the file:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
sudo make
sudo make install

I hope this will help others who experience the same problem

PS My WiFi dongle is connected through USB 3.0 passive hub
The following user(s) said Thank You: Joaquin
Last edit: 7 months 1 week ago by Perunwit.
1 year 1 month ago #59381

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

  • Posts: 166
  • Thank you received: 28
Could you give more details on the model of your wifi device ? I am searching for one with compatibility with stellarmate/raspbian
Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90
1 year 1 month ago #59389

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

  • Posts: 11
  • Thank you received: 3
It is the same one as posted on the first page

Flybiz USB3 WiFi adapter to get USB3 speeds (Chipset: Realtek 8812BU)
www.amazon.co.uk/gp/product/B07S23DBBY/
The following user(s) said Thank You: Joaquin
Last edit: 1 year 1 month ago by Perunwit.
1 year 1 month ago #59390

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

  • Posts: 2
  • Thank you received: 3
Should update to specify that with the new bootloader you can avoid using a microSD card entirely and boot and run off the external M.2 drive. I've got it working right now. One less failure point and allows you to do everything off the SSD.

Additionally, you can always keep an updated microSD card around in case of disk failure - but SSDs are pretty robust.

It's as simple as just blowing the Stellarmate image onto the SSD and then plugging it into the USB3 port on your Pi (I'm using a Pi4 for this). If your bootloader is post Sept 2020 and you have no microsd card in it'll boot directly off the SSD.

Reference: www.raspberrypi.org/documentation/hardwa...ypi/bootmodes/msd.md
The following user(s) said Thank You: Brad Snell, Jason Rickerby
9 months 3 weeks ago #65397

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

Time to create page: 1.635 seconds