hi,
I have trouble connecting a linux-box via callback to a cisco router,
using a modem (kernel 2.2.13-smp, pppd 2.3.11).
the cisco configuration should be ok, it already servers many clients.
any hint is highly appreciated!
I've set "callback <my number>" in /etc/ppp/options
and the cisco has a fixed dial-back number configured.
In the pppd-manpages I've read about an option
"+callback" without a number -
for negotiation, but it doesn't accept +callback. why?
I've attched a part of the logfile and /etc/ppp/options.
The initial connection is established properly using PAP,
after a while the callback failes ("Authentication failed")
like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
May 25 12:20:48 SGTS-BONPRIX-LNX-2 pppd[15859]: pppd 2.3.11 started by
<user>, uid 0
May 25 12:20:48 SGTS-BONPRIX-LNX-2 pppd[15859]: Perms of /dev/modem are ok,
no 'mesg n' neccesary.
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: timeout set to 500 seconds
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: abort on (NO CARRIER)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: abort on (BUSY)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: abort on (NO DIALTONE)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: abort on (ERROR)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: send (+++ATZ^M)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: expect (OK)
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: +++ATZ^M^M
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: OK
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: -- got it
May 25 12:20:49 SGTS-BONPRIX-LNX-2 chat[15860]: send (ATE1Q0&C1&S0DT<CISCO's
NUMBER>^M)
May 25 12:20:50 SGTS-BONPRIX-LNX-2 chat[15860]: expect (CONNECT)
May 25 12:20:50 SGTS-BONPRIX-LNX-2 chat[15860]: ^M
May 25 12:21:27 SGTS-BONPRIX-LNX-2 chat[15860]: ATE1Q0&C1&S0DT<CISCO's
NUMBER>^M^M
May 25 12:21:27 SGTS-BONPRIX-LNX-2 chat[15860]: CONNECT
May 25 12:21:27 SGTS-BONPRIX-LNX-2 chat[15860]: -- got it
May 25 12:21:27 SGTS-BONPRIX-LNX-2 chat[15860]: send (^M)
May 25 12:21:27 SGTS-BONPRIX-LNX-2 pppd[15859]: Serial connection
established.
May 25 12:21:27 SGTS-BONPRIX-LNX-2 pppd[15859]: Using interface ppp0
May 25 12:21:27 SGTS-BONPRIX-LNX-2 pppd[15859]: Connect: ppp0 <-->
/dev/modem
May 25 12:21:28 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <auth pap> <callback CBCP> <magic 0xf3
May 25 12:21:31 SGTS-BONPRIX-LNX-2 pppd[15859]: rcvd [LCP ConfReq id=0x67
<asyncmap 0xa0000> <auth pap> <magic 0x32217cef> <pc
May 25 12:21:31 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP ConfAck id=0x67
<asyncmap 0xa0000> <auth pap> <magic 0x32217cef> <pc
May 25 12:21:31 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <auth pap> <callback CBCP> <magic 0xf3
May 25 12:21:34 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <auth pap> <callback CBCP> <magic 0xf3
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: rcvd [LCP ConfReq id=0x68
<asyncmap 0xa0000> <auth pap> <magic 0x32218c44> <pc
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP ConfAck id=0x68
<asyncmap 0xa0000> <auth pap> <magic 0x32218c44> <pc
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <auth pap> <callback CBCP> <magic 0xf3
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: cbcp_lowerup
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: want: 14
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [PAP AuthReq id=0x1
user="user1" password=<hidden>]
May 25 12:21:35 SGTS-BONPRIX-LNX-2 pppd[15859]: rcvd [PAP AuthAck id=0x1 ""]
May 25 12:22:05 SGTS-BONPRIX-LNX-2 pppd[15859]: sent [LCP TermReq id=0x2
"Authentication failed"]
May 25 12:22:05 SGTS-BONPRIX-LNX-2 pppd[15859]: rcvd [LCP TermAck id=0x2]
May 25 12:22:05 SGTS-BONPRIX-LNX-2 pppd[15859]: Connection terminated.
May 25 12:22:06 SGTS-BONPRIX-LNX-2 pppd[15859]: Exit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~ snap
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~
#options
require-pap
callback <my number>
#+callbck #(doesn't work)
login
hide-password
debug
domain <any name>
netmask 255.255.240.0
defaultroute
ms-dns <address>
crtscts
logfile /var/log/pppd.log
lock
modem
idle 600
noipx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snap ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
THX!
frank
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]