This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
erratic wifi
#1
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?
Reply
#2
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.
Reply
#3
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).
Reply
#4
(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
Reply
#5
(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?
Reply
#6
That links seems to work ok  Cool
Reply
#7
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
Reply
#8
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!
Reply
#9
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)