Turning on Debugging
Turn on debugging, to see what is *really* going on, not what you thought
you set up.
You are really interested in only a few key points in the debugging output. The debugging format is different for each program, so I will point out what to look for. First, make sure that the computer is really talking to the modem. One of the debugging lines displayed tells you which port the software is trying to use, which speed it is using, and what dialer script it is trying to use. These should match what you configured.
The usual problem at this point is a chat script error. Here is a sample successful login using Irix PPP to a Telebit NetBlazer (my comments are enclosed in braces "{}"):
# ppp -dddd -r slipserv ppp slipserv: LCP initialized ppp slipserv: IPCP initialized conn(Pslipserv) {the name in the Systems file} Device Type ACUSLIP wanted Internal caller type 212 Use Port /dev/ttyf1, acu - /dev/null, Phone Number 5551212 {the tty} /dev/null is open {#1 failure point} filelock: ok filelock: ok dcf is 6 fixline(6, 38400) {note the speed} ACU write ok(null) fixline(6, 38400) set interface 212 processdev: calling setdevcfg(, ACUSLIP) {the Devices entry used} gdial(zy1496) called {the Dialers entry used} expect: ("") {this is in the Dialers script} got it sendthem (DELAY ^MPAUSEATs2=128s0=0^M) expect: (OK^M) {can it can talk to the modem?} ^MATs2=128s0=0^M^M^JOK^Mgot it {Yep! #2 failure point} sendthem (<NO CR>ATdtw5551212^M) {dialing the phone number} expect: (CONNECT) {waiting for the connect...} ^JATdtw5551212^M^M^JCONNECTgot it {connected! #3 failure point} getto ret 6 expect: ("") {starting the chat script in Systems} got it sendthem (<NO CR>^M) expect: (ogin:) 38400/V32b 14400/V42b^M^J^M^J^M^JTelebit's NetBlazer {note the connect speed} Version 2.1^M^J^M^Jslipserv login:got it {#4 failure point} sendthem (Poniboshi^M) {sending the login ID} expect: (assword:) Poniboshi^M^JPassword:got it {#5 failure point} sendthem (??????????^M) {I've protected my password} expect: (enabled) ^M^J^M^JPacket mode enabledgot it {#6 failure point} {now PPP negotiation starts} banner: ^M^J~^¿}#@!}!} } }8}!}$}%\}"}&} } } } }%}&}3^EJ}6}'}"}(}"F^E~ ppp slipserv: saving 53 bytes to salvage ppp slipserv: starting with /dev/ttyf1 debug=2 active_timeout=0 inactive=0 ppp slipserv: IPCP Initial (0)->Starting (1) ppp slipserv: LCP Initial (0)->Closed (2) ppp slipserv: LCP Closed (2)->Req-Sent (6) ppp slipserv: LCP Req-Sent (6)->Ack-Sent (8) ppp slipserv: LCP Ack-Sent (8)->Opened (9) ppp slipserv: MTU=1500 MRU=1500 accm=0 pcomp=y acomp=y my-magic=0x7fb6508b his=0x13854a16 ppp slipserv: entering Authenticate phase ppp slipserv: entering Network phase ppp slipserv: IPCP Starting (1)->Req-Sent (6) ppp slipserv: IPCP Req-Sent (6)->Ack-Sent (8) ppp slipserv: IPCP Ack-Sent (8)->Opened (9) ppp slipserv: 192.48.197.10 to 192.26.51.135 ppp slipserv: rx_vj_comp=y,tx=y rx_compslot=n,tx=n rx_slots=16,tx=15 {now PPP is up and running}
Note: Details will vary between IRIX releases and patches, and depending on what server you are dialing into.
If you get a timeout at any point instead of going on to the next part, this should be a strong indication of which part of the configuration to go back and re-check. The following details are numbered to match the {#N failure point} in the listing above:
I hope and intend that this documentation can help you with your PPP connection problems. My other commitments (like work) permitting, I will attempt to help you on issues not covered, or that you are unclear on. Please make sure that you provide me a valid return email address! (I won't try to fix it).
Scott Henry <scotth@sgi.com>
Last modified: Wed Sep 13 14:59:54 1995