Chapter 2. Setting Up an ISDN Connection

There are several steps involved in setting up your Indy so it can communicate across an ISDN connection. It may take several weeks to set up the connection, depending on how quickly you can obtain the appropriate hardware and services from your local telephone company.

This chapter guides you through all the steps in the process. Be sure to read “Prerequisites for Using ISDN” before any other section; if your situation does not satisfy the prerequisites, you will not be able to use an ISDN connection.

This chapter contains these sections:

Prerequisites for Using ISDN

An ISDN connection is basically a network connection between two systems that transfers information over a high-speed telephone line rather than an Ethernet cable. Your Indy has the appropriate internal hardware to support ISDN connections, but your situation and location must have these characteristics:

  • The remote system that you plan to connect to using ISDN must already be set up to use ISDN; that is, it must already have ISDN hardware, software, and services in place. See also “Requirements for Remote ISDN Systems.”

  • Your system must be geographically located near a telephone switching office that offers ISDN services. Typically your system must be within 2 or 3 miles (3 or 5 kilometers) of such an office. See also “Ordering ISDN Services and Hardware.”

  • You need a telephone jack. If you have a standard jack that supports only one telephone number, your local telephone company can easily split the jack so it can support both the existing telephone number and a new, dedicated ISDN telephone number.

    If you do not have a jack, or you already use two telephone numbers on your existing jack, you can have the telephone company or an electrician install a new telephone wire and jack.

Ordering ISDN Services and Hardware

If your situation meets all the prerequisites listed in “Prerequisites for Using ISDN,” you are ready to order your services and hardware.

Ordering ISDN Services

