Posts: 9
Threads: 3
Joined: Sep 2018
Reputation:
0
I've got a RPI4 with Openplotter 2 installed.
I've an additional USB wifi dongle to connect to the local harbour internet.
I have two issues I'm trying to tackle:
1) I would like the wifi dongle to reconnect to known wifi access points meaning I don't need to manually instruct it to connect (via the wifi icon in menu top bar)
2) The wifi should be shared, but this seems only occasionally be working. I did not yet find what setting to use to always route the internet traffic via the USB dongle wifi.
any advice on how to correctly configure this?
Posts: 297
Threads: 4
Joined: Mar 2016
Reputation:
10
2020-06-15, 03:41 PM
(This post was last modified: 2020-06-15, 03:50 PM by holgerw.)
connect you external usb to the harbour - this is done in the Menubar. It will remember your ssid/user/pw.
then in OP-network set your internal pi wlan to make your AP. later on the right side set it to share "auto" or your external USB.
but here maybe some issures - here in europe you can use only 1 6 11 Channels for the 2.4GHz wifi because overlapping channels. And if your harbour uses channel 11, don't set your own AP also to 11 - instead use another 1 or 6 - whatever is free or lesser used. So you wont interfere with your own Frequencies.
good luck
holger
Posts: 9
Threads: 3
Joined: Sep 2018
Reputation:
0
thanks for the reply.
My challenge is that I want OP to reconnect to these known AP's once they are in reach.
Each harbour has it's own accesspoints and I would like it to re-connect without me having to go into the vnc client and to push it to reconnect.
Posts: 297
Threads: 4
Joined: Mar 2016
Reputation:
10
The PasswortS etc. are remembered automatisch in an hidden hash linux file. Like in your Phone.
This is the normal behavior. Nothing openplotter Specific.
Posts: 287
Threads: 44
Joined: Mar 2016
Reputation:
5
I have the same issue - and the answer that SSID and passwords are remembered is not addressing the issue!
Under Win10 you have an optional "connect automatically" tag, my Android phone connects to any previous known WiFi automatically when in reach again
BUT the raspi OP2 does not reconnect to an interrupted wifi connection automatically. In fact I sometimes even fail to reconnect manually from the taskbar - only solution is to reboot.
Posts: 287
Threads: 44
Joined: Mar 2016
Reputation:
5
@PaddyB: hmmmm ... not on my system.
Will reinstall the OP-networking and hope it solves the issue - it worked in the past. I recently noticed some strange wifi behavior, trying to reconnect to the wifi from the taskbar does something (hourglas) but does not reconnect and keeps saying "associated" but not "connected".
Posts: 68
Threads: 11
Joined: Apr 2020
Reputation:
2
2020-06-22, 12:45 PM
(This post was last modified: 2020-06-22, 12:47 PM by jamieFL.)
This is not an OpenPlotter behavior. Possibly, this feature can be added. This is native to Linux and the Raspberry Pi OS. If you google the issue, you will find people asking these same questions for quite a few years.
The solution that I see most being implemented is to write a script checking the status of the network, most often by pinging a well established site, like Google, and if it fails, reinitializing the network. Then call this script every few seconds with a cron job to make it run automatically.
If you google this, the scripts and directions to use them have already been written.