From owner-freebsd-questions Sun Jan 5 16:19:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA24679 for questions-outgoing; Sun, 5 Jan 1997 16:19:51 -0800 (PST) Received: from onyx.interactive.net (root@onyx.interactive.net [208.192.224.6]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA24674 for ; Sun, 5 Jan 1997 16:19:48 -0800 (PST) Received: from luddite.org (host006.madison.interactive.net [208.192.224.106]) by onyx.interactive.net (8.8.4/8.8.4) with ESMTP id TAA07615; Sun, 5 Jan 1997 19:19:41 -0500 (EST) Received: (from sachs@localhost) by luddite.org (8.7.5/8.7.3) id TAA00389; Sun, 5 Jan 1997 19:19:40 -0500 (EST) To: questions@FreeBSD.org Cc: "Glen" Subject: Re: ppp problems References: <199701041718.MAA00197@raven.cybercomm.net> X-Face: +i14.(3OL6caXxAJslm\+OS:-ckkfx6J6UzO>df-4b#2+d{+TH;5DC9Nc1Z7'1>s^AZ"HG7 Av0@MtZ81SyDECC9S"PEo%s"dY4&Hud:w!PjnmT,FL2Sv(5oI7Y"l;|1rf:^'n$Ghg~?x3hanxCg"N ))JT[Ja%$#"Ou)FSb(2#e3*\xq{R;b]Ur8$!%w~t4|q@<_xKd??D~Zf(r! p#GC$,Cdm:$OdYL&B!;V%Ei^{N)96)[{pWI{@{ZsEn%oMxJ><(7-!YJ\`fx Mime-Version: 1.0 (generated by tm-edit 7.89) Content-Type: text/plain; charset=US-ASCII From: Jay Sachs Date: 05 Jan 1997 19:19:39 -0500 In-Reply-To: "Glen"'s message of Sun, 5 Jan 1997 12:45:58 -0500 Message-ID: <879167u02s.fsf@luddite.org> Lines: 33 X-Mailer: Gnus v5.2.40/XEmacs 19.14 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > 1. default: > 2. set device /dev/cuaa1 > 3. set speed 57600 > 4. set parity none > 5. set timeout 1200 > 6. set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATL0M1E1V1X4S0=0 > OK-AT-OK \\dATDT4983885\T TIMEOUT 60 CONNECT" > 7. set login "TIMEOUT 5 ogin:-\\r-ogin: Pjay word: MyPassword" > 8. set ifaddr 206.183.68.100/0 206.183.68.11/0 netmask 0xffffff00 Here's the problem. You can't use "default" as an ISP for auto-dial. The "default" is executed before the tun0 interface is opened, in which case the "set ifaddr" fails. You need to set up a separate entry, e.g. default: set device /dev/cuaa1 set speed 57600 set parity none set timeout 1200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATL0M1E1V1X4S0=0 OK-AT-OK \\dATDT4983885\T TIMEOUT 60 CONNECT" cybercomm: set login "TIMEOUT 5 ogin:-\\r-ogin: Pjay word: MyPassword" set ifaddr 206.183.68.100/0 206.183.68.11/0 netmask 0xffffff00 add 0 255.255.255.0 206.183.68.11 Notice the "add" line. That'll set up your initial default route so that any outbound traffic will initiate a ppp connection. -jay