From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 08:50:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1166616A4CE for ; Sun, 22 Feb 2004 08:50:58 -0800 (PST) Received: from may.priocom.com (may.priocom.com [213.156.65.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE8EB43D1D for ; Sun, 22 Feb 2004 08:50:57 -0800 (PST) (envelope-from mirya@ukrpost.net) Received: from dialup-146.146.sitel.com.ua ([217.27.146.146]) by may.priocom.com with asmtp (Exim 4.24) id 1Auwlt-0000As-P9 for freebsd-questions@freebsd.org; Sun, 22 Feb 2004 18:48:02 +0200 Date: Sun, 22 Feb 2004 18:41:54 +0200 From: Kyryll A Mirnenko X-Mailer: The Bat! (v1.61) Personal Organization: X-Priority: 3 (Normal) Message-ID: <51-2629189.20040222184154@ukrpost.net> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ISP dialing with callback X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kyryll A Mirnenko List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 16:50:58 -0000 This topic seems to be an elder one, but nobody around couldn't help me. I need to setup ppp (user) to dial to my callback-ISP. Here're useful info: 1). IPS uses PAP authentification. 2). Phone number negotiation is unsupported, I need to send it. When using Windows ppp-dialer (really buggy), everything is OK, so that's not ISP problem. Direct connection & authentification goes right, but no incoming call after that. I browsed my logs & only strange thing I found is there was no phone number I should send (at least in the readable part, not in the packages sent). Here're my configs (truncated with dummy logins & passwords :) - the provider entry is "sitel": [ /etc/ppp/ppp.conf ] default: set log phase tun chat cbcp command pap ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cual0 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) enable vjcomp deflate deflate24 protocomp pred1 accept vjcomp deflate deflate24 protocomp pred1 set urgent udp +53 sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback auth cbcp E.164 6661313 set cbcp 6661313 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 set authname CALLER set authkey MYPASSWORD [ /etc/ppp/ppp.secret ] CALLER MYPASSWORD * * 6661313 [ /etc/ttys ] console none unknown off secure # ttyv0 "/usr/libexec/getty Pc" cons25u on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25u on secure ttyv2 "/usr/libexec/getty Pc" cons25u on secure ttyv3 "/usr/libexec/getty Pc" cons25u on secure ttyv4 "/usr/libexec/getty Pc" cons25u off secure ttyv5 "/usr/libexec/getty Pc" cons25u off secure ttyv6 "/usr/libexec/getty Pc" cons25u off secure ttyv7 "/usr/libexec/getty Pc" cons25u off secure ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xtermu off secure # ttyd0 "/usr/libexec/getty callback1" dialup on # AND SO ON... [ /etc/gettytab ] default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # my callback account callback1|38400-baud:\ :np:sp#38400:pp=/etc/ppp/callback.ppp: # AND OTHERS... [ /etc/ppp/callback.ppp ] #!/bin/sh echo "!!! Incoming call. Use kill -TERM $$ to kill it..." | wall -g wheel exec /usr/sbin/ppp -direct incoming That's all. If have a solution or any experience in setting-up user-ppp callback, reply (workable configs won't be out of place).