OpenMarine
erratic wifi - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: erratic wifi (/showthread.php?tid=2995)



erratic wifi - rastam4n - 2020-10-09

OP2 with networking acting as a client to my home network and an access point in the boat

I have been experiencing erratic connection problems with OP2. Sometimes the Access point is visible and just will not accept connections. Sometimes it takes a very long time to cycle the wifi on and off to reset it. Once it drops connections I basically have to reboot the Rpi to get it back.

Often when I reboot the moiteisser hat doesn't connect to signalk but I will have wifi, other times the gps (mhat connects to signal k) works and I don't have wifi, and sometimes it all just works for awhile, then I come back to it and tiny pilot is disconnected and I cannot connect to openplotter AP with my phone. 

This is all fairly recent, since the last round of updates of networking,  signalk and openCPN, is anyone else experiencing problems like this?


RE: erratic wifi - vanpupi - 2020-10-13

New to this forum, not to linux variants.
Same story here. I don't have the HAT yet, but the wifi on my pi 4 model b (the 8GB variant) is bad with openplotter.

I have successfully created the hotspot, which partly works.
The wifi is always visible, but random devices just can't connect and fail with "Unable to join the network xxxxx".

The maximum amount of devices i managed to connect to the hotspot is 2 at one time but this is random. It can be 2 or 3 but i never managed to have more than 3 connected (and i would need around 10-ish).

I have the latest soft- and firmware.

Any hints would be appreciated.


RE: erratic wifi - vanpupi - 2020-10-14

I managed to work around the WiFi problem.

Usually when installing software, first thing you do is upgrade the whole thing. So when you run the firmware upgrade, it gets you into trouble with this chip.
This is true in October 2020, later versions to be confirmed.
The current drivers are extremely unstable, older ones are better.
You can get the old ones back (and keep them) using:

wget archive.raspberrypi.org/debian...90114-1+rpt4_all.deb
sudo dpkg --purge firmware-brcm80211
sudo dpkg --install firmware-brcm80211_20190114-1+rpt4_all.deb
sudo apt-mark hold firmware-brcm80211
sudo systemctl reboot

This solved it for me and i am happy surfing through the pi with 5 devices for longer than 6hrs already, while others join and leave the network (read: works as expected currently).


RE: erratic wifi - PaddyB - 2020-10-14

(2020-10-14, 12:01 PM)vanpupi Wrote: wget archive.raspberrypi.org/debian...90114-1+rpt4_all.deb
forum software has truncated your link, doesn't work


RE: erratic wifi - rastam4n - 2020-10-14

(2020-10-14, 12:04 PM)PaddyB Wrote:
(2020-10-14, 12:01 PM)vanpupi Wrote: wget archive.raspberrypi.org/debian...90114-1+rpt4_all.deb
forum software has truncated your link, doesn't work
Code:
http://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20190114-1+rpt4_all.deb


I think this is the link above, can anyone confirm?


RE: erratic wifi - PaddyB - 2020-10-14

That links seems to work ok  Cool


RE: erratic wifi - rastam4n - 2020-10-14

I just deleted the Network app and I can see a big difference already just in how long it takes to boot and connect to wifi.
I will test to see how stable the PI is at staying connected to my home AP and TinyPilot at the same time.
Will update


RE: erratic wifi - rastam4n - 2020-10-15

So I left OP2 running connected to my home AP and my laptop via teamviewer over night and I never lost connection... using the network app I would have lost connection within an hour or less. Huge improvement
Also OP2 is still connected to TinyPilot... winning!


RE: erratic wifi - affinite - 2020-11-01

Given that there seems to be a fix, I think this should be submitted to Sailoog as a bug report.
I also had big problems with the OpenPlotter WiFi AP so gave up on it, went back to client only and just installed a MiFi device as the AP for devices in my boat.