You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Additional information about your host, target hardware or environment that might help:
* Running on a raspberry pi 0, code is at https://github.com/axelson/inky_impression_livebook/tree/bf0240dc20f454d713138ed62770b82889dc2928
Note: originally I was going to report this as vintage_net_wifi trying to connect even when not configured but now I'm not able to reproduce that anymore (I doubt that `VintageNet.deconfigure persists). Of course now after rebooting I'm not able to reproduce it anymore!
Okay, after actually reading the VintageNet.configure docs (and checking in the code), it turns out that VintageNet.deconfigure actually persists, which totally caught me off guard. So I guess this issue should actually be about not trying to scan when not "configured". I'm using configured here to refer to the configuration files (e.g. config.exs), not VintageNet's definition of "configured".
The text was updated successfully, but these errors were encountered:
axelson
changed the title
Noisy logs lots of connections errors when not configured for wifi
Noisy logs when wifi not configured in config.exs
Nov 9, 2021
Describe the bug
vintage_net_wifi generates noisy logs even when not configured for wifi
To Reproduce
Steps to reproduce the behavior:
RingLogger.attach
Expected behavior
Instead I'd expect it to not log or try to connect
VintageNet Info
Output of
VintageNet.info
(please hide any sensitive information like WiFi PSKs)Note: this was take after running
VintageNet.deconfigure
Environment
mix nerves.env --info
)mix nerves.env --info
jason@jdesktop ~/d/inky_impression_livebook (impression-initial)> mix nerves.env --info ==> nerves ==> nerves_livebook |nerves_bootstrap| Environment Package ListPkg: nerves_toolchain_armv6_nerves_linux_gnueabihf
Vsn: 1.4.3
Type: toolchain
BuildRunner: {Nerves.Artifact.BuildRunners.Local, []}
Pkg: nerves_toolchain_ctng
Vsn: 1.8.4
Type: toolchain_platform
BuildRunner: {nil, []}
Pkg: nerves_system_rpi0
Vsn: 1.17.1
Type: system
BuildRunner: {Nerves.Artifact.BuildRunners.Local, [make_args: ["source", "all", "legal-info"]]}
Pkg: nerves_system_br
Vsn: 1.17.1
Type: system_platform
BuildRunner: {nil, []}
|nerves_bootstrap| Loadpaths Start
Nerves environment
MIX_TARGET: rpi0
MIX_ENV: dev
|nerves_bootstrap| Environment Variable List
target: rpi0
toolchain: /home/jason/.local/share/nerves/artifacts/nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64-1.4.3
system: /home/jason/.local/share/nerves/artifacts/nerves_system_rpi0-portable-1.17.1
app: .
|nerves_bootstrap| Loadpaths End
Note: originally I was going to report this as vintage_net_wifi trying to connect even when not configured but now I'm not able to reproduce that anymore (I doubt that `VintageNet.deconfigure persists). Of course now after rebooting I'm not able to reproduce it anymore!
Okay, after actually reading the VintageNet.configure docs (and checking in the code), it turns out that VintageNet.deconfigure actually persists, which totally caught me off guard. So I guess this issue should actually be about not trying to scan when not "configured". I'm using configured here to refer to the configuration files (e.g. config.exs), not VintageNet's definition of "configured".
The text was updated successfully, but these errors were encountered: