×

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

Bi-monthly release with minor bug fixes and improvements

Help - Unable to connect Zwo ASI 1600MM

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic Help - New to Astoberry

Might also add, as I don't know whether this is installed automatically with the image or not, but in any case, for the Pi4 you'll want to install the rpi-eeprom package as ensure that your Pi is completely updated (requires Internet access, so an ethernet cable is again, probably a must to start with):

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install rpi-eeprom
$ sudo rpi-eeprom-update

The EEPROM updates fix several power consumption and heat issues with the Pi4, and I would expect there will be quite a few software updates to the Raspbian base of Astroberry since the image, which might resolve your issues.

rpi-eeprom-update runs at boot, but requires Internet access to check whether a new EEPROM image has been released, so if that isn't present you won't be updating.

If this resolve or helps to resolve your Wireless issues then subsequently you'll be able to get new updates over your WiFi Internet.
4 years 23 hours ago #52550

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic Help - New to Astoberry

I am a little confused...
So when you are logged Onto the Astroberry via the hotspot as shown above, then you can access the unit, so why do you need to add more wifi details, you don’t need too as you are using the hotspot, but if you then change from the hotspot so the pi connects to your home Wi-Fi, then you make sure your PC is connected to that same Wi-Fi.... ??
I don’t see your problem...
4 years 22 hours ago #52556

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic Help - New to Astoberry


I was assuming that after setting his Astroberry to connect to his Wifi Network and rebooting the Astroberry Pi was crashing or, at least, not joining his Wifi Network.
4 years 22 hours ago #52558

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

  • Posts: 46
  • Thank you received: 1
Hi,

Thanks for all the replies most of which I understand.

From a power point of view everything I'm using is official RPI.

I have read about the wireless using 2.4ghz but their is nothing I can do to my router to alter this, my router is a BT home hub 2 and you cannot split the 2.4ghz from the 5ghz.

I may be going about this the wrong way, as stated this is a steep learning curve for me and I'm stupid :).

What I am trying to achieve is to be able to operate my telescope mount and hopefully all the imaging equipment from my laptop whilst I am sat in my house with the telescope etc at the bottom of my garden. My idea was to set up my RPI 4 with Astroberry and have this in a weatherproof box at my mount. On my mount I have a powered USB 3.0 hub and I was going to run one USB 3.0 cable back to the RPI4 and then run a Cat 6 cable from the RPI back to may laptop in the house. I could then sit in my house and control everything. This is what a I currently do using a 5m active USB 3.0 cable but the new distance is 20+ metres is the reason I thought using an RPI and Cat 6 cable would work.

The problems I am having is that the RPI4 hotspot does not appear to be stable, I have so far tried 3 times this morning to power up my RPI4 and to get it to show the Astroberry hotspot without success, other times it will show up straight away. Once I've got into the RPI 4 using the hotspot it was my intention to set up the wireless internet so it can connect to my home internet and then I can get updates as the hotspot does not have internet access. I enter all the information - Country Code - GB, then my SSID and Password and when I click OK it states I must re-boot. I then hit the re-boot button and instead of re-booting as I would expect like windows does, it appears to turn itself off and then I'm unable to get back into Astroberry as the hotspot has disappeared and the wireless internet does not work. I then end up having to re-format my SD card so I can connect to try again.

If I get the RPI running on the Astroberry hotspot and this is at the bottom of my garden how do I control it via an ethernet cable, if I plug the ethernet cable into the RPI 4 and my laptop, nothing happens, I'm sure I need to set it up correctly and if I'm not mistaken this will mean finding port details etc and networking them together.

I'm going to have to do some more reading / research into this so I can try and understand it all a bit better.

Thanks again for all the replies.

Doug
4 years 21 hours ago #52561

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic Help - New to Astoberry

OK. Let us focus on the Ethernet side of things.

In order for hosts to communicate over the Ethernet they both need to have IP addresses and be on the same network or subnet.

By default the way of obtaining the IP address on the Raspberry Pi is via a process called DHCP.

In your basic home network, the BT hub is usually the DHCP server, and it leases correct IP address information on your network to other hosts.

The best way to get everything working would be to run the Ethernet cable from the Raspberry Pi to the the BT hub (it should have a number of LAN ethernet ports at the back). You can then access the Pi from your Laptop while both will have Internet access at the same time.

I fear what you might say to us now is that the Ethernet cable you have will not reach to your BT hub....

Fear not - you can set both your laptop and the Pi to have a static IP address, settings like the following:

Pi IP Address 10.0.0.1
Pi Subnet Mask 255.255.255.0
Laptop IP Address 10.0.0.2
Laptop Subnet Mask 255.255.255.0

If your laptop is going to be connected to your Wifi so you can browse the Internet while operating the Telescope then don't set a Default Gateway on either device.

After setting those values up, you should be able to access astroberry via the Ethernet cable via http://10.0.0.1 and you should be able to ssh into the Pi from your laptop to inspect other settings (For ssh use something like Putty if you are using Windows on the laptop).
4 years 21 hours ago #52563

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

  • Posts: 398
  • Thank you received: 117

Replied by Doug S on topic Help - New to Astoberry

As an alternative, you can run an ethernet cable directly from PI to your PC. I run this way and it works fine. I use the "view network connections" and share the PC's internet connection (assumes you're using a window's PC). You will need to assign an IP address on the PI that can be seen by the PC's local shared network.

