Where do I find the lab? Bottom floor of the TB bldg on a regular basis. Occasionally, we might need to meet elsewhere. This would be either the 2nd floor of the TB bldg, or more likely the computer lab in the new Science bldg on the West side of the campus. Update [1/19/98]: It looks like we'll be able to use the lab in the new Science building on a regular basis. Oh joy.
How does one use the lab machine? Follow these simple instructions:
Note: If you are logging in from home, you will need to dial up to your ISP first, then you can telnet in as per the next step.
Additional Note: If you are logging in from anywhere else (i.e. work, the library, some "Internet Cafe" etc.) you will need to go through whatever steps are necessary to get a local login and gain access to the outside world. You should be getting the idea at this point that you need to get on the Internet to access the lab server.
Those of you who are telneting in from a non-command-line based environment will need to enter the appropriate information into whatever application you are using. Just be sure you get the name or the IP address right (that's the 18.104.22.168 thingy) and it should work just fine.
Example #1: My name is Robert Frost. My login name is: robertfr.
Example #2: My name is Lao Tzu. My login name is: laotz. Note that because my first name is only three letters long, my username is shorter. There is no need to feel cheated.
Please note that the username is all lower case. Everyone get it? I sure hope so.
The following is a real-world example of a telnet session in action:
[mwhitley@listserv mwhitley]$ telnet 22.214.171.124 Trying 126.96.36.199... Connected to 188.8.131.52. Escape character is '^]'. Red Hat Linux release 5.0 (Hurricane) Kernel 2.0.33 on an i486 login: markw Password: Last login: Tue Sep 8 12:01:25 from 184.108.40.206 [markw@zonker markw]$
Note that the password was not displayed when I typed it. This is a security feature. Note also how the last line is a shell prompt with the word zonker in it. This means I've arrived. At this point, you can type shell commands to perform actions. Keep your old UNIX notes handy.
One of the first things you should do when you log in to the server for the first time is change your password. This is accomplished by doing the following:
The following is an example of a password change in action:
[markw@zonker markw]$ passwd Changing password for markw (current) UNIX password: New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully [markw@zonker markw]$
That word "successfully" means that it worked.
How do I upload files to the server? Some of you will be doing your homework assignments from home, from work, or from some location other than the lab computer. This means that eventually, you will have to send files to the server. I know this is the case, because that is the only way I will accept your homework. Follow these simple steps to accomplish the task:
If you're interested in finding out more about ftp, you can type help at the ftp> prompt for a listing of common commands. A really handy one is ls which will show you a listing of files. This is useful for checking to see that your file actually uploaded properly.
You might be interested in using some neat-o GUI app for doing uploads like CuteFTP or some such. If so, I hope you can read help files, 'cuz you're on your own as far as I'm concerned.
The following is a real-world example of an FTP session in action:
[mwhitley@listserv mwhitley]$ ftp 220.127.116.11 Connected to 18.104.22.168. 220 zonker.cs.slcc.edu FTP server (Version wu-2.4.2-academ[BETA-15](1) Sat Nov 1 03:08:32 EST 1997) ready. Name (22.214.171.124:mwhitley): markw 331 Password required for markw. Password: 230 User markw logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> ascii 200 Type set to A. ftp> put report.html local: report.html remote: report.html 200 PORT command successful. 150 Opening ASCII mode data connection for report.html. 226 Transfer complete. 5681 bytes sent in 0.0172 secs (3.2e+02 Kbytes/sec) ftp> bye 221 Goodbye. [mwhitley@listserv mwhitley]$
Note that the 'Transfer complete' line that showed up at the end of the transfer. This means it worked.
At some point you may want to edit files up on the server. The Zonker server has a variety of text editors to chose from. The list is currently:
Many of these editors have on-line help (including Vi--press F1, you'll see!). I can offer some modest help and I would like to politely ask that the more knowledgeable students please help those who are less knowledgeable.
If you have a favorite text editor that isn't on there, I can probably install it for you to use. Send me an email or something and I'll look into getting it installed. Also, to the best of my understanding, you can run X apps remotely from Zonker onto the client machines in the lab, so you don't have to do everything through a telnet session. I will double-check the feasiblity of this.
Do not give out your login name and password to anyone. Do not use the school machine to launch denial-of-service attacks (or any other kind of attacks) against a remote system. Do not upload unauthorized copies of commercial software onto the system with the intent of distributing it to your friends. If you find any security holes in the lab machine, kindly tell me about them and I will patch them. In short, use your common sense, and don't act like an idiot.
If you have any questions as to how any of this stuff should work, ask the lab aide, ask a fellow student, or ask me. Whatever you do, don't remain silent; you need to know how to use the lab.
1/19/98 - Added news about being able to meet in the new science building, the news about Zonker being in DNS, and updated password info.