University of California at Berkeley Department of Electrical Engineering & Computer Science /usr/pub/ppp.help /usr/pub/slip.help /usr/pub/home-ip.help June 10, 1997 CONTENTS: What is "Home IP"? Home IP Accounts are Now Required for Modem Access Home IP for EECS Users How to get a Home IP account if you do not have an SID Step-by-Step Actions for Connecting from Home Reporting Problems Setting up a UC Berkeley Home IP Account The BIK (Berkeley Internet Kit) Setting up routing from UNIX MacPPP Notes Glossary Further Assistance What is "Home-IP"? ------------------ "Home-IP" is a computer network service that allows a computer using a modem to use Internet network software as if it were connected to an ethernet network. Users can dial into a campus modem from home and, by typing the appropriate commands, establish a home-IP link through the campus modem server. This requires a specific "home-IP" account and password; these are not related to any other computer account and password that you may already have on campus. Once you are connected via a home-IP link, you could login from your home computer to other computers where you have accounts. Or, you could just work on your home computer and use network-based software such as Netscape. IS&T offers Serial Line Internet Protocol (SLIP) and Point to Point Protocol (PPP) service through its modem banks. SLIP and PPP, with appropriate software, provide internet access over a modem link. All UCB staff and students are eligible for this service. In addition, EECS has some additional modems for SLIP and PPP access that are available to EECS users only. Home IP Accounts are Now Required for Modem Access -------------------------------------------------- Until the summer of 1996, users who did not wish to use Home-IP could dial into UCB modems and type "telnet" or "rlogin" to login to other computers. In June 1996, the central campus ("IS&T") modems were changed so that a password was required before the modems would allow even this non home-IP usage. The passord that is required is the "Home-IP" password, so now ALL users of the modems must have a home-IP" account and password (whether they intend to use home-IP or not.) Starting on August 26, 1996, local EECS modems will also require home_IP passwords. Home IP for EECS Users ---------------------- EECS students, faculty and staff can use the central campus modems as well as additional EECS modems for home IP. The EECS modems are supported by the EECS Technical and Computing Services group. To establish a home IP account on the EECS modems, all users should first generate a home IP account on the IS&T central campus modems, via the command telnet home-ip.berkeley.edu from any networked computer (see below for more information). Once a day, the EECS home ip records are updated from the IS&T central campus records. An EECS home IP account is created for all users who are affiliated with EECS: this includes faculty, staff and all students who are enrolled in an EECS course via TeleBears. "EECS" includes EE and CS. Affiliation with the EECS department is determined by information received from the UC Payroll department and Student Information Services. The home IP accounts of students on the EECS Instructional UNIX computers will be active as long as they have an active EECS Instructional account. If your home IP account does not work on the EECS modems and you believe it should, you can send your account name and student ID or employee ID number to "dialups@eecs.berkeley.edu". Also explain how you are affiliated with EECS. Here are the EECS modem numbers and who can use them: 510/642-6679 - EECS Instructional users 510/642-0070 - EECS Instructional users 510/642-5131 - All other EECS users 510/643-9600 - IS&T modems; all UCB users EECS Home IP users are encouraged to use these lines instead of the general campus 510/643-9600 number. Please read /usr/pub/dialups on any Instructional UNIX system for more information about the modems. Please note that the UC Berkeley Computer Use Policy, the Home IP policy and any relevant EECS policies apply. How to get a Home IP account if you do not have an SID ------------------------------------------------------ Home-IP accounts (a username and a password) are required to use any UCB campus modems, including the EECS modems. Users are expected to supply their student or employee ID numbers when requesting a home-IP account. Users in groups such as CS Reentry, visiting scholars and UC Extension are not issued SID numbers by the University. These user should: 1- Go to 206 Evans Hall and fill out an Eligibility Application (bring whatever proof of eligibility you have). This will allow you to set up a home-ip account for the IS&T modems (643-9600), by running "telnet home-ip.berkeley.edu" from an existing computer account. 2- Send email to "dialups@eecs.berkleley.edu", saying what ID number has been assigned to you, and asking that you be given access to the EECS modems (642-0070 and 642-6679 for users with Instructional accounts, 642-5131 for non-Instructional users). Step-by-Step Actions for Connecting from Home --------------------------------------------- 1. Setup and test your basic modem capability: Install and test your modem. A successful test would be to dial into another modem and see readable text on the screen. You might use modem dialer software on your home computer that came with your modem or with your home computer. The modem numbers you might dial into include EECS or other UCB modems, or the modems of any commercial service such as America OnLine or Netcom. When dialing into the EECS modems, you should see a prompt such as annex-64-21-port-9 > The Annex is a specialized computer that has numerous modems and only allows you to pass through it to other computers on the net. From the EECS Instructional Annex, you should be able to login to any Instructional computer, such as cory.eecs and cochise.cs, using the "telnet" or "rlogin" commands. This is the basic serial-line dialup capability. You typically work in the single login session, and this does not require a graphical windowing system on your home computer. You could use a "dumb terminal" connected directly to your modem or a program such as "terminal" in MS-Windows. A program such as /usr/sww/bin/screen can give you multiple sessions within this basic non-graphics setup. If you have MS Windows, you can use the NCD XRemote program to display X Windows windows on your home computer from the Instructional systems (DEC only). Xremote does not require a Home IP connection. See /usr/pub/Xremote.help for more details. 2. Setup and test your Home IP software: See the sections "Setting up a UC Berkeley Home IP Account" and "The BIK (Berkeley Internet Kit)" elsewhere in the document you are now reading. Once you have set up Home IP (SLIP or PPP) on your computer, you can test it with the "ping" and "resolver" options in the BIK "IP Resolver" feature. For example, you could enter the hostname "ns1.berkeley.edu" and expect the "resolver" option to reply something like: ns1.berkeley.edu - 128.32.136.9 Some computers have more than one numeric network address, but if any one of them is displayed, that means that your computer has sucessfully connected over the net to a "nameserver" (a computer that takes the name of the computer and returns the number). This will allow you to use any other Internet computer name successfully in programs such as Netscape. If the resolver fails to return a number for a computer whose name you are certain is valid, then it is still possible that your Home IP connection is good but the nameserver itself is unreachable for some reason. You can test for that possibility with the "ping" option. The name "ping" is taken from sonar; it bounces a signal off the remote computer. If you enter the computer name, the "ping" option replies: ns1.berkeley.edu - 128.32.136.9 [Responded] If access to the nameserver is not working, you can enter the numeric address of a computer instead; "ping" can handle either. If you enter "128.32.136.9", a successful "ping" responds: 128.32.136.9 [Responded] 3. Your Home IP address and accessibility: Once you have established a UC Berkeley Home IP (SLIP or PPP) connection, your home computer is connected as a unique computer on the Internet. If you had selected the name "america" for your home computer, the fully-qualified Internet computer name would be "america.hip.berkeley.edu". (Home IP connections through other sites, such as Netcom or Pipeline, will have different fully-qualified names). Internet users from anywhere in the world can use commands like these to talk to your computer (when you are connected): ping america.hip.berkeley.edu (tests basic connectivity) finger @america.hip.berkeley.edu (if you have set up a finger server) mail you@america.hip.berkeley.edu (if you have set up an email server) telnet america.hip.berkeley.edu (if you have set up a telnet server) rsh america.hip.berkeley.edu (if you have set up an rsh server) ftp america.hip.berkeley.edu (if you have set up an ftp server) NOTE: It is not a good idea to encourage people to send email to your Home IP address, because your computer will often be disconnected from the net and the email deliveries may bounce back to the senders. CAUTION: If you set up servers that allow outside users to access your computer, you are taking a security risk. Be certain that you understand how the software is configured so that you do not allow undesired access. 3. Running Netscape, telnet, rlogin: With a Home IP connection, you can run programs that use the Internet to connect to other computers. In the BIK, the programs Netscape, telnet, ftp, remote shell and finger are all network-based programs. With "telnet", you can dial into other computers just as you could from the "annex" prompt in step (1) above. One difference is that access is no longer restricted (by the Annex) to EECS computers. There is currently no "rlogin" program in the BIK, but users with Linux and other verisons of UNIX will probably find "rlogin" there. 4. Running X Windows on your home computer: X Windows is the primary network-based windowing system for UNIX computers and is the defacto standard for any computer on the Internet. If you wish to run X-based programs (such as GSI and Powerview) on the EECS UNIX computers from your home computer, you'll need to have an X Windows server running at home. The UCB campus provides the programs Exceed for MS-Windows systems and MacX for Macintoshes. These are available for free for UCB students, faculty and staff only, from the campus servers Tuna (PC software) and Cornucupia (Mac software). These servers can be investigated using http://tuna.berkeley.edu and FTP at tuna.berkeley.edu. http://cornucopia.berkeley.edu and FTP at cornucopia.berkeley.edu. See /usr/pub/XWindows.help for more details. 5. Using Kerberos authentication: Kerberos is a feature that avoids the need for typing a clear-text password that may be read by illicit "sniffers" on the net. Kerberos is available and recommended for use on the EECS Instructional computers, but it is not required. Home IP users who have registered for Kerberos on the EECS computers can also use Kerberos on their home computer. Please see /usr/pub/kerberos.help for details about setting up and using Kerberos. 6. Once all that is installed and tested, here are the steps: - dial in, login to your Home IP account to establish your net connection - (optional: use Kerberos to get a "ticket") - use "telnet" to get logged in to a campus computer where you have an account; note that this account and password are not related to your home IP account name and password. - in your PC or Mac X Windows software, set the security options to allow access from the campus computer to which you have logged in. This can be the "xhost" or "xauth" methods. - start the PC or Mac X Windows server. - in the "telnet" window, set your local computer as the X Windows display using the "setenv DISPLAY" command. For example: setenv DISPLAY america.hip.berkeley.edu:0 - in the "telnet" window, run the UNIX program that uses X Windows ("xterm" is an easy test). Windows generated on the remote computer should pop up on your home screen, and you can be proud that you have accomplished that! - when you are finished, you will be safer if you disable the X Windows access from the campus computer (and destroy your Kerberos ticket if you have one), especially if you will continue using your Internet connection before shutting down your home computer. Reporting Problems ------------------ Any problem report should include: - your name - your student ID or employee ID number - your home IP account name - your home IP computer name - NOT your home IP password (insecure if send in email) - the modem number(s) you dial when the problem occcurs - whether you run "SLIP" or "PPP" - when or how often the problem has occured - a description of the symptoms There are 2 technical groups involved with the home IP accounts for EECS users. If your problem occurs on the IS&T modems, please report it to: home-ip@home-ip.berkeley.edu OR drmicro@garnet.berkeley.edu (voice: 510/642-8899) If your problem is unique to the EECS modems, please report it to: dialups@eecs.berkeley.edu (voice: 510/642-6744) Setting up a UC Berkeley Home IP Account ---------------------------------------- This information was taken from the WWW home page http://www.net.berkeley.edu/dcns/modems/hip/hip_setup.html on November 22, 1996 and may become outdated. Please read that home page, if you can, to get the latest information. |============================================================================ | Data Communications & Network Services | University of California, Berkeley | | | How To Set Up a Home IP Account | | --------------------------------------------------------------------------- | | | This document describes how to setup a Home IP account, via the | automated Home IP Account Creation Program. | | Preliminaries | | In order to use the Home IP service to it's fullest, DCNS recommend | that you have both a personal computer, and a high speed modem. | | Note that in the course of creating your account, you will be asked | for your Student/Staff ID, a hostname and a password. So you might | want to have them ready. Note hostnames have to be unique among Home | IP clients, so have alternatives, in case the name you wanted is | taken. This prevents getting stuck with a lousy name, thought up in | five seconds. | | You will need to transcribe some host information that will be assigned | to you, so having a paper and pencil handy would also most probably be | a good thing. | | | Creating the Account | | The account creation process is an automated process. To start it, | telnet to home-ip.berkeley.edu,and log-in as home-ip. This will put you | into the Home IP Account Creation, Maintenance & Info menu system. | | Before actually creating your account, we ask that you first read the | three documents under "Policy and Appropriate Use": "Policies regarding | the Home IP service", the "UC Berkeley Computer Use Policy", and | "Enforcement". In order to create an account you have to agree to abide | by these rules. | | After reading the Policies, return to the main menu, and select the | 'Create an Account' option. This starts the account creation process. | | The first thing you will be asked, is to agree to the 'Home IP Account | Use Agreement'. | | After that you will be prompted for your name, Student/Staff id, and your | birth day and month. The program then looks the information up in our | Customer database. | | Accounts will be created for faculty, staff, and full time students only. | | If you are successfully validated, you'll be asked for a hostname. | Hostnames must be between 4 and 16 characters, contain only letters, | numbers or a dash (-) and start with a letter. Since you will not get a | chance to change your hostname during your stay at UC Berkeley, we would | like to remind you to choose something you like and will not tire of. | | The last thing you'll be prompted for is the password to your Home IP | account. Because it will not be printed on your screen when you type it | in, you will be asked to retype it to make sure there were no typos. | | Please remember your password. | | After choosing your password, your account will be created, after it is | created, you should get a message like this: | | -------------------------------------------------------------------------- | | Your account has been created. It will be available for use in | approximately one hour. | | Your account information is: | | Name: BENNETT,WILLIAM | Annex Username: drug-czar | Account Status: Enabled | | Hostname: drug-czar.HIP.Berkeley.EDU | IP Address: 136.152.64.14 | | Gateway/Router Address: 136.152.64.1 | Nameserver Address: 128.32.136.9 and/or 128.32.136.12 | | Annex Phone Number: 510/643-9600 | | Please copy this information down. | You will need it when configuring your Client | | -------------------------------------------------------------------------- | | As noted, please copy this information down, as you will need it in | configuring the software on your Home IP client. | | Client Software | | Workstation Software Support has bundled packages of SLIP/PPP software | for the Macintosh, DOS, Windows, and several of the major Unix platforms. | | If you have a less common home computer, you might try posting for | information on Usenet. The newsgroups to read and post questions on are | ucb.net.home-ip.discussion, the Berkeley local newsgroup that deals with | the home-ip service, and comp.protocols.ppp, the global newsgroup | discussing SLIP and PPP software. | | After Getting Up and Running | | There are two newsgroups for the Home IP service: | | ucb.net.home-ip.announce for announcements (moderated) | ucb.net.home-ip.discussion for questions & answers, and | discussion about the Home IP service. | | While we would like people to read both groups, we only ask that all | Home IP users read ucb.net.home-ip.announce for the latest announcements. | | If you are posting to the group with a question about a particular | operating system or software package, it is courteous to include this | information in the subject line, ie: | | Subject: [PC/Windows] Where can I get mosaic? | | This allows people to skim over the messages they know nothing about. | | To change your Home IP account password, use the menu system used in | creating the account. | | If you forget your password, you must bring a picture ID and your valid | student or staff ID to User & Account Services, 206 Evans Hall, 10am to | 4pm weekdays to request a new password. | | Written by William Robertson . Comments welcome. | |============================================================================ The BIK (Berkeley Internet Kit) ------------------------------- The Berkeley Internet Kit is a boxed set of 1.4MB floppy disks and manuals provided to UCB students by the IS&T campus-wide computing support group. It includes Netscape, ftp, telnet, finger, network drivers and other utilities. The BIK connects your home computer to the Internet via your SLIP/PPP account. There are versions for Windows-based PCs and for Macs. Information about obtaining and installing these versions is available on-line, as listed below. Announced 01/26/96 in the "ucb.net.home-ip.announce" newsgroup: | Version 5.0 of the BIK for Windows 95/3.x is now available | online at this URL: http://depot/software/remote/bik50.html | | The Berkeley Internet Kit for Macintosh release 1.1 is available - | | - From the Workstation Software Support Group's Berkeley Macintosh | Support Web site at: http://cobweb.berkeley.edu/bik.nclk | | - From the Cornucopia AppleShare file server, in the "Workstation | Support" AppleTalk zone, on the "Supported Software" disk, in | the "Networking:Berkeley Internet Kit 1.1" folder. | | (Cornucopia is also accessible via the World-Wide Web at URL: | http://cornucopia.berkeley.edu/ and FTP at cornucopia.berkeley.edu.) | | For changes in this release and a list of BIK 1.1's contents, see the | BIK "version history" page . You may also purchase the BIK at: 1. The Scholar's Workstation, University Hall * 2. 238 Evans ** 3. Evans Microcomputer Facility (basement of Evans) ** * cash or personal checks, no IOCs or CARS ** Departmental Fund Transfers or CARS using form, no personal checks or cash) Setting up routing from UNIX ---------------------------- Users of Linux and other versions of UNIX at home can use the 'dip' program to initiate the SLIP connection. 'dip' is included with Linux. Once 'dip' is installed on your disk, you can find help in the directories /usr/docs/dip and with the command 'man dip'. Note that the "default" command found in the sample 'dip' scripts may not set up your network routing properly. It assumes that the system you dial into for SLIP will handle your routing, but our Annexes do not serve as routers. Instead, the Annex must pass all of your outgoing network traffic to another gateway/router system. You can use 'route' to set that up. For example, let's assume these network addresses: - the Annex you dial into is "136.152.64.31" - the gateway/router address you were assigned is "136.152.64.1" First, run 'dip' to create your SLIP connection to the Annex. You can verify that the SLIP connection exists by typing "ifconfig" and "netstat -i" (the SLIP interface is generally called "sl0"). If you don't see a SLIP interface, then 'dip' did not work. Be sure your modem is OK (you can use the "term" command in 'dip' to test basic Hayes commands) and that you have "SLIP" compiled into your kernel (you may have the 'dmesg' command, which will display the bootup messages and should show that the SLIP driver is installed). Then, test your connection to the outside world: % ping 136.152.64.31 % ping 136.152.64.1 The first one tests the connection to the Annex, the second one tests the connection to the gateway/router. The first will probably work (0% packet loss is good), the second will probably not. See "man ping". You can use the 'route' command to configure your local routing table so that outgoing trafic will be sent to the gateway/router via the Annex: % route add 136.152.64.31 sl0 % route add -net 136.152.64.0 gw 136.152.64.31 sl0 See "man route" for more info. Also see the related Linux HOWTO doc: http://sunsite.unc.edu/mdw/HOWTO/NET-2-HOWTO-9.html MacPPP Notes ------------ Some users reported problems conmnecting to the 28.8 KB modems using the MacPPP connect script. The solution is for the script to send an extra , to sync the modem speed on the campus modems. On the very first line of the "connect script", check the box "out", put "\d\r" in the text field, and check the box. The \d is what made the difference. Glossary -------- IS&T Information Srvices and Technology at UCB DCNS Data Communications and Network Services at UCB IP Internet Protocol IP address Unique address assigned to a machine on the internet (for example uclink has the address 128.32.136.7) hostname alpha-numeric name associated with an IP address. (for example cory.eecs.berkeley.edu) Nameserver Machine that translates a hostname into an IP address. Gateway A machine that sit on multiple networks and forwards messages between the two. Any message your computer sends will pass through many gateways, but you only need to know about the one closest to you in order to get your message sent to the right place. Further Assistance ------------------ Here are other ways to find help: - Read the newsgroups ucb.net.home-ip.announce ucb.net.home-ip.discussion - Note especially the article in ucb.net.home-ip.announce called: "The Home IP Service Frequently Asked Questions + Answers" - Using Netscape, Mosaic, or your favorite Web browser, read the home pages http://www.net.berkeley.edu/dcns/modems/hip/hip_setup.html http://www.net.berkeley.edu/dcns/modems/dialup-services.html If you forget your Home IP password, contact the IS&T administrators of the campus Home IP database: home-ip@home-ip.berkeley.edu OR drmicro@garnet.berkeley.edu (voice: 510/642-8899). The password database for the EECS Home IP service is taken from the campus database. If your access is denied unexpectedly, you may reach a human at: 510/642-8899 (if you are faculty/staff/student at UCB) 510/643-5383 (if you are faculty/staff/student in EECS) EECS Instructional Systems Support 384/386 Cory, 333 Soda root@cory.eecs.berkeley.edu