I still recommend you start by avoiding using the USB3 ports (temporarily). Plug your USB3 cable from the HUB into one of the USB2 ports on the PI. This will allow the hotspot to function reliably so you can configure the system as you want it (while you learn how to share your internet connection from the PC). It will be slower, but it should function. You'll have a working unit until you get the ethernet address assigned and internet shared.... FYI, I progressed along the same path. I didn't have a choice to go 5 Ghz. It all will work.....just need the patience to work through the config stuff. Once you no longer need to burn SD cards to constantly recover, it will go faster/easier.
4 years 20 hours ago #52566

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

  • Posts: 46
  • Thank you received: 1
Hi,

Thanks again for the detailed replies.

I've just got my 20m Cat 6 ethernet cable and have plugged it into the back of my router and then I plugged the other end into my RPI and started it up. The red light came on as did the green light, the green light flashed on and off a number of times as usual and then I ended up with just the solid red light.

On checking the network connections I saw my normal wireless network and the Astroberry hotspot.




I then clicked on the Astroberry secured network and once connected I went to 10.42.0.1 and clicked connect and inserted my password and this took me to the Astroberry site and I was able to do an internet search so this would appear to be working correctly. Whilst doing this from my laptop it would appear that I still have my normal internet wireless connection.



Can you please confirm that I have done this correctly so I can move on to learning something new.

Thanks

Doug
Last edit: 4 years 17 hours ago by Douglas Mason.
4 years 17 hours ago #52578
Attachments:

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

  • Posts: 46
  • Thank you received: 1
Hi,

I think I may be having a slightly better day today.

Having got access to the internet I decided to have a go at doing the updates as recommended by gilescp.

I started what appears to be the PI update as per the below image.






This then finished and it appears to me that it did what it was meant to do, could someone please check that the update has been done properly.





I then ran the eeprom install and update, this appear to be installed and up to date, please see below.








Having done this, can you please confirm that you need to check for updates manually as I have just done today using 'sudo apt update', sudo apt install'. Is it also recommended to check for updates and install them for the eeprom.

Thanks for all the help.

Doug
Last edit: 4 years 17 hours ago by Douglas Mason.
4 years 17 hours ago #52580
Attachments:

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic Help - New to Astoberry

Sorry, been away a bit, just upgraded my system to Ubuntu 20.04, and having trouble with my Google Chrome and all the passwords I have saved in it... really need to clean up my online accounts...

All in all it looks like there were quite a few updates, and you do have something working.

For the rpi-eeprom stuff, that is done, and it will only need to kick in should there be a new update appear on the EEPROM git site.

If you have the ethernet connected to the BT Hub, and this is good for you on a permanent basis I would leave it at that, the Ethernet cable is always going to be faster and more reliable than a Wireless connection.

In order to keep your system up to date, you should just have to:

sudo apt update
sudo apt upgrade

There is also "sudo apt full-upgrade" and "sudo apt dist-upgrade" not sure exactly what the difference is, but sometimes updates appear that only get installed when you run those.

It only needs to be relatively up to date, sometimes too many changes and you get yourself in a situation where you are updating even when things are working, and then something breaks...

If you don't want to permanently use the wired connection (despite it almost certainly being faster and more reliable), then at least you are now in a position to tinker around and try to get the Wireless side up and running, but having the wired side to fall back on will hopefully mean that you don't need to re-flash your SD card if you take a wrong turn.

Good luck.
The following user(s) said Thank You: Douglas Mason
4 years 16 hours ago #52581

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

  • Posts: 983
  • Thank you received: 375
Doug, the solution to the issue is simpler than you think ;-) It's all about how the system works...

Astroberry Hotspot is automatically activated ONLY when no other connections are detected. It is a feature not a bug. This is a fallback connection in case you loose primary wire/wireless connection or you are in the field. This is also default wifi connection at the first boot.
As soon as you add another wifi connection and reboot, Astroberry Hotspot is disabled automatically. And this is the point where you thought something's wrong with your system. However, this means that everything is all right! No Astroberry Hotspot means the system is successfully connected to your home wifi network. This also means that you can access it by connecting your PC to your home network and point your browser to astroberry.local or VNC client to the astroberry.local :5900
4 years 15 hours ago #52587

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

  • Posts: 46
  • Thank you received: 1


Hi,

Thanks for this information.

So there is basically a hierarchy, wired followed by wireless and if all else fails or if were out in the field then there is the good old hotspot to fall back on.

The problem I was having as a newbie was the fact that I could see the hotspot showing up in my networks when I first booted up my RPI and could click on it then connect to Astroberry via 10.42.0.1. Once in astroberry I set-up the wifi and it asked me to reboot which I did. When the reboot happened i could no longer see the hotspot in list of networks (i now know this to be correct as the RPI was picking up wireless network). However I did open IE and pointed the web to 10.42.0.1 but it did not open Astroberry and this is why I thought it had crashed etc.

I take it you see nothing but your own wireless details in networks when it connect to the wifi.

If using wifi do I need to point my internet to raspberrypi.local instead of 10.42.0.1.

The other thing I've noticed whilst messing with the wifi connection is the fact that each time I go into the wireless settings it is always asking for country code, is this correct.

Thanks

Doug
Last edit: 4 years 13 hours ago by Douglas Mason.
4 years 13 hours ago #52600

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

  • Posts: 1957
  • Thank you received: 420
If you use your wifi then you will need to find out what the IP address is of the raspberry pi. Usually you can login to the admin console of your router (which assigns IP addresses to all the devices in the network) to find this out.


HTH, Wouter
4 years 13 hours ago #52602

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

Moderators: Radek Kaczorek
Time to create page: 1.042 seconds