skip to navigation
skip to content

Not Logged In

fon 0.1

Connect easily to FON Belgacom Network

fon-connect

Connect easily to FON (Belgacom) Network!

Installation

pip install fon

Usage

You need to store your credentials in ~/.config/fon

[fon]
username = user@belgacomfon.be
password = mAhPassw0rdZ

fon-connect tests if the connection is active by querying perdu.com by default. To change this behavior, add url = http://myurl.example.com/page to the end of ~/.config/fon

Use it with:

fon

Alternatively, you can give your username, password and the test url as parameters (all are optional)

fon -u user@belgacomfon.be -p mAhPassw0rdZ --url=http://myurl.example.com/page

You also con specify another path for the configuration path with -c /path/to/file

fon-connect also has a persist mode (activate it with -P or --persist) which tests the connection, reconnects if usefully, sleeps for 10 seconds and loops.

Full help :

fon -h

License

fon-connect is available under the MIT license.

Original code from Gatien Bovyn at https://github.com/Astalaseven/fon-connect.

Changes made by Nikita Marchant at https://github.com/C4ptainCrunch/fon-connect.

Misc

  • Feel free to report bugs or submit pull request.
  • This code should work on belgian (Belgacom) FON portals. I hope it also works on other carriers portals but if not, please report and i’ll try to fix it.
 
File Type Py Version Uploaded on Size
fon-0.1-py2.7.egg (md5) Python Egg 2.7 2014-03-02 7KB
fon-0.1-py27-none-any.whl (md5) Python Wheel 2.7 2014-03-02 6KB
fon-0.1.tar.gz (md5) Source 2014-03-02 3KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 79 downloads in the last week
  • 232 downloads in the last month