Collecting Network Communication Logs

Collecting Network Communication Logs

Overview

To assist in troubleshooting, LanSchool Support may require you to gather logs from your network to help determine communication issues between the LanSchool Connection Server, Student and Teacher. 

The ability to read and write the Windows Registry is required. It is recommended to contact your local IT Support to setup logging.

Collecting Network Communication Logs when using a LanSchool Connection Server

  1. Download and install WireShark on the teacher, student, and LanSchool Connection Server.
  2. Download  DebugView from Microsoft onto the LanSchool Connection Server 
  3. Launch DebugView in Admin mode by right clicking the executable and selecting "Run As Administrator". 
  4. Select the View menu>>Capture Global Win 32
  5. On the LanSchool Connection Server, launch the LCS status page.   
  6. Once inside the Connection Service status page, click on Logging on the left hand pane.  Enter -1 in the Specific Students box, make sure all of the check boxes below it are checked, and then click Submit Query.  After you do this, you should see debug information in appear in DebugView. 
  7. On the teacher and student workstations, Browse to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\LanSchool for 64bit.  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool for 32bit.
  8. Click Edit>>New>>DWORD (32-bit) Value
  9. Name the value DebugTrace
  10. Restart both the teacher and student workstations.
  11. After the student and teacher relaunch, launch WireShark and start a capture on the student, teacher, and LCS. 
  12. Reproduce the problem.
  13. Stop the Wireshark packet capture on the LCS, teacher and student and save it. 
  14. Save a copy of the lsktrace.txt from the teacher and student machines. 
    1. To gather the lsktrace.txt from the student open a CMD prompt as Administrator. Type “CD %TEMP%” Then locate and save LskTrace.txt 
    2. To gather the lsktrace.txt from the the teacher, open File Explorer and type in %temp% in the address bar. Then locate and save LskTrace.txt 
  15. Save the output from DebugView on the LCS.
  16. Email all of the following to support@lanschool.com:
  1. Student:
    1. IP address
    2. Machine Name
    3. Username
    4. lsktrace.txt
    5. Wireshark packet capture

  2. Teacher
    1. IP address
    2. Machine Name
    3. Username
    4. lsktrace.txt
    5. Wireshark packet capture

  3. LanSchool Connection Server
    1. IP address
    2. DebugView output
    3. Wireshark packet capture

Once these are emailed, change the DebugTrace key on the teacher and student machines to 0, and reboot the machines.
Restart the LanSchool Connection Service to stop the logging on the server. 

Collecting Network Communication Logs only for Teacher and Student

  1. Download and install WireShark on the teacher, and student. 
  2. On the teacher and student workstations, Browse to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\LanSchool for 64bit.  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool for 32bit.
  3. Click Edit>>New>>DWORD (32-bit) Value
  4. Name the value DebugTrace
  5. Restart both the teacher and student workstations.
  6. After the student and teacher relaunch, launch WireShark and start a capture on the teacher and student. 
  7. Reproduce the problem.
  8. Stop the Wireshark packet capture on the teacher and student and save it.  
  9. Save a copy of the lsktrace.txt from the teacher and student machines. 
    1. To gather the lsktrace.txt from the student open a CMD prompt as Administrator. Type “CD %TEMP%” Then locate and save LskTrace.txt 
    2. To gather the lsktrace.txt from the the teacher, open File Explorer and type in %temp% in the address bar. Then locate and save LskTrace.txt 
  10. Email all of the following to support@lanschool.com:
    1. Student:
      1. IP address
      2. Machine Name
      3. Username
      4. lsktrace.txt
      5. Wireshark packet capture

    2. Teacher
      1. IP address
      2. Machine Name
      3. Username
      4. lsktrace.txt
      5. Wireshark packet capture
Once these are emailed, change the DebugTrace key on the teacher and student machines to 0, and reboot the machines. 
    • Related Articles

    • Collecting Logs from the LanSchool Connection Server

      Overview To assist in troubleshooting, LanSchool Support may require you to enable logging on your LanSchool Connection Server. The ability to read and write the Windows Registry is required. It is recommended to contact your local IT Support to ...
    • Collecting Logs from Student Devices

      Overview To assist in troubleshooting, LanSchool Support may require you to enable logging on your LanSchool. While every attempt is made to prevent errors, with any type of software it is possible to get an error or bug. On the Windows Operating ...
    • Collecting Logs from Teacher Devices

      Overview To assist in troubleshooting, LanSchool Support may require you to enable logging on your LanSchool. While every attempt is made to prevent errors, with any type of software it is possible to get an error or bug. On the Windows Operating ...
    • Technical FAQ

      How do I gather logs from the teacher? LanSchool Support may require logs from the teacher console to help troubleshoot an issue. For instructions, please see Collecting Logs from Teacher Devices. How do I gather logs from the student? LanSchool ...
    • Troubleshooting Missing Student Thumbnails

      Troubleshooting Missing Student Thumbnails without Class Lists Peer to Peer Check the channel that the teacher and student are configured to communicate on. To find the channel on the Teacher Console, go to the Administer menu > Preferences > Network ...
    • Popular Articles

    • Limiting Website Use

      Overview To block troublesome or distracting websites or limit students to a select few websites pertinent to the class, use the Limit Web feature in LanSchool Classic. The teacher can choose to restrict all web activity, allow only certain websites, ...
    • LanSchool Classic Teacher Guide

      LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
    • Installing LanSchool Teacher for Windows

      Overview The following instructions will assist you with manually installing LanSchool Classic Teacher Console on a single Windows device. For information on installing the student client or mass deploying LanSchool throughout your organization, see ...
    • Latest Release Notes

      LanSchool Classic Release Notes Customers with an active LanSchool subscription will have access to download the latest version from the LanSchool Classic Portal. For instructions, see Downloading LanSchool Installers. LanSchool Classic 9.3.0.4 ...
    • Blanking Student Screens

      Overview Blank student screens on your channel and disable student keyboards and mice. This feature is useful when you want to lecture without the distraction of students playing with their computers, or you need to quickly gather their attention. ...
    • Recent Articles

    • Downloading LanSchool Classic Installers

      Overview LanSchool Classic Downloads are accessed in LanSchool Air. Classic customers will see all their information, expiration and licensing keys in LanSchool Air. Admins who use both LanSchool Classic and LanSchool Air only need to manage one ...
    • Configuring LCS Redirection

      Overview In multiple LanSchool Connection Service scenarios, LCS Redirection allows administrators to set a default student LCS configuration where a MASTER LCS will send students to their correct LCS. The choice of LCS is configured based on the IP ...
    • Deploying LanSchool Classic Using Jamf Pro

      Update March 26, 2024: Release of macOS 14.4 has broken the ability to use SSID Whitelisting. Anyone currently using SSID Whitelisting, it is recommended to delay updating to macOS 14.4 until this issue has been fixed. Overview The LanSchool Classic ...
    • Disabling Fast User Switching

      Overview LanSchool Classic does not support Windows Fast User Switching feature. The student client will not function properly when the computer is switched to a second user account. It is recommended to disable Fast User Switching in order for the ...
    • Using Enable Channel Select Utility

      Overview LanSchool Classic comes packaged with utilities that can help administrators with making changes to already installed clients. The Enable Channel Select utility allows teachers to be able to change their teacher channel, view multiple ...