Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 902 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 902 Bytes

Instructions

The script is used to get BIT network connection when the desktop environment is unavailable.

1. Installation

Ubuntu OS

  1. Download Chrome and install it with
    • apt-get update
    • dpkg -i google-chrome-stable_current_amd64.deb
    • apt-get install -f
  2. Install Python 3, and then install packages with pip install requests selenium.

Windows OS

  1. Install Google Chrome.
  2. Install Python 3, and then install packages with pip install requests selenium.

2. Usage

Login

Run python3 client2.py -u stu_id -p password -a login.

Logout

Run python3 client2.py -u stu_id -p password -a logout.