College of Engineering Department of Electrical Engineering & Computer Science Instructional & Electronics Support Group /share/b/pub/Summer_Session Mar 6, 2006 Notes for Summer Session Instructors (2006) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here are some notes for you about using the Instructional labs this summer. Kevin Mullally Manager, EECS Instructional & Electronics Support 378 Cory, 643-6141, kevinm@eecs.berkeley.edu Staff Contacts -------------- The lab management staff are in: 333 Soda, 642-9543, 642-1637 378 Cory, 643-6141 386 Cory, 642-7938, 643-6138 We are here every day by 9:00am. To reach us by email send email to inst@eecs.berkeley.edu We are responsible for the computers, accounts, printers and lab. ATDP and CS students are welcome to ask questions and deliver bug reports although it's good if they can ask the instructor about the problem first. We don't help the students with their assignments, but we do want be sure the compilers, editors, etc. are installed properly. WWW References -------------- http://inst.eecs.berkeley.edu - Instructional home page http://inst.eecs.berkeley.edu/software http://inst.eecs.berkeley.edu/share/b/pub/doc/Lab.Reservations.doc http://inst.eecs.berkeley.edu/~cs61a - CS61A class home page http://inst.eecs.berkeley.edu/~cs61b - CS61B class home page http://inst.eecs.berkeley.edu/~cs61c - CS61C class home page http://inst.eecs.berkeley.edu/~cs3 - CS3 class home page http://inst.eecs.berkeley.edu/~atdp5 - ATDP class home page http://inst.eecs.berkeley.edu/~atdp4 - ATDP class home page http://inst.eecs.berkeley.edu/~atdp6 - ATDP class home page Class home pages are on our UNIX server (cory.eecs) and can be maintained by instructors. Printers -------- "lw274" = 3 printers in 274 Soda "lw330" = printer in 330 Soda Remote Access ------------- UNIX accounts: Users who have Instructional UNIX accounts can login to our systems over the Internet using the "ssh" command. Information about Internet access via UCB modems (UCB students only) and commercial services, connectivity procedures and a free download of "ssh" are available from our WB site: http://inst.eecs.berkeley.edu/connecting.html Using "ssh", students can login to these UNIX servers: torus.cs.berkeley.edu - Solaris x86 po.eecs.berkeley.edu - Solaris x86 cory.eecs.berkeley.edu - DEC UNIX Windows accounts: Users who have Windows accounts can use the Remote Desktop Client in WinXP (called Terminal Serices Client in earlier versions of Windows) to logon to iserver2.eecs.berkeley.edu. Changing Passwords ------------------ UNIX accounts: The command is "passwd". Now, they are instructed to login to "po.eecs" to change it, using the "ssh" command. We now require "ssh" instead of standard rlogin or telnet to login remotely to our computers. "Ssh" can be downloaded from http://inst.eecs.berkeley.edu/connecting.html . Windows accounts: Windows users should type the key combination and select "Change Password...". Logging Out ----------- UNIX accounts: To logout, you click on the "EXIT" button at the bottom of the screen, wait a few seconds until a confirmation box pops up, and click on "Continue Logging Out". If you forget the confirmation box, you don't really get logged out and someone could mess with your files after you leave. Windows accounts: Windows users should type the key combination and select "Logout". Email ----- UNIX accounts: UNIX accounts automatically start receiving email. Email sent to the UNIX login at any of our computers is delivered to our email server, "imail.eecs.berkeley.edu". Users can read it using Netscape Messenger or, when logged into one of our UNIX systems, "pine". Windows accounts: Users who only have Windows accounts do not get email on our systems by default. If we enable email for these accounts, students would use Netscape Messenger to read the mail. See http://inst.eecs.berkeley.edu/connecting.html for more information. USENET news ----------- The campus USENET server is news.berkeley.edu. Users can add that to their Netscape preferences and then use the Netscape news reader. Access to news.berkeley.edu is restricted to computers on the UCB campus. See http://inst.eecs.berkeley.edu/connecting.html for more information. Cardkeys -------- Cardkey access is needed for Soda Hall labs only on evenings and weekends. Students who are enrolled at UCB (have UCB student ID cards) and in an EECS or CS course are authorized to get cardkeys; they have to request it from 387 Soda (8am-noon, 1pm-5pm). We start the semester with an enrollment list from TeleBears, but instructors should submit updated class lists (students' names and SID numbers) to me (kevinm@eecs), preferably by email. I'll provide that list to the staff in 387 Soda. Students can then go to 387 Soda (8am-noon, 1pm-5pm). Student ID cards area also used as cardkeys. The cardkey will be enabled for the appropriate labs within 2-3 days. Account Login Sequence ---------------------- UNIX accounts: During a login, these files in a student's directory are executed: .login, which runs ~cs61b/adm/class.login (sets terminal settings) .cshrc, which runs ~cs61b/adm/class.cshrc (sets path, aliases, etc) .dtprofile (sets windowing options) Several subdirectories in an instructor's account (a "MASTER" account) are important for the grading software and class account logins. William Chen in 333 Soda can explain. Windows accounts: During a login, the files in the instructor's "profile" directory are read to setup the student's desktop and registry values. This is a mandatory profile for the students , so any changes that students make to their desktops during the login session will not be remembered. However, if the instructor logs into the instructor account, any changes made to the desktop and registry values will be passed on to all the student accounts. So the instructor should probably use an alternate account for regular use and use the instructor account only to make intentional modifications to the students' mandatory profile. Instructor Access to Students' Accounts --------------------------------------- UNIX accounts: While logged into the instructor UNIX account, the instructor can access a student's files. For example, while logged in as "cs61b", the command "tasu - cs61b-aa" will emulate a login to the cs61b-aa account without asking for a password. You will be placed in the student's home directory. You can read, create and edit files there. Type "exit" to go back to the "cs61b" account. Windows accounts: Student directories are given Full Control by the instructor account by default. However, Windows allows users to change that, so students should be warned not to alter the "Properties" of their Windows files. J++ compilers ------------- UNIX accounts: There are several versions for "java", see /usr/sww/lang/java* You can determine which ones you are getting with the UNIX command "which java javac". Change path in the instructor's ~/adm/class.cshrc file to change the default for all users in the class. Java is available on these Instructional UNIX systems: Solaris SPARC systems: 271 & 273 Soda, quasar.cs, pulsar.cs Solaris x86 systems: 275 & 277 Soda, torus.cs, po.eecs Windows accounts: Microsoft Visual J++ is available on the Windows systems in 330 Soda. For more info, see http://inst.eecs.berkeley.edu/cgi-bin/pub.cgi?file=java.help C++ compilers ------------- UNIX accounts: /usr/sww/bin/gcc is available on Solaris SPARC systems: 271 & 273 Soda, quasar.cs, pulsar.cs Solaris x86 systems: 275 & 277 Soda, torus.cs, po.eecs Windows accounts: Microsoft Visual C++ is available on the Windows systems in 330 Soda. For more info, see http://inst.eecs.berkeley.edu/cgi-bin/pub.cgi?file=g++.help Backgrounding a Program ----------------------- UNIX only: Once you have opened a terminal window, you can start netscape in the background with the UNIX "&" operator, by typing the command this way: % netscape & The "%" shell prompt will reappear, so that you can type additional commands while netscape is running. That means you don't have to keep a terminal window open just to keep netscape running. (end)