MTU CS Lab:Instructor FAQ
From CSL Wiki
[edit] How to configure submit?
Submit works only in the csl domain. Make sure that you login to a machine in the csl domain before using submit. It stores the submissions in the /submit directory with a separate directory for each course. If your course does not already have a directory, send an email to csmaint to create a course directory. You can configure stuff manually, however, there is also a software available to simplify the task. You can use the GUI program newassign.pl to configure the submit system. All instructors have global access to submit. Using newassign.pl you can add new class, section and program. You can also add graders using the same program.
[edit] How to add a new assignment?
Select the required class and section. Then click Add -> Add Program in newassign.pl. Give the assignment name, deadline and an optional expected file. If you are specifying expected file name, the name should not contain any whitespace characters.
[edit] How to add a grader?
Select the required class in newassign.pl and click File -> Authorize(class) and add the grader to that particular class.
[edit] Who should be the owner of the directory?
The submit directories are located at /submit with a separate directory for each course. The instructor is the owner and has permissions rwx. The submit group is the group owner with rwx group permissions. The output of ls -l on submit directory looks like ,
$cd /submit $ls -l
....
drwxrwx--- 2 pop submit 512 Aug 23 2004 cs1090 drwxrwx--- 5 pop submit 512 Jan 10 15:24 cs1121 drwxrwx--- 3 pop submit 512 Jan 9 10:15 cs1122 drwxrwx--- 3 csmaint submit 512 Jan 26 15:53 cs1129 drwxrwx--- 2 jnfoss submit 512 Jan 9 09:17 cs1131 drwxrwx--- 3 pop submit 512 Jan 18 10:54 cs1721 .....
Note the group permissions. Submit won't work if the group permissions for the submit group is not correct. How to download submissions from submit directory?
Create a local directory to store the downloads and cd to that directory (optional). Create a file recover.dat having the entries class, section and program separated by whitespace. Then run /classes/common/Accept (give the full path) to recover the on-time submissions. You can download the late submissions using /classes/common/Accept.late. Accept creates a new directory by the name of the program in recover.dat where the downloaded submissions are stored. Example for recovering the submissions for cs1111, sec01, first_assignment
$mkdir submit_recover $cd submit_recover $echo "cs1111 sec01 first_assignment" > recover.dat $/classes/common/Accept
To download late submissions:
$/classes/common/Accept.late
You can also use the recover command, but it can download the submission of a single user only.
[edit] How to request for laptop?
There are three laptops (windows, windows & linux, win98) all with internet access. Talk to Cathy to use them. Use the account csguest, with blank password, to login.
[edit] What about internet connection on the laptops?
They use rovernet to connect to the internet. To connect to the internet first open a browser and authenticate using ISO password. [Note: rovernet does not provide any encryption, so it is recommended that you use IPSec, SSL, or SSH to transfer sensitive data]
[edit] Where are the printers located?
In addition to the lab printers, other printers are laser206 located in room 312 and laser205 located in the department office. The graduate students also have access to those printers.
[edit] How to make instructor's web page/ course web page?
Course web pages are stored in /classes/cs####/www. Home.html is the index page. The URL of course page is http://www.csl.mtu.edu/cs####/www/. Make sure that the files have proper access permissions.
[#### - is the course number]
[edit] How do I have new sofware installed in the lab machines?
Send an email to csmaint with the link to the software you want to be installed.
[edit] How do I remove lock file if openoffice crashes?
Openoffice .lock file located in ~/.openoffice.org2.0 directory. The contents of a typical .lock file is
[Lockdata] User=userid Host=brooks.cs.mtu.edu Stamp=CD7EA327D6B18F5699C712F3FD934757 Time=Fri Mar 17 13:05:59 2006 IPCServer=true
Open office warns if a lock file already exists containing different hostname. Choosing "Yes" on the warning updates the old .lock file with current information. You should choose "Yes" only if there isn't any instance of open office running as indicated in the warning. You can also manually delete the .lock file.
