Skip to content

LogClient for logging internet connection status and program activities on individual computers during lab sections.

Notifications You must be signed in to change notification settings

okanduzyel/LogClient

Repository files navigation

LogClient

LogClient is designed by Okan DÜZYEL for logging internet connection status and program activities on individual computers during lab sections. It is meant for students, and each installation requires a unique registration based on the computer's MAC address.

Features

  • Requires one-time registration for each computer using a unique activation code.
  • Logs internet connection status (Connected/Disconnected).
  • Program records activities and timestamps with cryptographic output.

Registration and Activation (macOS, Linux, and Windows)

  1. First Run:

    • This error will be appeared on the first run. You must allow the program as Settings -> Privacy & Security -> LogClient Allow.

      Screenshot 2024-02-29 at 16 38 08
    • If you allow correctly the program, the program displays the MAC address of your computer.

      Screenshot 2024-02-29 at 16 11 07
  2. Registration:

    • The student should send its MAC address and student number to the Assistant via Microsoft Teams.
    • The Assistant provides a unique activation code to the student.
  3. Activation:

    • The student should enter its student number and the provided activation code.

    • The program creates a license.dat file for future use.

      Screenshot 2024-02-29 at 16 16 49
    • If the student gives wrong Mac address or wrong student number the program will recognize it and create the output as shown below.

      Screenshot 2024-02-29 at 16 21 56

Usage

Once registered and activated, the program continuously logs internet connection status. It runs in the background and requires no further interaction from the user.

  1. For macOS
  • Extract the zip file to your user directory, for example, "/Users/XXXXXXXXXX" (replace XXXXXXXXXX with your username). Please avoid using another directory.

    Screenshot 2024-02-29 at 16 34 22
  • The license.dat file will be automatically created during the extraction process.

  • While the program is running, it will generate a new log file named with the student number, day, month, and year.

  1. For Linux
  • Download your executable file on your computer and run the program by using the terminal.
    sudo apt install unzip
    git clone https://github.com/okanduzyel/LogClient.git
    unzip LogClient For Linux.zip
    ls
    ./LogClient.py

It is correctly working on the Ubuntu 22LTS platform.

  1. For Windows
  • Extract the zip file to your user directory, for example, "C:\Users\MyName\Desktop" (replace MyName with your username). Please avoid using another directory.

    WhatsApp Image 2024-02-29 at 16 20 58

  • The license.dat file will be automatically created during the extraction process.

  • While the program is running, it will generate a new log file named with the student number, day, month, and year.

Instructions for Students

Before lab section, you should:

  1. Close your internet connection (Wi-Fi, Ethernet, Bluetooh etc.) before running LogClient.
  2. Open LogClient.
  3. Not close LabClient, and should not try to connect internet during lab section.
  4. After getting grade of the lab, close LogClient, connect internet, and upload your .c file and your log file to Microsoft Teams Assignments section.

About

LogClient for logging internet connection status and program activities on individual computers during lab sections.

Resources

Stars

Watchers

Forks

Packages

No packages published