From owner-freebsd-questions Sun Feb 21 8:38:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wa.freei.net (Mail1.Wa.FreeI.Net [209.162.144.3]) by hub.freebsd.org (Postfix) with ESMTP id BAE3A11059 for ; Sun, 21 Feb 1999 08:38:49 -0800 (PST) (envelope-from wue@eskimo.com) Received: from mango (dial158.Block1.Seattle.freei.net [209.162.144.158]) by mail.wa.freei.net (8.9.1/8.9.1) with SMTP id IAA37994; Sun, 21 Feb 1999 08:36:38 -0800 (PST) (envelope-from wue@eskimo.com) Message-Id: <3.0.3.32.19990221083945.006a9b8c@mail.eskimo.com> X-Sender: wue@mail.eskimo.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Sun, 21 Feb 1999 08:39:45 -0800 To: Jeroen Ruigrok/Asmodai From: Enoch Wu Subject: RE: User PPP fails to connect with dynamic IP. Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <3.0.3.32.19990220191827.0069da3c@mail.eskimo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:42 PM 2/21/99 +0100, Jeroen Ruigrok/Asmodai wrote: >On 21-Feb-99 Enoch Wu wrote: > >> add 127.0.0.1/0 255.255.255.0 204.122.22.0/16 > >I'm curious why ye would use this add line, since yer ISP could have >multiple gateways to use... > OK. I was desperate so tried just about anything .... but you are right. >my ppp.conf > >ISP: > set phone 1234-567890 > set login > set authname uhhuh > set authkey Idontthinkso > set timeout 300 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > enable dns > >This will negotiate a dynamic IP and set the default gateway to the ISP and >use PAP/CHAP for the authentication. It is my pleasure to announce that the above script works like magic ! Thank you very very much ! Best Regards, Enoch Wu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message