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 test1If 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)