Technical article 110355

Using pppattach(ADMN) to bring up my outgoing PPP link, I don't get any errors but the modem never dials. /usr/adm/syslog shows the error "dial failure".

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

Using pppattach(ADMN) to bring up my outgoing PPP link, the attempt
fails immediately without any errors.  For instance, I might use
the following command to bring up my "test1" manual outgoing PPP
connection:
# pppattach test1

If the command immediately returns to a prompt, but the modem never dials, check /usr/adm/syslog for an error that looks something like this:

Dial failure host '0.0.0.0' using uucp system 'test1' = SYSTEM NOT IN Systems FILE (-13)

Cause

The uucp name for "test1" is not configured, or the uucp= entry in /etc/ppphosts does not correspond to an entry in /usr/lib/uucp/Systems.

Solution

Make sure the "uucp=" parameter in /etc/ppphosts matches up with an entry in /usr/lib/uucp/Systems.

In the example above, the correct /etc/ppphosts entry would appear similar to this:

0.0.0.0:0.0.0.0 uucp=test1 attach=test1 retry=3 mask=255.0.0.0 \ debug=2 idle=1 tmout=5 nomgc

(The exact options may differ, but make sure the attach name is correct.)

And, the corresponding /usr/lib/uucp/Systems entry would look something like this:

test1 Any  ACU Any 18314253502 -\r\d-ogin:-\K\d-ogin:-\K\d-ogin:
pppusername ssword: pppuserpwd

(The exact entry may differ, but make sure the sitename matches \ the uucp= name in /etc/ppphosts.)

If making changes to the /etc/ppphosts file, it is a good idea to stop and restart pppd before attempting to bring up the link again:

# kill `cat /etc/pppd.pid`
# /etc/pppd

This is not necessary if your changes are only to the Systems file.

See also

manual pages pppd(ADMN), ppphosts(SFF), Systems(F)

ta110195, "How can I debug my PPP dynamic or manual outbound dialup connection?"

From the Xinuos technical article database, record 110355. Reproduced with permission. The original is at www.sco.com/ta/110355, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.