From owner-freebsd-current@FreeBSD.ORG Tue Dec 16 03:41:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64C4616A4CE for ; Tue, 16 Dec 2003 03:41:24 -0800 (PST) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id E206343D1D for ; Tue, 16 Dec 2003 03:41:21 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.203.147) by smtp02.syd.iprimus.net.au (7.0.020) id 3F8F522A013CFF76; Tue, 16 Dec 2003 22:41:17 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id B04CD6110; Tue, 16 Dec 2003 22:41:34 +1100 (EST) Date: Tue, 16 Dec 2003 22:41:34 +1100 From: Tim Robbins To: gunnar.flygt@bredband.net Message-ID: <20031216114134.GA6853@wombat.robbins.dropbear.id.au> References: <20031216043738.SAWA24023.mxfep04.bredband.com@mxfep04> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031216043738.SAWA24023.mxfep04.bredband.com@mxfep04> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: Problems with ppp and modem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2003 11:41:24 -0000 On Tue, Dec 16, 2003 at 05:37:38AM +0100, gunnar.flygt@bredband.net wrote: > I changed machine at home from a box running 4.9-STABLE to a new one running 5.2-CURRENT. I dial in to my company using modem and userland ppp. The config runs OK on the 4.9 box, but on the 5.2 it never "lifts the phone off the hook" so to say. I've checked the examples in /usr/share/examples/ppp to see it there are any news in the config. I haven't found anything different from what I've got. [...] > Is anyone still using modems with CURRENT? :) I'm using a Banksia MyModem 56V external serial modem with user PPP on -CURRENT to connect to a commercial ISP (iPrimus). This is the config file I'm using; the only interesting difference between mine and yours seem to be in the "set dial" line. I think mine is based on an example from an old edition of the FreeBSD handbook. default: #set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 18000 # 5 hours allow user xxx allow user xxx set urgent +xxx set urgent +xxx nat port tcp x.x.x.x:xxx xxx nat port udp x.x.x.x:xxx xxx nat port tcp x.x.x.x:xxx xxx set server +xxx xxx iprimus: set phone "9923-2000" set authname xxx set authkey xxx set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route The serial port is: sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A Tim