Technical article 110354

Using pppattach(ADMN) to bring up my outgoing PPP link, I get a "fail" error from pppattach.

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, I get an
error from pppattach that says "fail".  For instance, I might
use the following command to bring up my "test1" manual outgoing
PPP connection:
# pppattach test1

If the command immediately returns an error, "pppattach test1: fail", there is a configuration problem. In this situation, the following error gets logged in /usr/adm/syslog at the same time:

pppd[3624]: pppattach failed: no parameter for 'test1'

Cause

The attachname for "test1" is not configured or is different in /etc/ppphosts.

Solution

You must update the /etc/ppphosts file to include the correct
"attach=" parameter.  In the example above, the correct entry would
appear something like 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.)

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

See also

manual pages pppd(ADMN), ppphosts(SFF)

From the Xinuos technical article database, record 110354. Reproduced with permission. The original is at www.sco.com/ta/110354, 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.