Hi, I downloaded the latest release last week and I'm losing connection to the interface after only an hour or so. I also cannot ping the unit.
I have so far only configured the network settings and I'm using the relay test, no schedules or sensors have been setup yet. I'm using a LAN connection to the pi4 and wireless is disabled.
Hardware is pi4 with the system installed on a 32Gb SD card.
Is there a log somewhere I might be able to view? once connection is lost the only fix is to restart.
Thanks,
Will.
I'll give that a go and let you know the results.
Is SSH enabled/installed by default? (I'm referring the default image you supply for installation).
Regards,
Will.
Have to say that I never seen the LAN and WiFi stay on the same subnet.
Anyway let's see if we can get some more info about it.
The IP set in the Hydrosys4 is required both when it is in AP mode (initial stage) and when it try to get a static WiFi address from the router. In my setup I normally have 2 WiFi IP addresses and it works without problem (one DHCP and one Static).
To try to get only the LAN address working, let's try to proceed as follow:
1) go to network page and click forget on each of the saved wifi networks
2) Change the WiFi IP address to an IP outside the subnet so we do not have conflicts, for example 192.168.1.172
3) Disable the WiFi in the in the Network page.
4) reboot
5) You should now get the raspberry working only on the LAN, if you can find the IP, take a screenshot of the Network addresses
6) In case you can access the Raspberry with SSH, you can type the "ifconfig" command to get some understanding of the IP setting.
I've added a screenshot of my network config. My Wifi AP is separate to my router, but all wifi and LAN addresses are on the same subnet. All addresses are allocated by DHCP on the router, once the address is allocated the first time it is made static on the router so it never changes.
I have re-enabled the wifi, if I don't then both IP addresses go offline after a period of time.
I'm still not sure if those 2 addresses (.29, .172) are wifi or LAN. I had a ping going on both of them and unplugged the LAN cable (wifi still enabled) and lost connection to both of them.
if one of them was wifi i would have expected it to keep pinging?
I changed the default wifi IP to 192.168.0.14:8080. It looks like that my router continued to provide the initial IP which was used to configure the raspi. In my case it was 192.168.0.44. For some reason I could reach my raspi on both addresses, the 14 (static IP???) and the 44 (dhcp IP???). I've updated my system to 3.26 and therefore I deciede to set all network config files (dhcp, networks...) to its default values before performing the update.
Since then my raspi got only the 192.168.0.44 assigned and so far (~2days) it works fine.
There are some german webpage I found dealing with duplicated IP-addresses on raspis. Maybe you can try to search the internet for similar page in english.
I hope this helps???
Hello, Would like to understand a little more about this addresses. Can you share the whole IP address .29 and .172? Normally the WiFi and the LAN should have different subnet. Did you change the default WiFi address in the network setting?
Hello, Will
I had similar issue on my configurations. For some reason I had an additional IP-address assigened to my WiFi interface. After a couple of hours I could not ping my raspi anymore. Finally I got rid of this secondary IP and so far it looks like that this fixed my connection issue.
Hi Angelo,
I understand about DHCP etc. What I typically do on all the local devices I have is allow them to get an address via DHCP then make that address static in the router so it never changes.
I'll simplify my question based on what I've discovered since the original question. Since there are 2 addresses setup (.29 and .172) and the first is LAN and the second is Wifi, I would assume that if I disable the wifi, which I don't need, then the pi/hydrosys will continue to be contactable via the LAN, but this seems not to be the case. If I disable the Wifi then the LAN address also becomes uncontactable just like the Wifi, but it happens after a greater time period.
Also, maybe on that network page it would be helpful to label the LAN and wifi differently.
Thanks,
Will.
Forgot to mention that in the ethernet case, the IP address should be assigned by the router using the DHCP protocol, it can be different for each assignment for example If your system reboots or you have some problem with connection.
For this reason it is better to assign a static IP address to the MAC of your raspberry. This can be done in the router.
Hi,
I think I didn't explain properly in the previous message. The Hydrosys4 SW does not perform commands on the ethernet interface, but it uses this interface as provided by the OS, it means that it is completely managed by the operative system which in this case the Raspbian.
As I see your comment about the IP address, the IP address of ethernet is not the same as the IP for the wifi, it should be assigned by your router. Normally this class of addresses starts with 10. (you should be able to check it on your router webpage).
regards,
Angelo
After another test I realised that the .29 address remains available even when the .172 becomes unavailable, so I assume that the .29 is the LAN address and I can access the web interface from this address.
I'm still curious to know what you mean by "hydrosys4 SW does not perform commands on the Ethernet interface".
Edit - now the .29 has also become unavailable after a longer period of time, so maybe my assumptions were incorrect.
Thanks again.
Hi, the hydrosys4 SW does not perform commands on the Ethernet interface, so I think that you can have a look at the system logs of the Raspbian if you can find something.
Anyway the wifi should be disabled using the setting in the "network" page "advanced setting". This will disable the WiFi so that the raspberry will not try to connect every 15 minutes.