Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

All Sky Camera Revisited


Gina

Recommended Posts

Yes, that's what I think too. 

BTW - Now in Ubuntu Mate on RPi connected via WiFi and Firefox is running fine now.  I'll try the script but as you say, doubt it will work and it so I'll comment out the dpkg check.

Link to comment
Share on other sites

gina@asc:~$ sudo apt-get install git
[sudo] password for gina: 
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
gina@asc:~$ sudo apt-get install git
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
gina@asc:~$ 

Hmm...  Now getting a problem earlier on!!

 

Link to comment
Share on other sites

MATE System Monitor shows PulseAudio and itself running only.  Processor is active though.

Edited by Gina
Link to comment
Share on other sites

Only difference closing Firefox made was to reduce memory useage.  Something is exercising the CPU and at quite a high rate.

Screenshot of System Monitor without Firefox running.

1575757857_Screenshotat2019-04-0211-36-41.png.4683f35bcad6d5d8fd104c630ab1007a.png

Link to comment
Share on other sites

Restarted the system and the CPU activity was low so tried the command again in Terminal and it worked :hello2:  Now to try the rest...

Link to comment
Share on other sites

Script finished and ready for rebooting.  At this point I can test it with the camera then go on to install my own focuser driver alterations.

  • Like 1
Link to comment
Share on other sites

Rebooted but now the GUI is not working - just showing four raspberries.  However, the WiFi is working and I have been able to SSH into the RPi from Mint.  A new IP address was allocated to the ASC so had to follow the instructions to clear the old allocation.

gina@Mint-Desktop ~ $ ssh gina@asc
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for asc has changed,
and the key for the corresponding IP address 192.168.1.249
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:IXWq4eb2asqYhAlMEYa8aymYYZ0RIuDmOrTrwhSPbug.
Please contact your system administrator.
Add correct host key in /home/gina/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/gina/.ssh/known_hosts:14
  remove with:
  ssh-keygen -f "/home/gina/.ssh/known_hosts" -R asc
ECDSA host key for asc has changed and you have requested strict checking.
Host key verification failed.
gina@Mint-Desktop ~ $ ssh-keygen -f "/home/gina/.ssh/known_hosts" -R asc
# Host asc found: line 14
/home/gina/.ssh/known_hosts updated.
Original contents retained as /home/gina/.ssh/known_hosts.old
gina@Mint-Desktop ~ $ ssh gina@asc
The authenticity of host 'asc (192.168.1.249)' can't be established.
ECDSA key fingerprint is SHA256:IXWq4eb2asqYhAlMEYa8aymYYZ0RIuDmOrTrwhSPbug.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'asc,192.168.1.249' (ECDSA) to the list of known hosts.
gina@asc's password: 
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.38-v7+ armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

0 packages can be updated.
0 updates are security updates.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

 

Link to comment
Share on other sites

It works!!  ?  Next is to load the Astroberry drivers, install my modifications, compile and install drivers.  ATM I only have the camera driver operational.

Here's a screenshot or two from the KStars FITS Viewer - camera sitting on a box in my living room.

1088802736_Screenshotfrom2019-04-0213-55-01.png.4e559236bde90da79b6946f80a2b2247.png193313365_Screenshotfrom2019-04-0214-15-15.png.e4f59ed45ae9c6f7b4df18b14ee2d3e7.png

Edited by Gina
Link to comment
Share on other sites

Think I'll save an image of the SD card before continuing.  I think there's a Linux app but forget what so I'll use my Win7 laptop and Win32 Disk Imager.

Link to comment
Share on other sites

Ran these commands.

sudo apt install cmake
git clone https://github.com/rkaczorek/astroberry-diy.git

Now need to do a bit of editing to remove unwanted drivers from Radek's Astroberry set as per my Tutorial  page Installing 3rd Party Drivers.

Link to comment
Share on other sites

Oh no I don't!!  Radek has already removed the unwanted drivers from his repository.  Except that I don't require his Focuser as I will install my own.  Doesn't hurt to leave it.  Less editing means less chance of errors!!

Link to comment
Share on other sites

I'll just go ahead and install the Astroberry Drivers as shown on the Astroberry github page.

sudo apt-get install cmake indi-full libindi-dev
cd astroberry-diy
mkdir build && cd build
cmake -DWITH_WIRINGPI=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

 

Edited by Gina
Link to comment
Share on other sites

That all worked ?  Then tried

indiserver -m 100 -vv indi_asi_ccd indi_rpifocus indi_rpibrd

In the Terminal to RPi and from Mint menu - ran KStars and Ekos and started INDI getting the Astroberry controls as expected in addition to the camera.

2042807077_Screenshotfrom2019-04-0215-43-02.png.ac566a59ca51a988fbcef565a1a71e39.png

Next job is to replace a couple of the Astroberry source files with my own versions (edited from the originals to suit my hardware).

Edited by Gina
Link to comment
Share on other sites

Shut down RPi, put card in Mint and replaced the rpi_brd.h and rpi_brd.cpp files with my own, renaming the originals just in case.  Ejected card and replaced it in RPi and powered up.  Now I'm getting "No route to host"!!  I haven't touched anything to do with the WiFi.

Link to comment
Share on other sites

That worked and I'm getting my custom controls.  Now for a cuppa before I connect up the hardware and test the focussing etc.  Also, it would be a good idea to back it up while I'm getting my cuppa.

193014185_Screenshotfrom2019-04-0216-17-29.png.f58ae5351b12589d7a9ce49c459a06ff.png1752632560_Screenshotfrom2019-04-0216-18-08.png.9e2357c5b78ed9c593d86e6e2f456591.png

Edited by Gina
  • Like 3
Link to comment
Share on other sites

Testing the focussing, I have a hardware fault.  Coarse and Fine work but not the Direction.  It's either the RPi or the A4988 driver module as the voltage on the Dir pin changes from 0.02v to 0.4v with the buttons.  So it's changing but not to 3.3v.  I'll try unplugging the driver module and test again with DMM.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.