WebThingsIO / gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web
http://webthings.io/gateway
Mozilla Public License 2.0
2.61k stars 339 forks source link

Unable to detect wifi #1994

Closed thomas-tri-tran closed 4 years ago

thomas-tri-tran commented 5 years ago

The gateway is unable to detect the enterprise wifi e.g WPA2-EAP or Wifi that required user to accept the term and condition.

benfrancis commented 5 years ago

I don't know where exactly the limitation with WPA2-EAP is coming from, but for the case where terms and conditions need accepting, it could be challenging to connect to a Captive Portal from a Captive Portal... not sure how best to achieve that.

thomas-tri-tran commented 5 years ago

Hi Ben,

This issue was, for enterprise wifi , you are required to install the trusted certificate and the gateway seems unable to detect the network without the certificate installed.

Regards Thomas

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Ben Francis notifications@github.com Sent: Monday, July 8, 2019 9:25:31 PM To: mozilla-iot/gateway Cc: thomas-tri-tran; Author Subject: Re: [mozilla-iot/gateway] Unable to detect wifi (#1994)

I don't know where exactly the limitation with WPA2-EAP is coming from, but for the case where terms and conditions need accepting, it could be challenging to connect to a Captive Portal from a Captive Portal... not sure how best to achieve that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mozilla-iot/gateway/issues/1994?email_source=notifications&email_token=AB7CYOIGPQE5OWPFLTWXFRTP6MP2XA5CNFSM4H5TAS42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMZGNI#issuecomment-509186869, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB7CYOI2Q3MFHKZ5LOODAJ3P6MP2XANCNFSM4H5TAS4Q.

benfrancis commented 5 years ago

I see, thank you for the additional information.

To be honest enterprise Wi-Fi is not a priority use case for a smart home hub, but being able to connect to these kinds of networks does also help make our demos run more smoothly so if there's anything we can do to make this easier we will. Perhaps there's a way to manually install the certificate on the command line...

createcandle commented 4 years ago

I had a similar situation yesterday.

no_wifi

Clicking next leads to a very odd situation. While I was still connected to it in hotspot mode, I could access SSH and found this is the entry in the WPA file:

undefined

I created a new image to see if the image was the issue, but got the same situation. It must have been a hardware issue (or the strange wifi at the location I was at). In this case after clicking 'next' on an empty list I could no longer access the device in any way.

This is another example where it would be useful if the device went back into hotspot mode if (1) no connection is made to its setup page and (2) the device is then reset.