Date: Mon, 30 Oct 2000 21:48:21 +1300 From: roguetr@quicksilver.co.nz To: freebsd-questions@freebsd.org Subject: cbcp question Message-ID: <39FD35D5.5E92BC1E@quicksilver.co.nz>
next in thread | raw e-mail | index | archive | help
Howdy, I have been asked by my boss to set up cbcp so that we can counter balance incoming calls. This is necessary to counter-act the latest interconnect agreement between some major telecommunication companies. It's extremely easy to do with windows, but freebsd seems to be a little harder (believe me, this isn't my usual opinion). I have searched the mailing list archive, man -k callback and man -k cbcp, read the cbcp sections of the ppp manpage and looked over the sample ppp config files. The log shows I get this far: Oct 30 08:20:20 sammy ppp[19725]: tun0: Phase: Pap Output: username ******** Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: Pap Input: SUCCESS () Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: Shutdown and await peer callback Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: LayerDown Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: SendTerminateReq(4) state = Opened Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: State change Opened --> Closing Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: RecvTerminateReq(2) state = Closing Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: SendTerminateAck(2) state = Closing Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: RecvTerminateAck(4) state = Closing Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: LayerFinish Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: State change Closing --> Closed Oct 30 08:20:21 sammy ppp[19725]: tun0: LCP: deflink: State change Closed --> Initial Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: Disconnected! Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: lcp -> logout Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: logout -> hangup Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: Disconnected! Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: Connect time: 35 secs: 166 octets in, 291 octets out Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: : 10 packets in, 14 packets out Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: total 13 bytes/sec, peak 87 bytes/sec on Mon Oct 30 08:20:21 2000 Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: hangup -> opening Oct 30 08:20:21 sammy ppp[19725]: tun0: Phase: deflink: Enter pause (60) for redialing. Oct 30 08:20:21 sammy ppp[19725]: tun0: Chat: deflink: Reconnect try 2 of 2 Oct 30 08:21:21 sammy ppp[19725]: tun0: Chat: deflink: Redial timer expired. As you can see, it just disconnects and wants to redial. My ppp.conf is set as: default: ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa0 set log Phase CBCP Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0M0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 # set timeout 120 # 3 mintue idle timer (the default) add default HISADDR # Add a (sticky) default route enable dns # request DNS info (for resolv.conf) papchap: # enable chap set reconnect 60 2 set redial 60 set callback auth cbcp # e.164 mynumber # set cbcp * set phone 123456 set authname username set authkey password As you can se I've tried a few different options, I still don't know if I'm heading in the right direction. A thread on the mailing list said that it doesn't actually work. If somebody could help me out and show me to the finish line, it would be _greatly_ appreciated. Cheers Sarton O'Brien (could any answers please be cced to this address, thanks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39FD35D5.5E92BC1E>