×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

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

4 months 2 days ago
knro
Administrator
Administrator
Posts: 8382
Karma: 51
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #54308
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

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

3 months 3 weeks ago 3 months 3 weeks ago by vtanguay.
vtanguay
Senior Boarder
Senior Boarder
Posts: 45
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #54783
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.

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

3 months 3 weeks ago
stefanr
Senior Boarder
Senior Boarder
Posts: 43
Karma: 1
More
Topic Author
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #54785

vtanguay wrote: 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.


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

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

3 months 3 weeks ago
tsk1979
Fresh Boarder
Fresh Boarder
Posts: 12
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #54853
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?

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

3 months 3 weeks ago
vtanguay
Senior Boarder
Senior Boarder
Posts: 45
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #54930

vtanguay wrote: 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.


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 stefanr

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

3 months 2 weeks ago
aliljenb
Junior Boarder
Junior Boarder
Posts: 20
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #55283
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

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

3 months 1 week ago
limburg11
Senior Boarder
Senior Boarder
Posts: 55
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #55510
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

Celestron C9.25 on HEQ-5 with belt mod, Celestron SCT focuser, ASI294MC Pro, ASI290MM mini (off-axis guiding), Astroberry on RPi4b, PixInsight

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

2 weeks 5 days ago 2 weeks 4 days ago by Perunwit.
Perunwit
Fresh Boarder
Fresh Boarder
Posts: 7
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #59381
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 make 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
# 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 jabian

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

2 weeks 5 days ago
jabian
Senior Boarder
Senior Boarder
Posts: 54
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #59389
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

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

2 weeks 5 days ago 2 weeks 5 days ago by Perunwit.
Perunwit
Fresh Boarder
Fresh Boarder
Posts: 7
More
Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks #59390
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 jabian

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

Time to create page: 0.895 seconds