title: Method to automate Arduino Yun WiFi Login to Captive Portal with python or other?
body: <p>What is the simplest path toward automating a WiFi login from an Arduino Yun (Yún) to a "Captive Portal" authenticated login method. I would like to stay in python, if that is the most appropriate.</p>
  
  <p>So for I've considered:</p>
  
  <ul>
  <li>curl </li>
  <li><a href="http://wget.addictivecode.org/FrequentlyAskedQuestions#password-protected" rel="nofollow noreferrer">wget</a> (<a href="https://stackoverflow.com/questions/16091745/python-automating-a-wget-script-with-login-required">Stackoverflow discussion</a>)</li>
  <li><a href="http://www.pythonforbeginners.com/mechanize/" rel="nofollow noreferrer">mechanize</a>- </li>
  <li><a href="http://doc.scrapy.org/en/latest/intro/overview.html" rel="nofollow noreferrer">scrapy</a></li>
  </ul>
  
  <p>I would like the simplest, least-overhead method possible.</p>
  
  <p>This is to run on an Arduino Yun upload some environmental data every once in a while.  But the publicly-accessible WiFi requires a login/password every time.</p>