Math &
Computer Science
Lab Manual
Math & Computer Science Lab Manual
Table of Contents
Logging In for the First Time5
Epoptes and Screen Sharing through Airplay.. 6
SSH Remote Access to your Files.. 9
To ssh into a Lab Computer from Mac/Linux:. 9
To ssh into a Lab Computer from Windows: 9
SCP - Secure Copying of Files to your Local System.... 10
To scp a file from Mac/Linux:10
To scp into a Lab Computer from Windows:. 10
This
document
contains all frequently asked information and setup questions. It is
designed to be a quick reference document for Math & Computer
Science Lab
users and will posted publicly in the labs.
Each
user
will be given a username and password specific to the
Math
& Computer Science Labs. This paper will be available for
either pick up
at the Math & Computer Science Technical Specialist’s office
(Olin 126) or
can be printed off by the Faculty member as all of the accounts are
emailed to
them upon creation. If you do not receive this paper, please
contact your
professor or the MCSTS.
1.
Login = Whitman Campus
Username
2.
Password = Temporary
password given
to you by professor
3.
On your keyboard, press CTRL+ALT+T
all at once. This will open a terminal.
4.
Next,
type in
the following
command and hit ENTER on your keyboard:
reset-icons
5.
You will be logged out.
6.
Log back in and open another terminal.
7.
Type in
kpasswd command in the terminal
and change your password.
a.
Use your given
password first when prompted.
b.
Please keep in
mind, text on the screen will not appear when you are changing your
password
but the computer is accepting input from the keyboard.
·
Computer A Instructions
o
Open the Terminal and type
in mirror
and
then barrier &
o Once the
application opens, check
the Client checkbox
o In the Server IP: field, type in Computer
B’s name (all lower case)
o Click Start.
o Once prompted click
OK
·
Computer B Instructions
o
Open the Terminal and barrier
&
o Once the
application opens, check
the Server checkbox
o Click the Configure
Server… button
o Drag the Computer icon in the corner to
the
left of the computer in the grid
o Double click the Unnamed computer and change
it to Computer A’s name (all lower case).
o Click OK then click Start
o Toggle Computer
Display
until HDMI appears in the
bottom
right corner of the screen.
NOTE: the mirror command only works on Computer A
·
Open
a Terminal and type
in startx2x
·
Follow
the onscreen prompts
to setup.
·
Keep
in mind, that Computer
B will need to move mouse all the way right to have it appear on
Computer A (Strange
bug won’t let x2x send the cursor to the left).
If
a student is locked out of your account due to a forgotten
password, type in the following command into the Terminal and follow
the on screen prompts: resetpass
If
they remember their password but wish to change it, type in the
following command into Terminal and follow the on
screen
prompts: kpasswd
PLEASE NOTE! You will need authorization from your
instructor or the Math & Computer Science Technical Specialist
to reset
your password. You may be asked to verify your ID. Also, the local
admin
account is NOT your network account. If you have forgotten your
password,
please contact the Math & Computer Science Technical Specialist.
To
run
the i>clicker, type the following
command in
the Terminal: iclicker
PLEASE NOTE! The iClicker software must be running BEFORE you
plug in the
base station. If you encounter errors, you may need to run the setup
file
again. This can be done by typing in setup-iclicker and hitting ENTER on the keyboard to run it. You’ll
need sudo capabilities.
Epoptes allows you manage
the
classroom lab terminals from a streamlined GUI. The software can
only be run from the podium computers
as they act as the server. The lab terminals have a client version,
which runs
automatically upon login.
To
run Epoptes,
type in the following
command in the Terminal: epoptes
The
software
will immediately begin running and start picking up the lab terminals.
In
order
to have a student share their screen through the Apple TV, select DVD/VCR on
the podium touchscreen. Then have the student type in the
following command
into their terminal: airshare
They
will
need to hit CTRL+C to
quit
sharing their screen.
IMPORTANT! Only
one
person can be sharing their screen at the same time. If someone
runs airshare while another person is
currently sharing, it will
take over the current session. If that person quits, the Apple TV will
not
resume the previous session.
When
printing,
selecting Olin124-BW will
print to Olin 124 printer, Olin228-BW
will print to Olin 228,
Olin207-Color will print to the color printer in Olin 207 and Olin207-BW will print to the monochrome
printer in Olin 207. Once print order has been submitted, proceed to the
destination Printing Kiosk in the locations specified above.
1.
On the screen, printing requests are listed on the screen.
2.
Using the keyboard, select the print request.
3.
Hit ENTER on the keyboard.
4.
You will be prompted for your password.
This is your Math & CS Lab account password NOT
your Whitman account password.
5.
The print request will be processed and your account will have the
amount deducted from it.
PLEASE NOTE! The printing system is separate from
the GoPrint system used on campus. It
is only
available to individuals who have an account on the Math &
Computer Science
Lab Computers. However, like the GoPrint
system, each
user is given a preset amount of money to print with. If this amount
hits zero,
please contact Math & CS Tech Specialist.
To
mirror the computer and
projector screens:
1.
Open a new terminal.
2.
Type in mirror and hit the ENTER key. (FYI, this only
works on
Computer A)
To
play
audio out of the Lab Speakers:
1.
Log
in to the podium computer.
2.
Select System Settings.
3.
Click Sound.
4.
Select HDMI Output.
The
display
panel to the left of the Podium computer contains all the commands
you’ll need to operate the projector.
INFO = Contains Contact
for
Technical Support
MUTE
= Mutes Audio (Can also touch the sound bars to mute).
Volume Up / Volume Down
Projector
Power
=
Turns Projector On/Off
Hide Screen =
Hides
projector display, but keeps projector on.
Show
Screen
=
Unhide the projector display.
Comp = Select Podium
computer as
the output.
Guest = Uses HDMI input
located
on top of lectern as output.
Apple
TV
= Displays Apple TV. Remote
on top of lectern in cable box. May need to wake it up by pressing the
center
button on the remote.
THINGS TO NOTE!
-
If you turn the Projector off, wait until the Status Light on the
bottom of the projector turns red before turning it back on again.
-
If nothing is coming up on the screen, a hard reset on the projector
may be required.
Students
and
faculty are able to remote in from home to any of the Math &
Computer
Science computers by connecting through Secure SHell
or ssh.
1.
Open up Terminal.
2.
Type the following command filling in the names where requested:
ssh –A <MathCS_Account>@math.whitman.edu
Example:
ssh –A smithj@math.whitman.edu
3.
If prompted with a yes:no option, type in yes
and hit ENTER
4.
When prompted for a username
or password, use your Student Lab Account.
5.
IMPORTANT: when work is done, type exit in Terminal until
the connections
are closed.
1.
Download PuTTY application from the following website:
a.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
b.
Select PuTTY.exe for Windows on Intel x86
2.
Open up PuTTY by double clicking on it. (It doesn’t install anything,
it is an executable).
3.
Where it asks for a hostname,
type in: math.whitman.edu
4.
Click CONNECT and say yes
to the prompt.
5.
When prompted, type in your Student
Lab
Username and Password.
6.
Here you will need to use a local editor like pico to edit files.
IMPORTANT: when work is done, type exit in PuTTY until the
connections are closed.
Not
only
can students and faculty remote in from home to any of the Math &
Computer Science computers, but they are able to transfer files
between the two
without needing a separate FTP client. This can be achieved through
the use of
Secure Copy.
1.
Open up Terminal.
2.
Type in the following
command
filling in the paths where bracketed:
scp <MathCS_Account>@math.whitman.edu:~/<directory_name>/<file_name> ~/<local_directory_name>/
If
you
need help locating your file in terminal, review the Linux Commands section below. You can also use the SSH
instructions above remote into your
directory and see the files.
3.
When prompted, put in your account password to start the transfer.
4.
Exit the terminal when complete.
Example Scenario:
scp smithj@math.whitman.edu:~/homework/homework1.py
~/Documents/
There are no native SCP capabilities for Windows, so you’ll need to install a File Transfer Protocol program called FileZilla.
1.
Download FileZilla for
Windows
from the following website:
a.
https://filezilla-project.org/download.php?type=client
b.
The file will need to be installed
once it is downloaded.
2.
Open FileZilla.
3.
Fill in the fields at the top with the following information:
a.
Host: math.whitman.edu
b.
Username: <MathCS_Account>
c.
Password: <MathCS_Account_Password>
d.
Port: 22
4.
Click Quickconnect
and Filezilla will connect with your
personal
directory on math.whitman.edu and display it in the right pane under Remote site.
5.
From here, locate the file you
wish to transfer and drag it into left pane under Local site, which contains your local computer file structure.
6.
When
you are
finished copying files, close down Filezilla.
To see who is actively logged into to which station, go to the following link:
http://skink.whitman.edu/cgi-bin/mathlab_finger.pl
FRONT of
CLASS |
|||||
Zeus |
|
|
|
|
|
Coeus |
Athena |
Artemis |
Ares |
Apollo |
Aphrodite |
Hera |
Hephaestus |
Dionysus |
Demeter |
Cronus |
Crius |
Oceanus |
Mnemosyne |
Iapetus |
Hyperion |
Hestia |
Hermes |
Themis |
Theia |
Tethys |
Rhea |
Poseidon |
Phoebe |
To see who is actively logged into to which station, go to the following link:
http://skink.whitman.edu/cgi-bin/cslab1_finger.pl
FRONT of
CLASS |
|||||
Markweiser |
|
|
|
|
|
Anitaborg |
Evinemeth |
Johnmccarthy |
Landin |
Goldstine |
Vonneumann |
Skolem |
Estrin |
Shockley |
Atanasoff |
Keniverson |
Pausch |
Annieeasley |
Jefraskin |
Kaymcnulty |
Jonpostel |
Gertrudeblanch |
Tedcodd |
Emilpost |
Engelbart |
Allennewell |
Zuse |
Mauchly |
Ritchie |
Quine |
Holberton |
|
|
|
|
Nygaard |
Kleene |
|
|
|
|
Noyce |
Bartik |
|
|
|
|
|
|
|
|
|
|
To see who is actively logged into to which station, go to the following link:
http://skink.whitman.edu/cgi-bin/cslab2_finger.pl
FRONT of
CLASS |
|||||||||
Adalovelace |
|
|
|
|
|
|
|
|
|
Al-khwarizmi |
|
|
|
|
|
|
|
|
Jpeckert |
Pnueli |
|
|
|
|
|
|
|
|
Backus |
Gracehopper |
Perlis |
Lamarr |
Brattain |
Fitts |
Dijkstra |
||||
Anwang |
Buituongphong |
Skipellis |
Babbage |
Shannon |
Turing |
To play sound from the podium computer to the external hanging speakers in the labs, you’ll need to change the sound output in the computer. The HDMI cable located in the back of the machine handles the sound and the volume is adjusted via the touch screen controls on the Podium touchscreen.
1.
On
the Podium touchscreen, as seen in the
Projectors section, make sure that the Room
computer option is selected.
2. Log in to the computer and open the System Settings.
3.
Click
on
the Sound option located in
the
Hardware section.
4.
In
the Output tab, in the Play
sound through list, select HDMI/DisplayPort
2 and close the
window.
PLEASE NOTE! There are two
ways to adjust the sound: the output
volume controls in the computer and in the top right corner of
the podium touch screen.
1. On the lectern touchscreen, as seen in the Projectors section, make sure that the Guest option is selected.
2. Open the computer’s sound options and select the HDMI option.
a. For Windows: Control Panel > Sound > Playback tab
b. For Mac: System Preferences > Sound > Output tab
PLEASE NOTE! If you need an adapter, please contact the Math & Computer Science Technology
Specialist.
Should a person not have an account created or if the person should only need a temporary account, they may access any computer via the local account.
Username: local
Password: mcs.training!
Fastest way to find the packages installed is to open a terminal and type in the following commands:
Command |
What
it stands for |
What
it does |
pwd |
print working
directory |
displays the
name of your current directory |
ls -l |
list (long
form) |
displays contents
of your current directory |
ls -ld |
list (long
form, directory) |
displays information
about your current directory |
mkdir dirName |
make directory |
creates a
new directory dirName |
cd dirName |
change directory |
moves you
to directory dirName |
cp sourceFile targetFile |
copy |
makes a
copy of sourceFile, called targetFile |
mv sourceFile targetFile |
move |
renames sourceFile to targetFile |
chmod XXX fileName |
change mode |
changes permissions
on fileName |
There are a number of common problems that the CS/Math lab computers have that can be resolved relatively simply. Here are some well-known ones and their fixes:
Issue: No response from mouse and keyboard
Causes:
- White switch’s USB are not plugged in
- You’ve unplugged and replugged in the mouse and keyboard recently
Solutions:
- Unplug and then plug in USB’s back into the computer and wait 3 minutes
- Restart affected computer with a hard reset (Hold power button for 10 seconds)
Explanation: Since Ubuntu 18.04, the udev package which handles plug and play takes up to 3 minutes to recognize new USB inputs. There is no fix for this.
Issue: Google Chrome will not appear on screen when opened
Causes:
- Monitor is extending the desktop to the second computer
- There is a fatal error (e.g. hard drive failure)
Solutions:
- Open a terminal and type mirror , then hit ENTER
Explanation: Tends to happen only to A computers as the students tend to set them back from Mirroring the desktops to Extending them. The B computers won’t have this happen to them because they can’t be mirrored or extended.
Issue: Cannot log into the machine
Causes:
- Computer has just restarted and needs a minute to connect to the network
- Network communication error
Solutions:
- Wait a couple of minutes and then try to log in
- Hard reset of the computer (hold down the power button for 10 seconds)
Explanation: The network profiles are mounted through NFS. Sometimes it takes a while for it to kick in and mount. Other times, the wake on LAN breaks the the networking service.
Issue: Projector will not come online/no image display
Causes:
- The projector was turned off and on too quickly.
Solutions:
- Hard reset the projector by physically going up to the projector and unplugging and plugging it back in.
Explanations: The particular models in the labs have this issue. Others do not.
Issue: Firefox is locked, won’t respond or is blank
Causes:
-
Unknown
Solutions:
- Close Firefox, open a terminal and type in the following command:
mv ~/.mozilla
~/.mozilla_old
-
Reopen
Firefox.
Explanations:
Not really sure why this happens, but what you are doing is moving
Firefox’s
temporary files and then letting the application recreate them.
Issue:
Every
time Chrome opens up it prompts a password
Causes:
-
You’ve
changed your password to your account at some point.
Solutions:
- Open a terminal and type in seahorse
- The Passwords and Keys form will open.
- In the left side menu, right click Login under the Passwords section and click Delete.
- Agree to the prompt.
- When you reopen Chrome, it will prompt you to enter a password.
-
Input
your login password.
Explanations:
Ubuntu remembers internal passwords and if they change, it can bring
on this prompt.
For additional information or support, please contact the Math & Computer Science Technical Specialist:
Dustin Palmer
Phone # 526-4745
Room # Olin 126
Email csmath.ilt@whitman.edu