services:labtest:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:start [2025/02/04 10:14] – jas | services:labtest:start [2025/03/05 03:46] (current) – [3. Allow Access To Your eClass Quiz ID In Labtest Mode] jas | ||
---|---|---|---|
Line 247: | Line 247: | ||
restrict list List labtest URL restrictions (including line numbers) | restrict list List labtest URL restrictions (including line numbers) | ||
restrict add < | restrict add < | ||
- | restrict eclass | + | restrict eclass |
restrict delete < | restrict delete < | ||
restrict edit Edit labtest restrictions | restrict edit Edit labtest restrictions | ||
Line 261: | Line 261: | ||
labtest> restrict add -www.w3schools.com/ | labtest> restrict add -www.w3schools.com/ | ||
- | To allow access to eClass Quiz/VPL: | + | (*) To allow access to eClass Quiz/VPL, please read the following web page: |
- | labtest> restrict eclass | + | https://wiki.eecs.yorku.ca/ |
- | + | ||
- | NOTE: Running an eClass in labtest requires other setup as well. | + | |
- | to this URL for further instructions: | + | |
- | | + | *** Don't forget - ALWAYS test your eClass quiz using ltcloud! |
</ | </ | ||
Line 322: | Line 319: | ||
# < | # < | ||
#version: < | #version: < | ||
- | MM/ | + | MM/ |
- | MM/ | + | MM/ |
</ | </ | ||
Line 332: | Line 329: | ||
* HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | * HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | ||
* M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | * M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | ||
- | * <HOSTSPEC> - lets us know which hosts you want to book. < | + | * HOSTSPEC - lets us know which hosts you want to book. < |
* individual machines separated by commas: ea01, | * individual machines separated by commas: ea01, | ||
* groups of machines: | * groups of machines: | ||
Line 384: | Line 381: | ||
</ | </ | ||
- | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting | + | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting |
< | < | ||
Line 426: | Line 423: | ||
</ | </ | ||
- | ... or you can create one long session 9:00 AM - 11:00 AM, but you will have to clear the lab manually between sessions yourself: | + | ... or you can create one long session 9:00 AM - 1:00 PM, but you will have to clear the lab manually between sessions yourself: |
< | < | ||
Line 953: | Line 950: | ||
====== Accessing External Hosts In Labtest (optional) ====== | ====== Accessing External Hosts In Labtest (optional) ====== | ||
- | Your labtest may require students to access external websites. | + | Your labtest may require students to access external websites. |
- | With host level access control, you can give your labtest access to specific websites such as www.w3schools.com. | + | With host level access control, you can give your labtest access to specific websites such as https://www.w3schools.com. |
- | Create | + | Let's say you're teaching |
- | For example, if you're teaching a course EECS9999, and you want students in your labtest to be able to access | + | **Setup With Labtest Assistant** |
+ | |||
+ | From within Labtest Assistant, use the "restrict" | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com inserted. | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction validator.w3.org inserted. | ||
+ | </ | ||
+ | |||
+ | You can use "restrict edit" to edit the restriction list in a text editor, or " | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | If you are setting | ||
< | < | ||
Line 973: | Line 988: | ||
</ | </ | ||
- | Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance. | + | **Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance.** |
- | Labtest also makes it possible to implement partial access to a website. | + | Labtest also makes it possible to implement partial access to a website. |
- | Now, if you try to visit anything but " | + | **Setup with Labtest Assistant** |
- | However, you will also notice that the page doesn' | + | From within Labtest Assistant, use the " |
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
+ | |||
+ | Now, during your labtest, if you try to visit anything but " | ||
+ | |||
+ | However, you will also notice that the page doesn' | ||
+ | |||
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Once again, use the restrict command: | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
< | < | ||
Line 987: | Line 1044: | ||
</ | </ | ||
- | Now, let's say there' | + | Now, let's say there' |
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Again, use the restrict command: | ||
< | < | ||
- | -www.w3schools.com/ | + | Labtest (9999) [labtest1] |
+ | |||
+ | Restriction -www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | 1 www.w3schools.com/ | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add the following rule to labtest.allow: | ||
+ | |||
+ | -www.w3schools.com/ | ||
NOTE: Rejected URL fragments are processed before accepted URL fragments. | NOTE: Rejected URL fragments are processed before accepted URL fragments. | ||
Line 997: | Line 1072: | ||
A few important notes: | A few important notes: | ||
- | 1) For every website that students needs to be able to access during labtest, you must specify the website name in the labtest.allow file. You may include just the website name (in which case all URLs on that site will work), or you may include the URLs on that website that you want to be accessible. | + | 1) For every website that students needs to be able to access during labtest, you must either use " |
2) All external pages are rejected by default. | 2) All external pages are rejected by default. | ||
Line 1018: | Line 1093: | ||
In this section, we will configure labtest to provide secure access to an eClass quiz. | In this section, we will configure labtest to provide secure access to an eClass quiz. | ||
- | ===== 1. Allow lab machines to access | + | ===== 1. Allow Lab Machines Limited Access To eClass |
- | First, you need to allow the lab machines | + | First, you need to allow the lab machines |
- | If you're using Labtest Assistant, use the " | + | If you're using Labtest Assistant, use the " |
+ | |||
+ | < | ||
labtest> restrict eclass | labtest> restrict eclass | ||
</ | </ | ||
- | If you' | + | If you' |
- | | + | < |
+ | eclass.yorku.ca/login | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | dm7crvy4e45rz.cloudfront.net | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
- | If your labtest.allow file only includes " | + | ===== 2. Determine Your eClass Quiz URL ===== |
- | | + | Visit your eClass quiz from your machine that is **not** in labtest mode. Grab the quiz URL from the URL bar in your web browser. |
- | * restrict user access to eClass communications (so they cannot chat with other students). | + | |
- | However, there are still problems: | + | You can also get this link in eClass if you go to: Activities >> Quizzes then hover your mouse over your quiz. |
- | * Students will not be able to view images attached to quiz questions because eClass caches these on an external site which hasn't been allowed: dm7crvy4e45rz.cloudfront.net | + | ===== 3. Allow Access To Your eClass |
- | * Students would still be able to access | + | |
- | This labtest.allow file is best for eClass | + | If you're using Labtest Assistant, |
- | eclass.yorku.ca/ | + | < |
- | | + | labtest> restrict add eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | </code> |
- | eclass.yorku.ca/ | + | |
- | -eclass.yorku.ca/ | + | |
- | | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | dm7crvy4e45rz.cloudfront.net | + | |
- | If you wish to use additional functionality in eClass | + | Replace ID with your eClass |
- | | + | If you're not using Labtest Assistant, add the following line to the end of your labtest.allow file in your labtest directory: |
- | | + | |
+ | < | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
+ | | ||
+ | Replace ID with your eClass Quiz ID. | ||
Ensure that the labtest.allow file is readable: < | Ensure that the labtest.allow file is readable: < | ||
- | ===== 2. Provide a Link to Your eClass Quiz in Your Labtest Start Page ===== | + | ===== 4. Provide a Link to Your eClass Quiz in Your Labtest Start Page ===== |
- | Your labtest start page (eg. / | + | Your labtest start page (eg. / |
- | If you're using Labtest Assistant, open your labtest start page using the " | + | If you're using Labtest Assistant, open your labtest start page using the " |
+ | |||
+ | < | ||
+ | Click <a href=" | ||
+ | </ | ||
If you're not using Labtest Assistant, open the index.html file in your labtest directory, and add the link manually. | If you're not using Labtest Assistant, open the index.html file in your labtest directory, and add the link manually. | ||
Line 1072: | Line 1163: | ||
**IMPORTANT** If students try to access " | **IMPORTANT** If students try to access " | ||
- | ===== 3. Restrict IP Addresses Which Can Access Your eClass Quiz From Within eClass ===== | + | ===== 5. Restrict IP Addresses Which Can Access Your eClass Quiz From Within eClass ===== |
Login to eClass. | Login to eClass. | ||
Line 1092: | Line 1183: | ||
* If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | ||
- | ===== 4. Limit the Start and End Time of Your Quiz in eClass ===== | + | ===== 6. Limit the Start and End Time of Your Quiz in eClass ===== |
You will need to limit the start and end time of your quiz in eClass. | You will need to limit the start and end time of your quiz in eClass. | ||
Line 1099: | Line 1190: | ||
* Some faculty would like to use eClass " | * Some faculty would like to use eClass " | ||
+ | * If you're using VPL, you'll need to allow access to the following URL fragments with either " | ||
+ | * eclass.yorku.ca/ | ||
+ | * vpl1.eecs.yorku.ca | ||
* **Always test your eClass quiz using ltcloud! | * **Always test your eClass quiz using ltcloud! | ||
Line 1488: | Line 1582: | ||
Access the Labtest Cloud URL here: | Access the Labtest Cloud URL here: | ||
- | * https:// | + | * https:// |
+ | |||
+ | The best way to access ltcloud is directly from a web browser when you are connected to [[https:// | ||
+ | If you want to access LTCloud directly from your home PC, you can use [[https:// | ||
- | Note that if you are accessing this URL from a non-EECS IP address (such as from home), you must be connected to [[https:// | ||
- | |||
After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | ||
services/labtest/start.1738682073.txt.gz · Last modified: 2025/02/04 10:14 by jas