pppd on Solaris

From: Farzad Hejazi (FHejazi@cdnow.com)
Date: Mon Jun 24 2002 - 12:08:25 EDT


I'm trying to get ppp working on Solaris 8.
I can get the modem to dial manually but it does not seem to work using ppp.
Below is the daemon version that I have installed.

 PKGINST: SUNWpppdu
      NAME: Solaris PPP daemon and utilities
  CATEGORY: system
      ARCH: sparc
   VERSION: 11.8.0,REV=2001.02.21.14.02
   BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
      DESC: Daemon and utilities for Point-to-Point Protocol (PPP)
    PSTAMP: on28-patch20011113000049
  INSTDATE: Jun 19 2002 12:06
   HOTLINE: Please contact your local service provider
    STATUS: completely installed
     FILES: 7 installed pathnames
                 3 shared pathnames
                 3 directories
                 4 executables
                 1 setuid/setgid executables
               613 blocks used (approx)

Below are my config files. My problem seems to be the chat script which does
not dial. I can dial manually with 'cu' but the command 'pppd call pnc'
fails with the following error in the log:

serial speed set to 115200 bps
connect option: '/usr/bin/chat -v -f /etc/ppp/pnc-chat' started (pid 2292)
Calling PNC

Connect script failed
serial speed set to 115200 bps
connect option: '/usr/bin/chat -v -f /etc/ppp/pnc-chat' started (pid 2321)
Calling PNC

Connect script failed
serial speed set to 115200 bps
connect option: '/usr/bin/chat -v -f /etc/ppp/pnc-chat' started (pid 2330)
Calling PNC

Connect script failed

Here are the config files:

/etc/ppp/options:

debug
lock
nodefaultroute
noproxyarp
logfile log

---------------------------

/etc/ppp/pnc-chat:

TIMEOUT 10
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO ANSWER'
ABORT 'ERROR'
REPORT CONNECT
"" "AT&F1"
OK "AT&C1&D2"
SAY "Calling PNC\n"
TIMEOUT 120
OK "ATDT81412490xxxx" # Commented out for security reasons...
CONNECT \c

--------------------------

/etc/ppp/options.cua.b:

38400 # default baud rate for this port
asyncmap 0xa0000 # work around broken peers

--------------------------

/etc/ppp/peers/pnc:

cua/b
115200
crtscts
connect "/usr/bin/chat -v -f /etc/ppp/pnc-chat"
user userid # my account name at my ISP
noauth # do not authenticate the ISP's identity (client)
noipdefault # assume no IP address; get it from ISP
nodefaultroute # Don't install default route
updetach # log errors and CONNECT string to invoker
noccp # ISP doesn't support free compression
debug

-------------------------

I have looked in the list Archive but have not found anyone who had a
similar problem as I am having now.

Thanks in advance for any suggestions or advice!
Farzad
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:30 EDT