From owner-freebsd-questions Fri Sep 15 7:50:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 0965837B422 for ; Fri, 15 Sep 2000 07:50:38 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.9.3/8.9.3) with ESMTP id LAA70678 for ; Fri, 15 Sep 2000 11:49:39 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 15 Sep 2000 11:49:39 -0300 (ART) From: Fernando Gleiser To: freebsd-questions@freebsd.org Subject: ppp callback question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to configure user ppp with callback. The problem is the ppp server doesn't even try to call back after authentication I am sending the ppp.conf (server and client, ppp.secret, and a snip of the server's log file. Thanks in advance. Fer here's my ppp.conf (server side). entrantes: enable pap enable proxy set ifaddr 192.168.1.89 192.168.1.250-192.168.1.251 accept dns # If we're running a ppp server that wants to only call back microsoft # clients on numbers configured in /etc/ppp/ppp.secret (the 5th field): # callback-server: load entrantes set log Phase Chat LCP IPCP CCP tun command set callback cbcp set cbcp set log +cbcp set redial 3 3 set device /dev/cuaa1 set speed 115200 set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT" --------- And this is the client's ppp.conf (phone #, authname, authkey changed) papchap: set phone 12345678 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: dialup word: passwd" set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns set authname dialup set authkey passwd callback: load papchap set callback cbcp --------- And I have the correspondig entry in ppp.secret: dialup passwd * * 48132479 --------- And finally, the server's ppp.log: Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: bundle: Authenticate Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: deflink: his = none, mine = PAP Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: Pap Input: REQUEST (dialup) Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: Pap Output: SUCCESS Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: deflink: lcp -> cbcp Sep 1 02:41:22 dialup ppp[10942]: tun0: CBCP: deflink: SendReq(0) state = closed Sep 1 02:41:22 dialup ppp[10942]: tun0: CBCP: TYPE Server-spec Sep 1 02:41:22 dialup ppp[10942]: tun0: CBCP: DELAY 0 Sep 1 02:41:22 dialup ppp[10942]: tun0: CBCP: deflink: State change closed --> req-sent Sep 1 02:41:22 dialup ppp[10942]: tun0: LCP: deflink: RecvTerminateReq(2) state = Opened Sep 1 02:41:22 dialup ppp[10942]: tun0: LCP: deflink: LayerDown Sep 1 02:41:22 dialup ppp[10942]: tun0: CBCP: deflink: State change req-sent --> closed Sep 1 02:41:22 dialup ppp[10942]: tun0: LCP: deflink: SendTerminateAck(2) state = Opened Sep 1 02:41:22 dialup ppp[10942]: tun0: LCP: deflink: State change Opened --> Stopping Sep 1 02:41:22 dialup ppp[10942]: tun0: Phase: deflink: cbcp -> lcp Sep 1 02:41:24 dialup ppp[10942]: tun0: Phase: deflink: Carrier lost Sep 1 02:41:24 dialup ppp[10942]: tun0: LCP: deflink: State change Stopping --> Starting Sep 1 02:41:24 dialup ppp[10942]: tun0: LCP: deflink: LayerFinish Sep 1 02:41:24 dialup ppp[10942]: tun0: LCP: deflink: State change Starting --> Initial Sep 1 02:41:24 dialup ppp[10942]: tun0: Phase: deflink: Disconnected! Sep 1 02:41:24 dialup ppp[10942]: tun0: Phase: deflink: Connect time: 3 secs: 172 octets in, 169 octets out Sep 1 02:41:24 dialup ppp[10942]: tun0: Phase: total 113 bytes/sec, peak 109 bytes/sec on Fri Sep 1 02:41:24 2000 Sep 1 02:41:24 dialup ppp[10949]: tun0: Phase: 10942 -> 10949: Dropped session control Sep 1 02:41:24 dialup ppp[10949]: tun0: Phase: deflink: lcp -> closed Sep 1 02:41:24 dialup ppp[10949]: tun0: Phase: bundle: Dead Sep 1 02:41:24 dialup ppp[10949]: tun0: Phase: PPP Terminated (normal). Sep 1 02:41:24 dialup ppp[10949]: tun0: Phase: Found interface ed0 for 192.168.1.251 Fer "When I say "dogs", I'm talking about dogs, which are large, bounding, salivating animals, usually with bad breath. I am not talking about those little squeaky things you can hold on your lap and carry around. Zoologically speaking, these are not dogs at all; they are members of the pillow family." Dave Barry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message