Tired of having to reconnect to Quantic Telecom all the time ? No worry, qt_autoconnect has your back !
Run the command every 6h periods, hence 4 times a day.
This software is provided as a debian package. Hence, on debian-based distros like Ubuntu, just download the package and install it using sudo apt install ./package
.
To use this project, you need:
- A firefox browser
Make sure to rename the connection_data_example.json
into connection_data.json
and to put your credentials inside.
{
"url": "https://www.quantic-telecom.net/connexion-reseau",
"email": "surname.name@insa-lyon.fr",
"password": "strong_password"
}
Objective: From time to time, the connection to quantic telecom fails and need to be reestablished by giving the credentials to the connection page. This is not only borring, but is also a problem when one wants one's computer to stay connected to the network.
Idea: create a command-like program that automatically checks from time to time if the pc is still connected, else reconnect to the internet.
https://www.quantic-telecom.net/connexion-reseau
: The URL of connection page to connect to quantic-telecom.
connection requests
_token "gJKPmXZhPBzEEn53Xrr1jlpbVcVWfzZHz4YJwMBG"
email "florian.rascoussier@insa-lyon.fr"
password "lololhh"
_token "gJKPmXZhPBzEEn53Xrr1jlpbVcVWfzZHz4YJwMBG"
email "florian.rascoussier@insa-lyon.fr"
password "lololhd"
- geckodriver
- python3
- selenium
- Modify
preinst
to download and installgeckodriver
. - Complete
preinst
,postinst
,prerm
,postrm
. - Modify
preinst
to get the user credentials and initialise theres/connection_data.json
or print a message telling the user to edit this file. - Remove
preinst
get user credential and make it a separate command so as not to block graphical package installer ! - Modify
run.sh
to delete the log file if too large. - Adding cron support and init and rm it automatically.
- Correct Makefile to build properly the debian package using
debuild -uc -us
. - Adding colors to Python scripts outputs.
- Add a flag -d to display user credentials.
- Add alternative -h for --help command
- Add a --credits, -c command to display the credits.
- Fix flag and command execution pipeline.
- Add a license file and copy it inside debian/
- Change
geckodriver.log
location to be inside thelogs/
folder. - Create a PPA.
- Fix cron job desintallation by debian. Cron file in
/etc/cron.d
not properly removed. However it seems it shouldn't be removed by hand/script... ? - [ ]
- Add a
man
page. - Release a package in PPA.
- Release a package with GitHub.
How get the text from the <p> tag using XPath Selenium and Python
create cron jobs via debian config files
Use package.cron.d
- Installed as /etc/cron.d/package
: for any other time.