[Ovmsdev] WiFi client not switching to better AP

Stephen Casner casner at acm.org
Mon Dec 7 14:21:36 HKT 2020


Many months ago I installed another AP for the home network in my
garage because the signal quality to the main router was too poor for
OVMS to operate.  Today I needed to restart the garage AP, so OVMS
hear the main router again and associated to it.  But even after the
garage AP came back up, OVMS stuck with the main router and kept
toggling between WiFi and modem because the signal quality was bad.

It this behavior just a function of the WiFi driver that we can't
control, or is it something we could improve?

I fixed it by "wifi mode off" then "wifi mode client".

                                                        -- Steve

I (513443477) netmanager: WIFI client has bad signal quality (-89.2 dBm); disconnect
I (513443477) netmanager: Interface priority is pp2 (10.170.41.247/255.255.255.255 gateway 10.64.64.64)
I (513443477) netmanager: Set DNS#0 8.8.8.8
I (513443477) netmanager: Set DNS#1 8.8.4.4
I (513443477) netmanager: WIFI client down (with MODEM up): reconfigured for MODEM priority
I (513443537) time: Network was reconfigured: restarting SNTP client
I (513443547) ovms-server-v2: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513443547) ovms-server-v2: Status: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513443717) ovms-server-v2: Status: Disconnected
I (513463467) ovms-server-v2: Connection is api.openvehicles.com:6867 US33
I (513463467) ovms-server-v2: Status: Connecting...
I (513466157) ovms-server-v2: Connection successful
I (513466157) ovms-server-v2: Status: Logging in...
...
I (513522477) netmanager: WIFI client has good signal quality (-86.9 dBm); connect
I (513522477) netmanager: Interface priority is st13 (192.168.1.74/255.255.255.0 gateway 192.168.1.254)
I (513522477) netmanager: Set DNS#0 8.8.8.8
I (513522477) netmanager: Set DNS#1 8.8.4.4
I (513522477) netmanager: WIFI client up (with MODEM up): reconfigured for WIFI client priority
I (513522527) time: Network was reconfigured: restarting SNTP client
I (513522527) ovms-server-v2: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513522527) ovms-server-v2: Status: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513522697) ovms-server-v2: Status: Disconnected
I (513529477) netmanager: WIFI client has bad signal quality (-89.0 dBm); disconnect
I (513529477) netmanager: Interface priority is pp2 (10.170.41.247/255.255.255.255 gateway 10.64.64.64)
I (513529477) netmanager: Set DNS#0 8.8.8.8
I (513529477) netmanager: Set DNS#1 8.8.4.4
I (513529477) netmanager: WIFI client down (with MODEM up): reconfigured for MODEM priority
I (513529527) time: Network was reconfigured: restarting SNTP client
I (513529537) ovms-server-v2: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513529537) ovms-server-v2: Status: Network was reconfigured: disconnect, and reconnect in 10 seconds
I (513539467) ovms-server-v2: Connection is api.openvehicles.com:6867 US33
I (513539467) ovms-server-v2: Status: Connecting...
I (513541987) ovms-server-v2: Connection successful
I (513541987) ovms-server-v2: Status: Logging in...


More information about the OvmsDev mailing list