guild icon
Toit
#jag run -D jag.wifi=false (not working)
Thread channel in help
crockedile
crockedile 05/09/2025 04:04 PM
I'm running v2.0.0-alpha.179 and trying to run my code with the wifi connection disabled so I can put the esp32 into AP mode.

When attempting to run my code with these arguments - I get the error:
Error: unsupported Jaguar define: jag.wifi

I was simply following the documentation here:
https://github.com/toitlang/jaguar
Use live reloading over WiFI to turbo-charge developing for your ESP32. - toitlang/jaguar
crockedile
crockedile 05/09/2025 04:23 PM
I see - the github is out of date. The Toit website does have the proper argument:
jag run -D jag.disabled
crockedileOPcrockedile
I see - the github is out of date. The Toit website does have the proper argument: jag run -D jag.disabled
bitphlipphar
bitphlipphar 05/09/2025 04:41 PM
Sorry about the confusion. We've updated the documentation before getting the release out :😩:
🙏1
bitphlipphar
bitphlipphar 05/09/2025 04:41 PM
It's typically the other way around :😁:
🙏1
Geoff
Geoff 02/15/2026 09:34 PM
Having trouble disabling jag wifi also. Using v2.0.0-alpha.189. -D jag.disabled is now depreciated so I am back to -D jag.wifi=false -D jag.timeout=1m when installing container.

OUTPUT:
[jaguar] INFO: container 'flowi' installed and started with {jag.wifi: false, jag.timeout: 60}
INFO: PROV: Starting worker...
[wifi] DEBUG: connecting
[wifi] DEBUG: connected
[wifi] INFO: network address dynamically assigned through dhcp {ip: 192.168.0.133}
etc.

My program has no trouble connecting immediately, so wifi obviously not disabled, and after 1 minute my container is unceremoniously stopped as jag restarts its network (which I think was already running).

So what does -D jag.wifi=false actually do?
Thank you.
5 messages in total