Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Modular Sensors wifi connection on university (or similar) network

Home Forums Miscellaneous Modular Sensors wifi connection on university (or similar) network

Viewing 3 reply threads
  • Author
    Posts
    • #15649
      fisherba
      Participant

        Has anyone connected to a wifi network that requires user credentials to log in? The current modular sketch for wifi (I’m using Digi XBee® Wi-Fi S6B) has options for the name of your wifi access point and the access point password.

        const char* wifiId = “…”; // WiFi access point name
        const char* wifiPwd = “…”; // WiFi password (WPA2)

        But at a university (or similar network) I have the name of the university wifi network, my username, and my password to access the network. (With loads of security business that is beyond my desire to learn.) Even our visitor wifi requires individual credentials.

        Has anyone modified Modular Sensors to connect to this sort of network wifi? Is this a possible (and reasonable) modification? (Again those security things that are beyond my desire to learn might be too thick of a complication.)

        Thanks,
        Beth

      • #15650
        Sara Damiano
        Moderator

          I’m not sure if it’s possible – or if it is, it’s not going to be easy.  When you log in with your phone or your computer, you go through a series of browser pages where you submit form data with your credentials, etc.  I would guess that you’d have to manually figure out what the URL for each of those pages is and manually create each of the proper submissions to each page and then follow the redirects from each to get to the next page.  There’s nothing I know of built into the firmware for the S6B to handle that sort of stepping through.  The ESP8266’s “AT” firmware that ModularSensors uses couldn’t handle it either.

          I’d suggest creating a hot-spot from your phone or laptop and then connecting your S6B/mayfly to that.

        • #15651
          neilh20
          Participant

            I know my local Sonoma State University is against devices connecting to the network. They even gone as far as removing all  ethernet sockets. As part of the local engineering capstone project using LoRa the students went off campus for testing, as the LoRa gateway needed to connect to a WiFi network

            The simple answer for WiFi is what Sara described.

            Because of the wider security concerns for IP based systems, there is a whole lot of technical initiatives  to manage admittance to larger local networks – so security is likely to get more proscribed.

            Just an FYI, even if you got WiFi connecting, I’m still having reliability issues with the Modular Sensors S6B WiFi interface. https://github.com/EnviroDIY/ModularSensors/issues/347

             

          • #15652
            fisherba
            Participant

              I had a hunch that it was a no-go, but I thought I’d ask. I’ll just log to the SD card for in-lab monitoring. And for workshops we will use hotspots.

              Thanks!

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.