Wireless limitations ?
I'm the lucky owner of a duet3d wifi card.
I'm able to connect to the printer using the usb port.
But I don't see how to use it with my wireless setup.
https://duet3d.com/wiki/Prerequisites_for_using_the_Duet_WiFi doesn't give any restriction on the kind of wireless setup to use.
I'm using a hidden SSID with WPA enterprise auth, witch basically means it requires a username and a password to connect.
Instead of having the duet connecting to an existing wireless point, how to use it as a standalone AP ?
Any plan to support hidden SSID and more complexe authentification schemes ?
what are the other prerequisites missing from the documentation ?
I've been setting an simple AP with wpa/psk, no internet connectivity, no dhcp, I've edited config.g to set a static ip.
duet associates successfully to the AP and then disconnect 25s later.
[14:45:23:918] RepRapFirmware for Duet WiFi is up and running.␊
[14:45:23:918] WiFi sDuetWiFiServer version 1.02␊
[14:45:40:606] Flash size 4194304, free RAM 31304 bytes, WiFi Vcc 3.47V, host name: duetwifi, reset reason: Turned on by main processor␊
[14:45:40:610] WiFi is running as an access point with name DuetWiFi␊
As documented at https://duet3d.com/wiki/Pre-production_hardware_limitations_and_known_firmware_issues, setting a static IP address does not work yet.
I don't know why it is disconnecting 25sec later. Perhaps the AP is throwing it off the network?
yep I just came across the releases notes for 1.15
the AP is not throwing it off the network. I guess it fails because it can't get an DHCP bail.
I've workaround this limitation by using an old android phone, still with no internet connectivity, but with its embedded dhcp server.
been able to upgrade to 1.16/1.03. Thanks
any reason why setting static ip address is still not implemented ? (I mean, any special difficulty or blocking dependecy ? I'd love to give it a look and help implementing this. but first I have to get that lovely new printer running)
edit: looking at the src, 25s it's MAX_WIFI_FAIL(50) * 0.500. And it fails because WiFi.status() == WL_CONNECTED is only true if associated to wireless access point AND there's a configured ip (manually set before, or obtained via dhcp)
Ok, something worth adding.
To configure your duet wifi, you first have to connect the the unprotected DuetWifi accesspoint.
You then enter your real accesspoint ssid and the password. All this information goes un-encrypted on air, letting anybody get access to your accesspoint. This is really really bad.
I have circumvented this security issue, I have added a password to the softAP function here: [https://github.com/chrishamm/DuetWiFiServer/blob/master/src/RepRapWiFi.cpp#L193(](https://github.com/chrishamm/DuetWiFiServer/blob/master/src/RepRapWiFi.cpp#L193()
for reference, I had to upgrade my aironet 1130 ap to a 1140 one. the esp8266 wasn't working with the old cisco ap.