question

John Leslie avatar image
John Leslie asked

Cerbo GX WiFi issue documentation

Cerbo GX H21xxx vintage : Venus OS 2.92. Touch 50 installed

I have my Cerbo GX connected to local WiFi (Peplink) and publishing to VRM. 90% of the time it works fine but occasionally the WiFi becomes unresponsive. I have it configured to restart if it is unable to publish to VRM after X period of time. Every time it becomes unresponsive, other clients on the local LAN remain fully operational and when Cerbo restarts it recovers wifi without touching the local LAN.

Today I observed the WiFi became unresponsive shortly after a voltage drop on the Quattro shore power AC2-In and the Quattro switched to inverter mode.

cerboacin1.png

cerboinvertermode.jpg


[Edit:] At the time the Quattro kicked into inverter mode there was also a brief DC voltage sag, which I forgot to mention when I first posted.

dcvoltagedrop.jpg

I believe my vintage cerbo is not impacted by the Touch 50 problem that is well documented. Peplink's DHCP reservation is set to 1 month.

The Cerbo self-restart hack is my workaround. Functional but far from ideal.

I don't have a question per se but thought I would share a data point with the community for observation and commentary.

Thanks - John

cerbo gxVRMwifi
cerboacin1.png (40.8 KiB)
dcvoltagedrop.jpg (74.4 KiB)
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

kevgermany avatar image kevgermany ♦♦ commented ·
Thanks, interesting.
0 Likes 0 ·
4 Answers
John Leslie avatar image
John Leslie answered ·

I used SSH to log into the Cerbo and discovered evidence that wifi freezing occurs often. So the shore power brown out was probably unrelated and just observation bias on my part.

When the cerbo wifi freezes, I can go into my Peplink router and manually kick the Cerbo off its wifi connection. This triggers Cerbo's wifi reconnection logic (without rebooting) upon which VRM is updated again. Otherwise, wait for the cerbo to hit its VRM 'publishing failed' timeout and reboot itself. The Cerbo's RSSI is -38db (very strong signal), which make sense since it is only about a half meter from the access point. So this is not a case of a weak signal. I've also experimented with disabling suggested wifi channels (hdmi interference) which does not appear to have an effect although difficult to directly measure.

I will try a supported USB WiFi dongle to see if that is more reliable than the built-in chip & software.

2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

roxyroller avatar image roxyroller commented ·
May I ask what wifi dongle you will get and any links on how to set it up? I have wifi issues, but only in winter - it seems to freeze up, summer it can go months and months with no reset. In winter, even after a reset, it's only lasting a few minutes. So I think I either have a hardware issue in very cold weather with the existing wifi (it's minus 20 Celcius), or maybe I need a stronger signal.
0 Likes 0 ·
John Leslie avatar image John Leslie roxyroller commented ·
I've purchased a Netgear AC1200 wifi dongle, which was listed as being supported. I am away from the Cerbo unit for a few weeks but will post back here eventually with any updates.
2 Likes 2 ·
ffvictron avatar image
ffvictron answered ·

do you have the cerbo with a SD card plugged in? I ask as when the Cerbo GX losts contact with the VRM it saves the data in the SD and when the connection is restored it catches up so you wont loose anything in the VRM portal. It doesn't mind if it lost connection to the WIFI or not.

a) if the WIFI keeps dropping I'd rather use the RJ45 cable to the router if it is so close then you can troubleshoot with confidence it's not a connectivity issue but something related with the when going from shore to inverter power.

b) I re-read your last message and if you are able to ssh into the Cerbo I'd automate a script that runs every 30 minutes or so you can turn off the wifi off and then on again.

Edit the crontab then add the line below, this will restart the network every 30 minutes.

crontab -e

*/30 * * * * /etc/init.d/network restart


I'd still test with a) first then going with b.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

John Leslie avatar image
John Leslie answered ·

Thanks for your input @ffvictron. My ethernet port is consumed by a connection to a marine MFD (which insist on hosting its own dedicated network segment). So I cannot connect via hardwire as would be preferable. I have an SD card for the Cerbo next time I visit. Meanwhile, I am using VRM alerts to manage a response within 24-48 hours so as not to lose data.

I'll experiment with a periodic restart of the wifi as you suggest, at least until I have added an external Wi-Fi dongle. Good idea.

A mature, stable system should not require periodic restarts. Right now the log files do not give any failure indication before the Cerbo becomes unresponsive. To continue troubleshooting, I have been investigating how I might turn up debug logging levels for connmand (still have to figure out how to do it). Perhaps it is throwing a relevant error or at least providing a clue as to its state at the moment it becomes unresponsive.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ffvictron avatar image
ffvictron answered ·

@John Leslie: I dont have a Venus OS system to test but the logs should be in the same standard location as for the Unix systems or around : /var/log. I'd suggest checking the following for clues:


/var/log/messages
/var/log/wpa_supplicant.log
/var/log/dmesg

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.