services:labtest:laptop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
services:labtest:laptop [2017/07/14 10:11] – jas | services:labtest:laptop [2018/09/04 14:00] – seela | ||
---|---|---|---|
Line 6: | Line 6: | ||
In order to place laptops into labtest mode, faculty must provide various [[services: | In order to place laptops into labtest mode, faculty must provide various [[services: | ||
+ | ** Laptop labtest was only handled in William Small center | ||
+ | In order to place a laptop in labtest mode, they must be connnected to | ||
+ | the wired network** \\ | ||
+ | **__As of September 2018__**, laptops are replaced by desktops with linux running | ||
+ | on the native box. | ||
+ | You will know when the desktop goes into labtest mode because you will have to click OK | ||
+ | for labtest mode | ||
+ | Tech will create the schedule adding the desktops for 106/108 WSC | ||
- | View the current lab booking schedule [[http:// | ||
- | Please contact tech as soon as possible to schedule your labtest sessions or if there is a discrepancy in your scheduled test. | + | |
+ | |||
+ | View the current lab booking schedule [[http:// | ||
+ | |||
+ | Please contact tech as soon as possible to schedule your laptop | ||
===== Setting Up Your Labtest ===== | ===== Setting Up Your Labtest ===== | ||
+ | Create a top level directory to host your web files: | ||
+ | % mkdir / | ||
+ | Make the permissions group and world readeable, | ||
+ | % chmod 755 / | ||
+ | |||
Create a " | Create a " | ||
% mkdir / | % mkdir / | ||
Line 19: | Line 35: | ||
% chgrp labtest / | % chgrp labtest / | ||
- | Makes sure nobody can access your labtest | + | Makes sure that nobody |
% chmod 700 / | % chmod 700 / | ||
- | Place files in your labtest | + | Place files in your labtest |
+ | |||
+ | **WARNING: | ||
===== Authentication in Labtest ===== | ===== Authentication in Labtest ===== | ||
- | Students will only be able to view your labtest | + | Students will view your labtest page from a web browser on a laptop that is in labtest mode. |
== Passport York Authentication == | == Passport York Authentication == | ||
- | In order to authenticate students via Passport York login, Create a // | + | In order to authenticate students via Passport York account, Create a // |
AuthType Basic | AuthType Basic | ||
AuthName "EECS Laptop Labtest" | AuthName "EECS Laptop Labtest" | ||
AuthType PYork | AuthType PYork | ||
Require valid-user | Require valid-user | ||
- | PYorkAllowEveryone on | ||
PYorkAppID " | PYorkAppID " | ||
Require valid-user | Require valid-user | ||
Line 43: | Line 60: | ||
% chmod 644 / | % chmod 644 / | ||
- | The Passport York module passes additional variables which can be used by custom scripts including: | + | If you authenticate students via their Passport York account, when they go to submit using web submit, they won't have to login again! |
- | + | ||
- | * HTTP_PYORK_VERSION - PassportYork version | + | |
- | * HTTP_PYORK_USER - PassportYork username | + | |
- | * HTTP_PYORK_SESSION_ID - PassportYork session ID | + | |
- | * HTTP_PYORK_CYIN - student number/ | + | |
- | * HTTP_PYORK_FIRSTNAME - first name | + | |
- | * HTTP_PYORK_SURNAME - surname | + | |
- | * HTTP_PYORK_EMAIL - email | + | |
- | + | ||
- | **NOTE: | + | |
== EECS Authentication == | == EECS Authentication == | ||
Line 64: | Line 71: | ||
Require valid-user | Require valid-user | ||
</ | </ | ||
- | |||
- | **WARNING: | ||
===== Securing Your Labtest ===== | ===== Securing Your Labtest ===== | ||
Line 74: | Line 79: | ||
To disable your labtest, run " | To disable your labtest, run " | ||
% ltdisable / | % ltdisable / | ||
+ | |||
+ | ===== Submission During Labtest ===== | ||
+ | |||
+ | During labtest, students will be able to submit files using [[services: | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | (You can add "& | ||
===== Setting Up A Submit Directory ===== | ===== Setting Up A Submit Directory ===== | ||
Line 83: | Line 96: | ||
% chmod 755 / | % chmod 755 / | ||
- | Create a directory to accept | + | Create a directory to accept |
% mkdir / | % mkdir / | ||
Line 97: | Line 110: | ||
For additional information on submit including options to enable/ | For additional information on submit including options to enable/ | ||
- | ===== Allowing | + | ===== Access to Previously Submitted Data In A Labtest ===== |
- | From time to time, you may wish to allow students in labtest mode to access previously submitted content from outside labtest mode. In order to make this happen, all you need to do is change the group of the submit assignment directory from submit | + | From time to time, you may wish to allow students in labtest mode to access previously submitted content from outside labtest mode. In order to make this happen, all you need to do is change the group of the submit assignment directory from submit to labtest, and remove write permission. |
For example: | For example: | ||
- | % chgrp -R labtest / | + | % chgrp -R labtest / |
- | % chmod 750 / | + | % chmod 750 / |
===== Labtest Account Customization ===== | ===== Labtest Account Customization ===== | ||
- | Sometimes, your labtest may require students to download and unarchive files, or run a set of commands | + | Your labtest may require students to download and unarchive files, or run a set of commands |
- | Create a folder | + | Create a directory |
% mkdir / | % mkdir / | ||
- | Copy files into this folder. | + | Since your labtest directory should already restrict access to group labtest |
+ | % chmod 755 / | ||
- | Create a custom shell script called "labtest.sh" in this folder. | + | Copy files into the ltinit directory: |
+ | % cp ~/ | ||
+ | % chmod 644 / | ||
- | You **must** include | + | You can optionally create a custom shell script called " |
+ | #!/bin/sh | ||
+ | |||
+ | mkdir ~/a1 | ||
+ | cp ~/ | ||
+ | </ | ||
+ | |||
+ | Makes sure that labtest.sh is readable. When the file is downloaded, it will be automatically made executable before it is run: | ||
+ | |||
+ | % chmod 644 / | ||
+ | |||
+ | |||
+ | You **must** include | ||
% echo " | % echo " | ||
% chmod 644 / | % chmod 644 / | ||
Line 126: | Line 154: | ||
===== On The Day of Your Labtest ===== | ===== On The Day of Your Labtest ===== | ||
- | At the time of your labtest, a system process will enable | + | At the time of your labtest, a system process will enable |
- | Since EECS laptops don't mount /eecs from our file server, the student | + | Since EECS laptops don't mount /eecs from our file server, the laptop does not have access to / |
- | Students should start the eecs-vbox-common-lab virtual machine, and then start Firefox | + | Students should start the eecs-vbox-common-lab virtual machine, and then start Firefox |
In order to submit files, the student should visit: https:// | In order to submit files, the student should visit: https:// | ||
- | Please make sure that your submit | + | Please make sure that your submit |
- | During labtest mode, the laptops | + | During labtest mode, the laptop |
- | At the end of your labtest, a system process will disable the laptops from entering labtest mode, but you or your TA must reboot the laptops connected to the wired network in order to make the laptop | + | At the end of your labtest, a system process will disable the laptops from entering labtest mode, but you or your TA must reboot the laptops connected to the wired network in order to make them go back to standard Linux mode. If a laptop is returned to the lab monitor without being set back to linux mode, then the laptop |
===== Application Notes ===== | ===== Application Notes ===== | ||
Line 143: | Line 171: | ||
This section will include notes on user experiences using different applications in labtest mode. | This section will include notes on user experiences using different applications in labtest mode. | ||
- | * Android Studio was not happy about working in offline/ | + | * Android Studio was not happy about working in offline/ |
===== Other Information ===== | ===== Other Information ===== | ||
Line 150: | Line 178: | ||
* Students must save and submit files **frequently** throughout the test to avoid loss in the event of machine failure or human error. | * Students must save and submit files **frequently** throughout the test to avoid loss in the event of machine failure or human error. | ||
* At the end of the test, close the permission on the submit directory so that it is no longer readable and writable by group labtest. | * At the end of the test, close the permission on the submit directory so that it is no longer readable and writable by group labtest. | ||
- | * If a student visits the labtest start page from the host O/S, and not the VM, then, when they go to submit their files, they won't see any of the files that they' | + | * If a student visits the labtest start page from the host O/S, and not the VM, then, when they go to submit their files, they won't see any of the files that they' |
- | Since pcmode does not communicate with machines, it will not reboot them at the end of the test or inform that the test is coming | + | * Items in regular labtest that do NOT appear in laptop labtest: automatic rebooting of laptops, automatic warnings at the end of the test, SecureQ (it's available |
- | * Items in regular labtest that do NOT appear in laptop labtest: automatic rebooting of laptops, automatic warnings at the end of the test, SecureQ (it's available, but is impossible if the laptops are laid out randomly), and labtest file synchronization | + | * In your test page, a web link to "/ |
- | + | ||
+ | ====== Laptop Labtest FAQ ====== | ||
+ | |||
+ | == How can I test my labtest? == | ||
+ | |||
+ | - Borrow a laptop from the PRISM Lab (LAS1006). | ||
+ | - Let tech know the name of the laptop that you've borrowed, and where you will be running the test. The laptop will need an IP address on the subnet where you will be doing the testing, and will need to be placed into labtest mode by tech. | ||
+ | - Connect the laptop to the network with an Ethernet cable, and turn it on. The laptop should report that it's in labtest mode. | ||
+ | |||
+ | == How can students access additional resources like Java API, etc. during labtest mode? == | ||
+ | |||
+ | The same set of resources that is available outside labtest mode here: https:// |