Freewifi Hotspot Connection For Caanoo


zx-81

Certified Guru
Joined
Apr 5, 2007
Messages
679
Age
54
Location
Earth
Website
zx81.zx81.free.fr
caanoo-freewifi.jpg


Hi All,

Here is a simple tool, that might be useful for french guys like me who want to connect to all "FreeWifi" wireless hotspots
using their caanoo + official GPH wifi dongle (i've just received mine today :p ).

This tool is based on my termlua2x fixed version (see my blog for other details) and a recompilation of the famous wget command line browser.

Once you're connected to the FreeWifi hotspot (using GPH menu) you need to enter identification login/password.
This simple tool will do it for you. You just need to modify the config.txt file with your personnal account settings.

This set of tools + shell script might be modified to be used with other internet providers that offer such wireless connection feature.

On my blog : http://zx81.zx81.free.fr/

Enjoy,

Zx
 
Hey, nice tool.

Anyway, there are a couple of wireless networks I usually connect to with my computer, one uses a username/password, and one only requires you to enter your email address. Do I only need to edit the "freewifi.sh" and "config.txt" files, or do I need to edit the actual program? Your readme file only said to change the "config.txt" file, but I think the former is more likely. It looks like I could look at the HTML code for their webpage and figure out what I'd need to change for the network that only needs an email address, and I could replace "https://wifi.free.fr/Auth" with "http://1.1.1.1/login.php" (or whatever it was). Am I correct?

Maybe I could change this line:
./wget -O - --post-data="login=${LOGIN}&password=${PASSWORD}" "https://wifi.free.fr/Auth"

To something like this:
./wget -O - --post-data="login=${EMAIL}" "http://1.1.1.1/login.php"

And change the "config.txt" file:
LOGIN=1234567890
PASSWORD=foobar
EMAIL=quelquechose@email.com


I won't get to try this on my Caanoo until I get it... I'm still patiently waiting for a certain company to receive my payment, for them to find my payment, and for them to send it (sent my payment through the mail, and the holidays slowed it down a bit, and not putting my shipping number in the envelope may cause them to take longer to find mine.)
 
Hi,

Com64 said:
Hey, nice tool.

Anyway, there are a couple of wireless networks I usually connect to with my computer, one uses a username/password, and one only requires you to enter your email address. Do I only need to edit the "freewifi.sh" and "config.txt" files, or do I need to edit the actual program? I think the former is more likely. It looks like I could look at the HTML code for their webpage and figure out what I'd need to change for the network that only needs an email address, and I could replace "https://wifi.free.fr/Auth" with "http://1.1.1.1/login.php" (or whatever it was). Am I correct?

Yes, that's it.

Com64 said:
Maybe I could change this line:
./wget -O - --post-data="login=${LOGIN}&password=${PASSWORD}" "https://wifi.free.fr/Auth"

To something like this:
./wget -O - --post-data="login=${EMAIL}" "http://1.1.1.1/login.php"

And change the "config.txt" file:
LOGIN=1234567890
PASSWORD=foobar
EMAIL=quelquechose@email.com

Yes it should work :).
 
Last edited by a moderator:
zx-81 said:
Hi,

Com64 said:
Hey, nice tool.

Anyway, there are a couple of wireless networks I usually connect to with my computer, one uses a username/password, and one only requires you to enter your email address. Do I only need to edit the "freewifi.sh" and "config.txt" files, or do I need to edit the actual program? I think the former is more likely. It looks like I could look at the HTML code for their webpage and figure out what I'd need to change for the network that only needs an email address, and I could replace "https://wifi.free.fr/Auth" with "http://1.1.1.1/login.php" (or whatever it was). Am I correct?

Yes, that's it.

Com64 said:
Maybe I could change this line:
./wget -O - --post-data="login=${LOGIN}&password=${PASSWORD}" "https://wifi.free.fr/Auth"

To something like this:
./wget -O - --post-data="login=${EMAIL}" "http://1.1.1.1/login.php"

And change the "config.txt" file:
LOGIN=1234567890
PASSWORD=foobar
EMAIL=quelquechose@email.com

Yes it should work :) .

Thanks for confirming! I can't wait to use it. ;)
 
Last edited by a moderator:
Back
Top