Using the New HEP PPP Server

10/22/98, JMB

The UND HEP modems on phone lines 631-4093 and -4094 have been connected to a pc which is a ppp server, such as is on the campus dialin system. PPP means Point-to-Point Protocol, and is a method of running a single internet connection over a dialup phone line. These modems are USRobotics Sportster modems at up to 28,800 b/s or 33,600 b/s. The HEP ppp server is named pomeron.hep.nd.edu. It is a 486 pc running Linux, a (free, mostly) variation of Unix for the pc. It has the home directories on /u6 mounted. Thus, logging into pomeron is the same as logging into any of the IBMs. (If your login directory is not on /u6, you will not be able to log into pomeron. See Jim about resolving this.)

Dialing in from a terminal window on a Mac or pc (or a dumb terminal) is much the same as before, except that when pomeron requests an id, you must give it your HEP IBM id and password. Once on pomeron, use telnet to get to any of the HEP computers.

If you have never logged into the campus lines with ppp, you should get the OIT document on Dialin applications for Mac or Windows, and get the FreePPP software from the Campus MacServer, or the corresponding package for Windows, via a floppy disk from the OIT Help Desk or from NDAccess. On older Macs there has been a MacPPP that does about the same thing; see the comments below on possible problems for older Macs. On a Mac you may want to try the OpenPPP included with MacOS 8.1; however, it is less automatic, both for connecting and switching between dialin destinations. If you do not have Netscape, Eudora, telnet and Fetch/ftp on your system, get them also from the server; these are available as a set of applications for network use, for both Mac and pc.

On the Mac, do the Quick Config PPP item that the installation of FreePPP puts on your desktop, to configure for the campus dialup server at phone number 631-4792, with your campus afs id and password. For Windows, follow the instructions in the Windows dialup document from OIT. On the Mac, you will have to also go to the TCP/IP control panel and tell it that tcp/ip is operating over the modem rather than ethernet. There may well be a similar requirement on a Windows pc. Because this may need to be changed back and forth on a Powerbook or laptop, you may want to make an alias (or shortcut on Windows) on your desktop for the TCP/IP control panel. In this control panel, you may want to make multiple configurations, which you select by the Configurations item under the File menu. Make the configurations in a manner similar to what is described below for the ppp configuration. Details of doing this vary with the versions of MacOS and Windows.

To use ppp to the HEP server, you must duplicate and modify the setup for ppp to the campus server. The following instructions are explicitly for the Mac, but should be similar for a pc. Open the ppp setup item (FreePPP Setup under the Apple menu). If you see no Configurations item under the File menu or as a tab in the PPP window, you may have to click a triangle in the window to display the tabs. (Turn on balloon help to help find this.) Configure the modem (under the Modem button of the General tab) to be whatever type your modem is. Under the Accounts tab, you should see see an entry for ND and buttons for Edit, New, Duplicate and Delete. First Duplicate the ND entry and rename it to HEP. Then Edit the HEP entry. First change the connection phone number to the above HEP number. The HEP numbers are not on a "rotary" as the ND dialin server; that is, it will not try the other number when the first one is busy. You may want to make 2 HEP entries, one for each number. Then Edit the connection script, and in the Wait for line between your password and the line with "ppp" in it, change the ">" to a "$" (no quotes), because the prompt on pomeron is the $. These 2 changes are all the differences between dialing the ND server or the HEP server. If your username and password is not the same on HEP and the ND server, you will have to change these also in your connection script. Now when you are dialing in, you will go to the button with the current destination or to the account tab and select which server you want.

There is one more thing that must be changed or added to each user's .cshrc file in /u6 (or to each .profile if you are using bash instead of tcsh). The following line must be inserted into each .cshrc:
alias ppp "exec /usr/sbin/pppd -detach"
For users who had no .cshrc, a minimal version, .cshrc_minimal, has been copied into your home directory, or is available to copy from /usr/local/ndsys, renaming it to .cshrc. This minimal version contains this ppp alias.

Once ppp says you have connected, you may then open Netscape, Eudora, Telnet or Fetch/ftp to get to your choice of computers, HEP or elsewhere, exactly as you would open these when connected to ethernet at ND, but at a somewhat slower speed. With ppp, you are an Internet node, but not an X-Windows display, unless you have separately installed an X-Windows product, such as Exodus, on your Mac or pc.

For older Macs, there may be several complications. First, if your password is different for HEP than for the ND server/clusters, you cannot use the old MacPPP, as it will not allow a password change. You must replace it with the version of FreePPP that resides on the ND Macserver. Assuming you are not going to haul the system you want to use to ND, you need to make the disk, or borrow Jim's disk. To make the disk, go to Distributable Stuff, ND Network related, then dialup, and Make disks folder. You need only the ppp disk so double click the ppp item. If it appears to start but does nothing, your Mac is confused as to what to open. Then drag the PPP script to the Disk copy application lower in the folder. This will make the disk for you. Install it on your home system by inserting the disk and double clicking the installer icon. It should restart your machine. Then do the Quick Config PPP described above.

Once you have done this, you may be operational and maybe not (I was not). If you open the FreePPP Setup in the Apple menu and the Connect button is grayed out, and the message that the FreePPP extension is not installed or is not selected, you need to go to the MacTCP (or AdminTCP) control panel and, regardless of whether it appears that FreePPP is selected, select another option in the window and then reselect the FreePPP icon, and close the window. It will say that your Mac must be restarted, but it is not necessary, because the message in the FreePPP Setup window will change to Not Connected. Also, rebooting may not help at all; I found I had to redo this after every reboot.

If you click Connect and it cannot find the modem, you need to click the Modem Setup button in the FreePPP window, and then scroll the Connected to: item to some other port and then back to your Modem and click OK. If it still does not work, you may need to go to the Accounts tab and select Edit, and in that window select the Connection tab. In that, you may need to lower the Port speed for older Macs, and possibly enter something for the Modem init string. If there is nothing in this init string, just type in "at" (no quotes). Then click OK. Then click Connect and you should connect. This may be necessary more than once, but should not be necessary on each reboot.

One more possible problem, once your are logged in with PPP to pomeron, you may get a message that it cannot find any nameserver. If you get this, it is probably because the gateway address is wrong. Open the MacTCP/AdminTCP control panel and click More. In the lower left is the gateway address. This must be 129.74.77.250 for HEP and 129.74.251.250 for ND dialin. To change this, you must select Manual Address at the top, then click on and retype the gateway, then reselect Server at the top. You must reboot for this to take effect. If this same thing now happens when you dial in to the ND number, you must repeat this to the ND gateway, including the reboot. This appears to be needed each time you wish to switch between HEP and ND dialin. If your changes do not survive reboot, check with Jim who is investigating this further.