Hi there, I'm trying to dial into work where we've recently gotten a new modem setup that requires PAP authentication, and it's being a little picky with me :-/ It'll throw you right off if it senses that you try to do a terminal connection, so I've set up the following simple chat-script to do the dialing : 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO DIALTONE' 'ABORT' 'Authentication failure' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' 'TIMEOUT' '45' '' 'ATZ' 'OK' 'ATDT<our-phone-number>' 'CONNECT' \d\c The last '\c' is crucial to avoid getting thrown off immediately, but something is still not working :-( When I use it, the modem dials fine, the other end picks up and starts chatting, but it seems like pppd never starts listening for the PAP stuff. According to the debug log the "Connect script failed" Jan 19 23:38:55 localhost pppd[4890]: pppd 2.3.11 started by root, uid 0 Jan 19 23:38:57 localhost chat[4891]: abort on (BUSY) Jan 19 23:38:57 localhost chat[4891]: abort on (ERROR) Jan 19 23:38:57 localhost chat[4891]: abort on (NO DIALTONE) Jan 19 23:38:57 localhost chat[4891]: abort on (Authentication failure) Jan 19 23:38:57 localhost chat[4891]: abort on (Invalid Login) Jan 19 23:38:57 localhost chat[4891]: abort on (Login incorrect) Jan 19 23:38:57 localhost chat[4891]: timeout set to 45 seconds Jan 19 23:38:57 localhost chat[4891]: send (ATZ^M) Jan 19 23:38:57 localhost chat[4891]: expect (OK) Jan 19 23:38:57 localhost chat[4891]: ATZ^M^M Jan 19 23:38:57 localhost chat[4891]: OK Jan 19 23:38:57 localhost chat[4891]: -- got it Jan 19 23:38:57 localhost chat[4891]: send (ATDT<our-phone-number>^M) Jan 19 23:38:57 localhost chat[4891]: expect (CONNECT) Jan 19 23:38:57 localhost chat[4891]: ^M Jan 19 23:39:42 localhost chat[4891]: alarm Jan 19 23:39:42 localhost pppd[4890]: Connect script failed Jan 19 23:39:42 localhost chat[4891]: Failed Jan 19 23:39:43 localhost pppd[4890]: Exit. BUT I can't find out WHY it failed. It would be really nice if the debug message said something like "Connect script failed with status x" so I could go back and look at the man page for chat to find out what went wrong. Now, given that this is what I get, does anyone have any good ideas about what I might want to try to do differently ? I've used the 'debug' and 'kdebug 25' options for pppd, but aside from what's shown above it doesn't log anything. And that's despite the fact that the other end of the connection is sending me lots of stuff (judging from the sound it sounds like the server side of a PAP authentication, but I may have missed a few bits ;) Any help is much appreciated ! Rasmus - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED]
