title: How to connect to WIFI from a browser with Javascript and PHP?
body: <p>I working on creating a Linux Digital signage Box, which my clients can buy, and choose what to show on it.
  At the moment, it boot up in Firefox, check if it have internet, query my server and get a unique URL which Firefox change to.
  If it don't have any internet connection, i show a page "You dont have internet, please connect a ethernet cable or connect to WIFI."</p>
  
  <p>That my question, what will be the best way to allow my client to connect a Wireless hotspot from Firefox? At the moment my idea is:</p>
  
  <p>I add a "Connect wireless" button, which with some javascript call a php script, which SSH to the BOX (localhost), and use connmanctl to first, find all WIFI hotspot and if they reguire password. The Javascript then show this, and SSH again to connect and so on..</p>
  
  <p>Do you know a opensource system, which do that? or a better way to do it?</p>