The script is used to get BIT network connection when the desktop environment is unavailable.
- Download Chrome and install it with
apt-get update
dpkg -i google-chrome-stable_current_amd64.deb
apt-get install -f
- Install Python 3, and then install packages with
pip install requests selenium
.
- Install Google Chrome.
- Install Python 3, and then install packages with
pip install requests selenium
.
Run python3 client2.py -u stu_id -p password -a login
.
Run python3 client2.py -u stu_id -p password -a logout
.