Contact your telephone company, and go through the list of questions and ordering requests in this section with a person qualified to set up ISDN services.

  1. Make sure your telephone company can provide BRI (Basic Rate Interface) ISDN services to your location. Typically your system must be within 2 or 3 miles (3 or 5 kilometers) of a telephone switching office that offers ISDN.

  2. Tell the telephone company that you want a BRI (not PRI) ISDN connection.

  3. When they ask about the B channels and D channel, tell them:

    • You want circuit-switched data on both B channels. You do not want X.25 (also called packet-switched data); you do not want voice or any of the additional voice-related services (such as call hold, consultation hold, 3-way conference, etc.).

    • You want standard signalling on the D channel. You do not want X.25 (also called packet-switched data), or any additional services.

  4. U.S. Customers Only: Ask what type of switch hardware and switch software your telephone company uses. It will be one of four types:

    • 5ESS hardware running 5ESS Custom software

    • 5ESS hardware running 5ESS National ISDN 1 software (also called NI1 software)

    • DMS100 hardware running BCS level 31, 32, 33, or 34 (Protocol Version 1) software

    • DMS100 hardware running BCS level 35 or higher (Protocol Version 2) software (also called DMS100 National ISDN 1 or NI1 software).

    The telephone company representative may know only the hardware or the software type, but not both. If this is the case, ask the representative to research both the software and hardware types.

  5. U.S. Customers Only: The telephone company will request information about your Indy (they may refer to it as an ISDN terminal, Customer Premise Equipment (CPE), or a Terminal Adapter (TA)). The information they need about the Indy varies depending on the type of switch software the telephone company uses.


    Note: Some telephone companies will not require the detail listed here; they will automatically assume you have a type D terminal, which provides you with a superset of the services you need.

    The list below shows the switch software type and the appropriate information.

    5ESS Custom 

    Terminal Type: E
    Number of Call Appearances: None
    Display: No
    Idle Call Appearances: None
    Autohold: No
    Onetouch: No
    No. of Circuit-Switched Data Channels: 2
    EKTS: No
    Data Line Class: point-to-point


    Note: If you plan to connect more than one device to the ISDN line, your Data Line Class is point-to-multipoint, or just multipoint.


    5ESS NI1 

    Terminal Type: A
    Number of Call Appearances: None
    Display: No
    Idle Call Appearances: None
    Autohold: No
    Onetouch: No
    No. of Circuit-Switched Data Channels: 2
    EKTS: No

    DMS100 BCS level 31, 32, 33, or 34 (Protocol Version 1) 


    Dynamic TEI: Yes
    Maximum number of Keys: 3
    Ringing Indicator: No
    EKTS: No

    DMS100 NI1 

    Dynamic TEI: Yes
    Maximum number of Keys: 3
    Ringing Indicator: No
    EKTS: No

  6. U.S. Customers Only: The telephone company may ask these additional questions:

    • Does the system have automatic or fixed TEI (Terminal End Identifier)? It has automatic TEI.

    • Is the system functional or stimulous? It is stimulous. (This applies only if the telephone company's hardware is DMS100.)

  7. German Customers Only: Ask the telephone company whether their switch runs 1TR6 or NET3 software.

  8. Ask for your ISDN telephone number(s) and SPID (Service Profile Identifier) number(s). The information the telephone company provides varies depending on the type of switch software it uses. The list below shows the switch software type and the information you need.

    Write down your switch software type and the telephone number(s) and, if necessary, SPID number(s).

    • 5ESS Custom: One telephone number. The telephone company may provide you with a corresponding SPID number; you need to know the SPID number only if you are setting up a point-to-multipoint connection rather than the standard point-to-point connection.

    • 5ESS NI1, DMS100 BCS level 31, 32, 33, or 34 (Protocol Version 1), or DMS100 NI1: Two telephone numbers and two corresponding SPID numbers.

    • NTT, 1TR6, or NET3 (also known as Euro-ISDN or DSS-1): One telephone number.

  9. This should be enough information for the telephone company to set up your ISDN service. If they need more information about your system, see “Technical Background” for more detailed technical information.

    Before you end your conversation with the telephone company, ask whether you're speaking with the correct person to:

    • Order addtional hardware from the telephone company, or from another vendor that the telephone company recommends. See “Ordering ISDN Hardware.”

    • Set up long distance calling service for the line. You must do this if you plan to connect to systems that are located outside of your local telephone area code.

Ordering ISDN Hardware

If you live in Japan or Germany, once you've ordered your ISDN services as described in “Ordering ISDN Services,” your local telephone company automatically ships you the additional ISDN hardware you need to connect to a telephone jack.

If you live in the U.S., you need to explicitly order additional ISDN hardware from your local telephone company, or from another vendor that your telephone company recommends. When you order the hardware, make sure it includes all the appropriate cables. The list below itemizes every piece of equipment and cabling necessary to connect your Indy to a standard telephone jack.

  • An NT1 device: This small device (about the size of a standard VHS video tape) converts the standard 2- or 4-wire telephone jack signal (also called a `U Interface') to an 8-wire ISDN signal (called an `S/T Interface').

  • A power supply unit for the NT1 device: This is roughly the same size as the NT1 device; it supplies power from a standard AC outlet to the NT1 device.

  • A power cable: This connects the power supply unit to the AC outlet. Typically this cable is already connected to the power supply unit.

  • A short, straight-through RJ-45 cable: This connects the NT1 device to the power supply unit (this usually is included with the power supply unit).

  • A longer straight-through RJ-11 cable: This is the standard cable that you use to connect a telephone to a standard jack. With an ISDN connection, you use it to connect the power supply or NT1 device to the jack.

  • A 5- to 7-foot straight-through RJ-45 cable: This 8-wire, high-speed cable with RJ-45 connectors on both ends connects the NT1 device to your Indy.


    Note: This is not the same type of cable that you use for a 10BaseT connection.

    If your telephone company does not supply this cable, you can order it from a number of vendors, including Silicon Graphics, Inc. (part number X5 ISDN) and Inmac.

When all your hardware arrives and your ISDN services are ready (see “Ordering ISDN Services”), go on to “Setting Up the ISDN Hardware.”

Setting Up the ISDN Hardware

There are a wide variety of NT1 devices available in different countries. This section shows a sample setup that consists of an Indy, a Northern Telecom Meridian NT1 device, a Northern Telecom Meridian power supply unit for the NT1, and a telephone wall jack.


Note: These instructions are more current and complete than those in the Indy Owner's Guide.

Regardless of the type of NT1 device you have, the connection works in this way:

  1. The wall jack supplies a standard, RJ-11 telephone jack; this is called the U interface.

  2. Connect one end of a standard, 4-wire RJ-11 cable to the wall jack (U interface), and connect the other end to the RJ-11 port on the power supply unit (if you have one) or the NT1 device. This port should be labelled with a `U'.

    If you have both a power supply unit and an NT1 device, connect the RJ-11 cable to the wall jack and to the U port on the power supply, then connect the very short RJ-45 cable to the jacks labelled with a U and a solid and dashed line on both the power supply unit and the NT1 device. Also connect the power cable on the power supply unit to a standard A/C outlet.

  3. Connect one end of a straight-through, 8-wire RJ-45 cable to either of the RJ-45 ports on the NT1 that are labelled `S/T'. Connect the other end of this cable to the ISDN port on the Indy, which is labelled with an icon of a telephone.


    Note: On a new Indy, the ISDN port will be covered with a red sticker. Remove the sticker, then connect the cable.


See Figure 2-1 for a setup that includes both an NT1 device and a power supply unit.

Figure 2-1. A physical ISDN connection between an Indy, an NT1 device, a power supply unit, and a telephone jack.


When all the hardware is set up, see “Setting Up the ISDN Software.”

Setting Up the ISDN Software

Only the Administrator of a system (the person who knows the root password) can set up ISDN software. It involves these three steps:

  1. Install the UUCP, PPP, and ISDN software. This online book is part of the ISDN software, so UUCP, PPP, and ISDN are already installed.

  2. Configure system files for basic ISDN use; see “Setting Up Basic ISDN.”

  3. Build a list of remote ISDN systems and networks that you want to access; see “Building a List of Remote ISDN Connections.”

Once your ISDN software is set up and you are able to access other systems, you can also provide your ISDN information to remote systems so they can access your system; see “Letting Other ISDN Systems Access Your System.”

Setting Up Basic ISDN

To set up basic ISDN, you need to know what type of switch software your telephone company offers, and, for 5ESS NI1, DMS100 BCS level 31, 32, 33, or 34 (Protocol Version 1), or DMS100 NI1, you need two telephone numbers and their corresponding SPID numbers. You should have obtained this information in “Ordering ISDN Services.”

Also, you need a hostname and IP address for your system. You can get this information from the network administrator of the network to which you plan to connect.

To set up basic ISDN, the Administrator should follow these steps:

  1. If you haven't already logged in as root through a shell window, do so now.

    • Choose “Unix Shell” from the Desktop toolchest.

    • Position your cursor within the new window and type:

      login root

      If a prompt for a password appears, type the password then press <Enter>. If a prompt appears but the root account has no password, just press <Enter>.

  2. Assign your system a hostname and IP address, and turn on basic networking.

    • In the shell window, type:

      /usr/Cadmin/bin/cnet

    • In the window that appears, enter your hostname in the field labeled This interface's name and enter the IP address in the field labeled IP address, then click the box next to Turn on networking for this port.

    • Click the OK button.

    • If you changed your hostname or IP address, several notifiers appear. Click OK in all the notifiers except for the one that asks if you want to restart the system; click Cancel in this notifier, since you'll restart the system later on.


      Note: If you see an error notifier that reports that there is a problem with your Ethernet connection, click the Snooze button in the notifier. In the next step you'll turn off this message.


    • Click the Cancel button in the Network Setup tool to dismiss its window.

  3. If you do not have an Ethernet cable connected to your system (if ISDN is the only type of networking you're using), turn off the message by hand for now, and create a startup script that will suppress unnecessary error messages that inform you that the cable is disconnected. Type:

    /usr/etc/ifconfig ec0 down

    cd /etc/rc2.d

    (Type the following command on one line, not two.)

    ln -s ../init.d/isdn.no_ethernet S31isdn.no_ethernet


    Note: If you plan to use the Ethernet connection and the ISDN connection simultaneously, do not issue these commands. See “Using ISDN and Other Networks Simultaneously.”


  4. Use the ISDN Setup tool to give the system information about the switch software.

    • Choose “Set Up ISDN” from the “ISDN Manager” rollover menu in the System toolchest.

    • In the ISDN Configuration window that appears, choose your switch type from the Switch Software Type menu button.

    • Depending on the type of switch software you choose, some text-entry fields may appear. For details on filling in these fields, click the Help button in the ISDN Configuration window.

    • When the information is entered correctly, click the Apply button, then click the Close button.

  5. The basic ISDN software is set up. Go on to “Building a List of Remote ISDN Connections.”

Building a List of Remote ISDN Connections

Once your basic ISDN software is set up (see “Setting Up Basic ISDN”), you can build a list of the remote locations (systems and networks) that you want to access using your ISDN connection.

The instructions in this section assume that your Indy is not connected to any other type of network; that is, they assume that the only networking cable that is connected to your system is an ISDN cable, and that no other network interface software is in use on your system. If this is not the case, see “Using ISDN and Other Networks Simultaneously.”

For each remote location to which you will connect, ask the system or network administrator (also known as an Internet Service Provider) for this information:

  • an ISDN/PPP login account that lets you access the location using ISDN.

  • a password for the ISDN/PPP login account at the remote location

  • the ISDN telephone number(s) of the remote location

  • if your Indy is not connected to a local Ethernet network, ask for a valid IP address for your Indy

  • the Internet Service Provider may give you an IP address to use only when accessing the remote location, and may also provide the IP address of the remote system.

Once you have this information for one or more remote locations, you can set up the connection(s) by following these steps:

  1. Choose “Set Up Call” from the “ISDN Manager” rollover menu in the System toolchest.

  2. Choose “Setting Up a New PPP Connection” from its Help menu and follow those instructions.

  3. Unless otherwise advised by your Internet Service Provider or network administrator, turn off the active routing daemon(s) (for more information, see “Changing Network Routing”) by typing:

    /etc/chkconfig routed off

    /etc/chkconfig gated off

  4. Go on to “Turning On and Testing the ISDN Connection.”

Turning On and Testing the ISDN Connection

Once you have set up the basic ISDN software (see “Setting Up Basic ISDN”) and you have given your system information on how to access at least one remote system (see “Building a List of Remote ISDN Connections”), you can turn on and test the connection.

Only the Administrator can turn on and test the connection by using the PPP Setup tool or IRIX commands.

To use the PPP Setup tool:

  1. Choose “Set Up Call” from the “ISDN Manager” rollover menu in the System toolchest.

  2. Start (open) the connection by clicking to select the connection that you want to start, then clicking the Start Connection button.

  3. After a few moments, try to access a remote system whose name and IP address you specified in the Network Setup tool by opening a shell window and typing:

    /usr/etc/ping <hostname>

    For example, if the hostname is mars, you'd type:

    /usr/etc/ping mars

    After 10 seconds, press <Ctrl-c>.

    If you see a message that reports 0% packet loss, the connection is working. Go on to the next step.

    If the message reports a large percentage of packet loss, the connection or network routing is not working. See “Troubleshooting the ISDN Connection.”

  4. Customize your ISDN setup, or start using the connection now.

To use IRIX commands:

Only the Administrator can turn on and test the connection by following these steps:

  1. If you haven't already logged in as root through a shell window, do so now.

    • Choose “Unix Shell” from the Desktop toolchest.

    • Position your cursor within the new window and type:

      login root

      If a prompt for a password appears, type the password then press <Enter>. If a prompt appears but the root account has no password, just press <Enter>.

  2. Start a connection that you set up using the PPP Setup tool by typing:

    ppp -r <connection name>

    For example, to start the connection named mars, type:

    ppp -r mars

    After several seconds, you'll know the connection is established and ready to use when you see a message similar to this:

    ppp[395]<connection name> IPCP1 ready: <IP addr> to <IP addr>

    If you see a different message, see “Troubleshooting the ISDN Connection.”

  3. Verify whether the remote system has accepted your password and is running PPP by opening another shell window (do not use the window in which you started the connection) and typing:

    netstat -C

    Look for the line that starts with ppp0. If no asterisk (*) appears after ppp0, the connection is working. If an asterisk appears, it is not working; see “Troubleshooting the ISDN Connection.”

    To stop the netstat command and return to the system prompt, type:

    q

  4. After a few moments, try to access a remote system whose name and IP address you specified in the Network Setup tool by opening a shell window and typing:

    /usr/etc/ping <hostname>

    For example, if the hostname is mars, you'd type:

    /usr/etc/ping mars

    After 10 seconds, press <Ctrl-c>.

    If you see a message that reports 0% packet loss, the connection is working. Go on to the next step.

    If the message reports a large percentage of packet loss, the connection or network routing is not working. See “Troubleshooting the ISDN Connection.”

  5. Close the connection by typing:

    <Ctrl-c>

  6. Customize your ISDN setup, or start using the connection now.

Adding Remote Systems to the /etc/hosts File

The /etc/hosts file contains a list of all the remote systems that your system can access once the ISDN connection is open. Each line of the file contains an IP address and a hostname. You'll add one line per system using the Network Setup tool.

Only the Administrator can add remote systems by following these steps:

  1. Start the Network Setup tool by double-clicking theNetwork Setup icon in the Administration Tools pane of the System Manager window.

  2. In the Network Setup window, click the Add Hosts button.

  3. In the Add Hosts window, click in the Host Name field and enter the system's name, click in the IP address field and enter its IP address, then click the Add button.


    Note: Note: This does not add the system to the host list, just to the icon panel. To remove the system from the icon panel, select its icon and click the Delete button.


  4. Update the host list (/etc/hosts) with all the systems shown in the icon panel by clicking the Apply button; then click the Cancel button to close the Add Hosts window.

  5. In the Network Setup window, click the Cancel button

Letting Other ISDN Systems Access Your System

To let other ISDN systems access your system, follow these steps:

  1. Choose “Set Up Call” from the “ISDN Manager” rollover menu in the System toolchest.

  2. In the window that appears, choose “Incoming” from the Configure menu.

  3. Enter a login name and create a password. For more details, choose “Setting Up a Login Account for Incoming Calls” from the Help menu.

  4. Click Apply.

  5. Give the person who will access your system via ISDN and PPP this information:

  6. Make sure your /etc/ppp.conf file contains this line:

    _ISDN_INCOMING reconfigure

    If the line does not appear in the file (it should be the very last line), add the line using a text editor.

  7. If you are concerned with system security, you may want to add more information to your /etc/ppp.conf file; see “Using a System Security Scheme.”

Troubleshooting the ISDN Connection

The troubleshooting information in this section covers many common error conditions. If you find you need more detailed information, see the ppp man page.

To troubleshoot most efficiently, this section shows you how to use a shell window and issue direct PPP commands.

Troubleshooting Guidelines

  1. Make sure all physical connections are solid, and that the NT1 device is powered on. If you had to solidify a connection or power on the NT1 device, restart the system, and try using ISDN again.

  2. Run the confidence test. If there is a problem with your basic ISDN setup (the physical connection, the system software installation, the edits in the /etc/config/isdnd.options file, or the connection to the telephone company), this test will report it.

    • Log in to a shell window as root, then type:

      /etc/init.d/isdnd stop

      killall ppp

    • Choose “Run Confidence Tests” from the System toolchest.

    • In the Confidence Tests window, double-click the ISDN icon. (You may need to use the scroll bar to find the ISDN icon.)

    • After a few moments, a notifier appears.

      If the notifier reports a problem, follow the instructions that the confidence test gives you for correcting the problem.

      If the notifier tells you your ISDN connection is ready to use, type:

      /etc/init.d/isdnd start

    • Try establishing the connection using the shell window by typing:

      ppp -r <connection name>

  3. If your system is still reporting error messages when you type ppp -r <connection name>, check “Error Messages During the Initial Setup” and “Error Messages from an Established Setup that Usually Works” for possible solutions.

Error Messages During the Initial Setup

This section lists various error messages that you may encounter during your initial setup of ISDN. Typically you'll see these messages after trying to connect to a remote system for the first time by typing ppp -r <connection name>. The messages may appear in your shell window, or in the /var/adm/SYSLOG file.

For more informative error or status messages when trying to make a connection, follow these steps:

  1. Open another shell window, and in the new window type:

    isdnstat

    When you actually place the call in the next step, isdnstat reports the progress of the call. For more details, see the isdnstat man page. To stop isdnstat from running, type:

    q

  2. In the shell window in which you're logged in as root, place the call and request additional information from PPP by typing:

    ppp -r <connection name> -d

    The window in which you started isdnstat changes to show the progress of ISDN, and the window in which you typed the ppp command gives you information about PPP.

    You can request even more information by adding additional -d flags to the ppp command line, but this will introduce security problems. See the ppp man page for details.

This section covers these error conditions:

Unknown Switchtype

Unknown switchtype “<switchtype>

This means there is a problem with the edits you or the ISDN Setup tool made in your /etc/config/isdnd.options file.

  1. Check your entry in this file (see “Setting Up Basic ISDN” for details); in particular, make sure:

    • the line in the file that describes your telephone company's switch software type is the only line that does not start with a pound sign (#)

    • if your switch software type is DMS100 or 5ESS NI1, that your SPID numbers contain the appropriate number of digits (typically 11 - 13), and your phone numbers contain only 7 digits.

  2. If you make any changes to the file, save the changes, then type:

    /etc/init.d/isdnd stop

    /etc/init.d/isdnd start

Login Failed

ppp[348] <conn name>: fatal error “LOGIN FAILED” on try #2

ppp[348] <conn name>: giving up for now

This message may appear immediately (within 3 seconds) after trying to make the connection, or may appear after several seconds.

If you see the message immediately, your system cannot access the ISDN line through your NT1 device, typically because the NT1 is powered off, or the telephone line is unplugged. Check that all connections are solid and the NT1 is powered on, then follow these steps:

  1. Open a shell window, log in as root, then type:

    /etc/init.d/isdnd stop

    /etc/killall ppp

    /etc/init.d/isdnd start

  2. Wait 30 seconds, then try again, requesting more error or status information, by typing:

    ppp -r <connection name> -d

  3. If you see the same error message, there may be a problem with the telephone company's switching software. Contact them to report the problem.

If you see the Login Failed message after several seconds, there is a different problem; for example, the remote system may be down or its ISDN connection may already be in use. For more information, follow these steps:

  1. Open another shell window, and in the new window type:

    isdnstat

    When you actually place the call in the next step, isdnstat reports the progress of the call. For more details, see the isdnstat man page. To stop isdnstat from running, type:

    q

  2. In the shell window in which you're logged in as root, place the call and request additional information from PPP by typing:

    ppp -r <connection name> -d

    The window in which you started isdnstat changes to show the progress of ISDN, and the window in which you typed the ppp command gives you information about PPP.

System Not in Systems File

ppp[434] <connection name>: fatal error “SYSTEM NOT IN Systems FILE” on try #2

ppp[348] <connection name>: giving up for now

The above message means there is a problem with the telephone number that you entered in the PPP Setup tool.

  1. Start the tool by choosing “Set Up Call” from the “ISDN Manager” rollover menu in the System toolchest.

  2. Select the connection from the list of connections, then check the telephone number(s).

    If the telephone number is outside of your local area code, the telephone number entry must exactly match what you would dial on a telephone to call the number. For example, for connections between two U.S. locations that are in different area codes, it must consist of 11 digits (1 + area code + 7-digit phone number).

  3. If you make any changes to the phone number, save the changes, then click the Start Connection button or type ppp -r <connection name> in a shell window again.

Failed to Find Entry in /etc/ppp.conf

ppp[483] <connection name>: failed to find entry labeled `mars' in /etc/ppp.conf -- assume defaults

ppp[483] <connection name>: fatal error “LOGIN FAILED” on try #2

ppp[483] <connection name>: giving up for now

The above message means the system cannot find a connection with the name you typed. Check the PPP Setup tool to make sure the connection name you're typing matches the one you specified in the tool.

Missing Devices or Device Types

Device Type ISDN wanted
Requested Device Type Not Found
Call Failed: NO DEVICES AVAILABLE

One or more of the above messages indicates that the file /etc/uucp/Devices is either missing information or is corrupted. Verify that the file contains these two lines:

ISDN isdn/modem_b1 - 38400 direct
ISDN isdn/modem_b2 - 38400 direct

If the lines are missing, add them to the file and save the changes, then try the ppp -r <connection name> command again.

Error Messages from an Established Setup that Usually Works

This section lists various error conditions and messages that you may encounter when starting an ISDN connection that usually works. The messages may appear in your shell window, or in the /var/adm/SYSLOG file.

For more informative error or status messages when trying to make a connection, follow these steps:

  1. Open another shell window, and in the new window type:

    isdnstat

    When you actually place the call in the next step, isdnstat reports the progress of the call. For more details, see the isdnstat man page. To stop isdnstat from running, type:

    q

  2. In the shell window in which you're logged in as root, place the call and request additional information from PPP by typing:

    ppp -r <connection name> -d

    The window in which you started isdnstat changes to show the progress of ISDN, and the window in which you typed the ppp command gives you information about PPP.

    You can request even more information by adding additional -d flags to the ppp command line, but this will introduce security problems. See the ppp man page for details.

This section covers these error conditions:

Login Failed

ppp[348] <connection name>: fatal error “LOGIN FAILED” on try #2

ppp[348] <connection name>: giving up for now

This message may appear immediately (within 3 seconds) after trying to make the connection, or may appear after several seconds.

If you see the message immediately, your system cannot access the ISDN line through your NT1 device, typically because the NT1 is powered off, or the telephone line is unplugged. Check that all connections are solid and the NT1 is powered on, then follow these steps:

  1. Open a shell window, log in as root, then type:

    /etc/init.d/isdnd stop

    /etc/killall ppp

    /etc/init.d/isdnd start

  2. Wait 30 seconds, then try again, requesting more error or status information, by typing:

    ppp -r <connection name> -d

  3. If you see the same error message, there may be a problem with the telephone company's switching software. Contact them to report the problem.

If you see the Login Failed message after several seconds, there is a different problem; for example, the remote system may be down or its ISDN connection may already be in use. For more information, follow these steps:

  1. Open another shell window, and in the new window type:

    isdnstat

    When you actually place the call in the next step, isdnstat reports the progress of the call. For more details, see the isdnstat man page. To stop isdnstat from running, type:

    q

  2. In the shell window in which you're logged in as root, place the call and request additional information from PPP by typing:

    ppp -r <connection name> -d

    The window in which you started isdnstat changes to show the progress of ISDN, and the window in which you typed the ppp command gives you information about PPP.

Network is Unreachable

<connection name>: Network is unreachable

The above message means that your system cannot determine the correct route to take to access the remote system.

  1. Check your /etc/ppp.conf file, and make sure your entry for the connection that you tried to open contains this line:

    add_route

    Add this line to the entry if it was not already there.


    Note: The add_route line establishes a static default route. If your Internet Service Provider or network adminstrator requires a different type of routing (for example, if you have a routing daemon turned on), contact that person and describe your problem. See also “Changing Network Routing” and the gated and routed man pages.


  2. Open another shell window, and in the new window type:

    isdnstat

    When you actually place the call in the next step, isdnstat reports the progress of the call. For more details, see the isdnstat man page. To stop isdnstat from running, type:

    q

  3. In the shell window in which you're logged in as root, place the call and request additional information from PPP by typing:

    ppp -r <connection name> -d

    The window in which you started isdnstat changes to show the progress of ISDN, and the window in which you typed the ppp command gives you information about PPP.

  4. If you still cannot access the system, you may have a different routing problem. See “Changing Network Routing.”

Unknown Host

<hostname>: Unknown host

The above message means that the system that you are trying to access does not appear in your /etc/hosts file.

  1. Add the system to the /etc/hosts file as described in “Adding Remote Systems to the /etc/hosts File.”

  2. Try to log in to the system again.