From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 12:39:19 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 8398416A4D0 for ; Mon, 23 Feb 2004 12:39:19 -0800 (PST) Received: from may.priocom.com (may.priocom.com [213.156.65.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4565243D1F for ; Mon, 23 Feb 2004 12:39:19 -0800 (PST) (envelope-from mirya@ukrpost.net) Received: from dialup-146.62.sitel.com.ua ([217.27.146.62]) by may.priocom.com with asmtp (Exim 4.24) id 1AvMoQ-0006HT-3b; Mon, 23 Feb 2004 22:36:22 +0200 Date: Mon, 23 Feb 2004 22:20:46 +0200 From: Kyryll A Mirnenko X-Mailer: The Bat! (v1.61) Personal Organization: X-Priority: 3 (Normal) Message-ID: <162-2072798.20040223222046@ukrpost.net> To: freebsd-questions@freebsd.org, JJB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RE: ISP dialing with callback - def. route problems 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: Mon, 23 Feb 2004 20:39:19 -0000 Thanks to JJB, callback is set up, e.g. ISP calls back & modems answers the call. The most stupid bug was in /etc/ttys: ttyl0 "/usr/libexec/getty callback1" dialup on (instead of ttyd0 - for Lucent winmodem driver). Now I've got more sophisticated callback problem. Saying again, when calling directly no such problem exists, as for callback - Windows client ppp seems not to produce any problems, so that's not ISP bugs: [!!!] PPP fails to add default route, e.g. I can see his DNS (gethostbyname(),...) & the whole local network (for ex., his HTTP server), but can't reach further. # route get says can't open roure socket, and here's the part of ppp.log (bugs're marked with "[HERE!!!] -->"): tun0: Command: incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 tun0: Command: incoming: add default HISADDR tun0: Command: incoming: set authname MYLOGIN tun0: Command: incoming: set authkey ******** tun0: Command: incoming: set logout ATS0=0 OK AT&W OK tun0: Phase: PPP Started (direct mode). tun0: Phase: bundle: Establish tun0: Phase: deflink: closed -> opening tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening -> carrier tun0: Phase: deflink: /dev/ttyl0: CD detected tun0: Phase: deflink: carrier -> lcp tun0: Phase: bundle: Authenticate tun0: Phase: deflink: his = PAP, mine = none tun0: Phase: Pap Output: MYLOGIN ******** tun0: Phase: Pap Input: SUCCESS () tun0: Phase: deflink: lcp -> open tun0: Phase: bundle: Network [HERE!!!] --> tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! [HERE!!!] --> tun0: Warning: ff02:4::/32: Change route failed: errno: Network is unreachable Can anybody deal with this? Here's incoming ppp.conf setup: 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 ATS0=1 OK AT&W 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 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set authname MYLOGIN set authkey MYPASSWORD