2017 © Pedro Peláez
 

library orange-hotspot

Orange hotspot connexion util

image

zeliard91/orange-hotspot

Orange hotspot connexion util

  • Thursday, April 24, 2014
  • by zeliard91
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

orange-hotspot

Php command line utilities to check and login to orange public hotspots. Usefull to maintain connexion., (*1)

Requirements

  • PHP CLI v5.3.3 minimum
  • You have to be associated with the hotspot, theses scripts only cares about the authentification process

Installation

Installation is a quick process, you just have to install it whith composer :, (*2)

``` bash $ php composer.phar create-project --prefer-dist zeliard91/orange-hotspot ./orange-hostpost dev-master, (*3)


## Configuration The only configuration variables are the credentials to login to an orange hostpot. (email adress and password) The install process should have asked you these values. If you want to modify them, they are in the YAML file app/config/parameters.yml ``` yaml # app/config/parameters.yml parameters: login: email@orange.fr pass: secret

Usage

All commands are non verbose by default, don't forget to add the -v option to see information messages, they are anyway send to syslog., (*4)

Verification

``` bash $ php app/console orange:status -v, (*5)


Send request to www.google.com and check if this is really google (Orange hostposts redirects to the authentification page if you are not logged in) ### Check and login ``` bash $ php app/console orange:check -v

If you're not logged in, this command submits your credentials to authenticate., (*6)

Disconnect

``` bash $ php app/console orange:logout -v, (*7)


Just for fun. ## Maintain connexion If you want to maintain the connexion, you just have to call regulary the check command by crontab : ``` crontab */5 * * * * /usr/bin/php /fullpath/app/console orange:check

The Versions

24/04 2014

dev-master

9999999-dev

Orange hotspot connexion util

  Sources   Download

MIT

The Requires

 

18/04 2014

1.0.0

1.0.0.0

Orange hotspot connexion util

  Sources   Download

MIT

The Requires