×
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 #42654

rlancaste wrote: One thing I should clarify for #2. If your laptop has an IP address on wifi, it might get a 192 address. That will make it less likely for it to connect to the Pi if it is not on a network and has a 169 address. Turning off your wifi on your laptop will force it to get a 169 address allowing them to start talking. Once you are connected, you can tell the pi to connect to a network, enter passwords, etc. And then disconnect your laptop form the Pi and turn back on your wifi. Then you can connect wirelessly.


When i tried the direct link my laptop’s WiFi was disabled, so only the direct link Ethernet connection was present. It was first after a while that I opened the WiFi connection again and logged on to the Pi to check IP etc.

One thing though, is that my MacBook Pro is without native Ethernet port. I use a Thunderbolt to Ethernet adapter from Apple. It works perfectly when connected to normal LAN and it gets an IP from the Raspberry Pi, so it should work - but it doesn’t.

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 #42656
Yes, that is precisely how I connect to my various pi's when I cannot do wifi. I use a usb c to ethernet dongle plugged directly into the pi and my MacBook Pro. I know that this works because I did it just a few hours ago in order to connect to my pi temporarily so that I could select the appropriate wifi network, enter my password, and get it on my home network. I'm imaging with my scope in the driveway and my laptop inside over wifi right now.

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

2 months 3 weeks ago 2 months 3 weeks ago by AstroNerd.
AstroNerd
Moderator
Moderator
Posts: 636
Karma: 1
More
AstroPi3 Scripts revised #42657

rlancaste wrote: Yes, the goal is not to disable mounting USB drives, the goal is to disable the auto mounting of DSLRs. We used to have this problem all the time. Mounting a DSLR prevents INDI from talking to the camera, so disabling the auto mount of the DSLR is essential. This setting is really a crucial one for a Raspberry Pi based imaging system since many folks use DSLRs. Jasem finally solved that in the Ubuntu MATE system by creating an INDI rules file that would prevent the auto mounting of DSLRs. For some reason, this did not work on Raspbian. If you read back through this thread, some users reported this problem, and then a solution was suggested. This solution was used for a short time, but then we found a better way to disable the DSLR automounting that did not affect flash drives. The file that you have is apparently a remnant of the initial solution I guess?

Do these lines exist in your rogue file?

[volume]
mount_on_startup=0
mount_removable=0

This is how we disabled the mounting of DSLRs initially. We created the file if it didn't exist and added those lines.


Well I am sorry to say it’s not left over from an old script, I only updated the script and re ran it yesterday and still WILL NOT recognise USB flash drives, so you have not solved this issue at all... this is ridiculous to have a system that won’t recognise USB drives, looks like I’m going to have to wipe the lot and build all from scratch then and not use the script.... :(
Those two lines do exist and have a 1 after them and not a zero, but still will not work with any type of hard or USB drive....tried everything
Why does the file keep re creating after I delete this is ridiculous......

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: 636
Karma: 1
More
AstroPi3 Scripts revised #42658
Well I am using a brand new script, from just yesterday...so no idea what’s going on but it’s no good to me if it won’t even see a USB drive..

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
stash
Gold Boarder
Gold Boarder
Posts: 307
Karma: 4
More
AstroPi3 Scripts revised #42664
OK I am not using RPI4 just a RPI3b+ BUT i am using RPI3b+ using Buster and you can certainly mount USB sticks as well as a DSLR.

Unfortunately I am using Indigo_server not Indi_server but the principle is the same as far as devices being mounted etc.

So long as the actions in the DSLR FAQ's are used INCLUDING GNOME stop automounting

jrlaffoon provided the following solution:
sudo rm /usr/share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
sudo rm /usr/share/gvfs/mounts/gphoto2.mount
sudo rm /usr/share/gvfs/remote-volume-monitors/gphoto2.monitor
sudo rm /usr/lib/gvfs/gvfs-gphoto2-volume-monitor

gsettings set org.gnome.desktop.media-handling automount false

The above works everytime - so far.

As you can see from attached screen captures there is a USB stick mounted (has Ubuntu Mate on it ) , no Canon mounts (which did appear before using above settings) and Indigo_server is running and being used by CCDCiel on another PC.

So unless there is something odd going on with RPI4 Kernel or whatever it should,one would think, still be the same or possible.
Note FYI I never switch on the DSLR or stick in the Stick until the system has booted.

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
Attachments:

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

2 months 3 weeks ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 691
Karma: 3
More
AstroPi3 Scripts revised #42668
AstroNerd:
I don't believe the script is setup to undo the disabled mounting.
The recent versions or the script however does address the mounting issues correctly if installed from scratch. My DSLR does not auto-mount, and my USB sticks do, as they should.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 636
Karma: 1
More
AstroPi3 Scripts revised #42671
Actually you may not believe this but It has been correctly installed from scratch, and still has the file that should not be there, so I am sorry but you are wrong...

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: 636
Karma: 1
More
AstroPi3 Scripts revised #42672
Good for you my friend, but mine does not work after using the script from scratch yesterday...

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 #42675
So just to be clear, that file didn't exist on my system, but it did exist on some other people's systems. There are other ways the file can be created. It is just a file with settings in it. As long as the settings are right for what you are trying to do, it is ok if it exists. Thats why I asked you what was inside the file. I believe if the settings are 1 as you described, then that means that the drives should mount. 0 was the setting I set them to to disable mounting.

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 #42682
One idea for you, try this:

sudo apt -y install usbmount

See if that helps.

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 #42684
I just tried the usbmount package I just mentioned. It makes mounting USB drives much better on Raspbian, and installing it did not make the DSLR automoumting come back because of those 4 files we deleted in the script. So this might be a good solution for you astronerd. If it is a good solution, I can also add it to the script, since it doesn't seem to have negative side effects so far.

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

2 months 3 weeks ago
AstroNerd
Moderator
Moderator
Posts: 636
Karma: 1
More
AstroPi3 Scripts revised #42690

rlancaste wrote: I just tried the usbmount package I just mentioned. It makes mounting USB drives much better on Raspbian, and installing it did not make the DSLR automoumting come back because of those 4 files we deleted in the script. So this might be a good solution for you astronerd. If it is a good solution, I can also add it to the script, since it doesn't seem to have negative side effects so far.


Makes no difference, I still Have the file and showing 1 as the setting an not zero, and the file exists in the same two places, so no idea, but to not be able to use a USB drive is ridiculous and so am scrapping the idea of the script altogether, as it does not suit my needs at all, also I have three other people on my Facebook group who have same issue and are also looking for alternative ideas...sorry but it does not work as it should... :)

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.722 seconds