Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi access with no SSID password #54

Open
aarpi3 opened this issue Jul 30, 2024 · 15 comments
Open

WiFi access with no SSID password #54

aarpi3 opened this issue Jul 30, 2024 · 15 comments
Labels
enhancement New feature or request

Comments

@aarpi3
Copy link

aarpi3 commented Jul 30, 2024

Hi,

In our printer lab there is only a guest WiFi access with no password. It's only a captive portal requiring you to agree to the terms and conditions or pre-approved units based on MAC filtering. But trying to connect the camera to this WiFi SSID (with no password) I just get "Save cfg NOT ok!".

I don’t know if it is a feature or bug, but it looks like I'm not able to save (and connect) the SSID without a password. If it’s not a security issue, would it be possible to change this behavior? (I’ve have not tried to compile anything myself).

BTW, this has also been an issue directly on our printers (MK4) using wifi, but for them I’ve just switched to a cable connection.

Edit:
firmware: 1.0.3

@johnyHV
Copy link
Collaborator

johnyHV commented Jul 30, 2024

Hello @aarpi3 . Yes, this is standard situation. Camera SW must have a WiFi network with encryption.

@aarpi3
Copy link
Author

aarpi3 commented Jul 31, 2024

Hello @aarpi3 . Yes, this is standard situation. Camera SW must have a WiFi network with encryption.

Thanks for the feedback @johnyHV.

@johnyHV
Copy link
Collaborator

johnyHV commented Jul 31, 2024

@aarpi3 I can added precompilation macro, for disable check WiFi password

@johnyHV johnyHV added the enhancement New feature or request label Jul 31, 2024
@aarpi3
Copy link
Author

aarpi3 commented Jul 31, 2024

I'm not 100% sure what that involves or if it's alot of work. But I would be happy if that makes it possible to connect to the open WiFi.

@johnyHV
Copy link
Collaborator

johnyHV commented Jul 31, 2024

I created first tested version now :) . Can you try tested it please ? it is necessary to set the SSID and leave the password blank

ESP32_PrusaConnectCam.ino.bin.zip

@aarpi3
Copy link
Author

aarpi3 commented Aug 1, 2024

Thanks, I'll will hopefully manage to test it tonight.

@aarpi3
Copy link
Author

aarpi3 commented Aug 1, 2024

I can confirm that this version connects to wifi without password. But it feels, maybe unrelated, more sluggish.

@johnyHV
Copy link
Collaborator

johnyHV commented Aug 2, 2024

Hello @aarpi3 Perfect, thanks. But in the official version of the firmware, I cannot disable the WiFi network protection with a password. So if you need to upload a newer firmware, you will have to compile it yourself. Or send me a message, and I will compile the firmware for you.

The speed of communication will not affect the disabling of password protection.

@aarpi3
Copy link
Author

aarpi3 commented Aug 6, 2024

Thanks! It would be easiest to compile it, when needed, myself. But could you point me in the right direction for what/where changes I need to apply?

@BE-Automation
Copy link

Hey @johnyHV, alot of companies block these kind of devices on the main network so we too need to be able to connect to wifi networks without passwords that the netwokr itself blocks devices not on a pre-approved list. So it would be great to see this version supported in future releases.

@BE-Automation
Copy link

Hi @johnyHV are you able to create another one for the latest firmware? That would be amazing!

@aarpi3
Copy link
Author

aarpi3 commented Aug 21, 2024

I created first tested version now :) . Can you try tested it please ? it is necessary to set the SSID and leave the password blank

ESP32_PrusaConnectCam.ino.bin.zip

Hi @johnyHV. Would this still work with 1.1.0?

@BE-Automation
Copy link

@aarpi3 I tried to use it, but I couldn't get it to work. But I'm fully aware that could be just me implamenting it incorrectly.

@johnyHV
Copy link
Collaborator

johnyHV commented Aug 22, 2024

Hello @aarpi3 and @BE-Automation. Sorry for the long response...

In the mcu_cfg.h is macro

#define WIFI_DISABLE_UNENCRYPTED_STA_PASS_CHECK true

true option is for disable password checking. In the attachmed is new firmware for the 1.1.0. I working on the new FW version, but this is latest stable FW

PrusaCam 1.1.0-withouth wifi pass.zip

@BE-Automation
Copy link

That worked! Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants