From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 16:31:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961961065670 for ; Fri, 28 Nov 2008 16:31:06 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx1.freebsd.org (Postfix) with ESMTP id 2EA8E8FC1A for ; Fri, 28 Nov 2008 16:31:06 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1009151tib.3 for ; Fri, 28 Nov 2008 08:31:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=3+kCeocZdpcLvfZYB5uCd85lrs1pMy1NRMhgDxaTy0w=; b=HgJ/UeT3vym0ZVpoK2hR171a9C5OdJV2zpQYoqEaz/GXoSa3ZMpL0w7JTwm7OM03K8 C5A2gYbLE2LNjjgCn8o49j8Ou1QFl/nXQOMMk+xKc/f3o4nl8iy07t2kk3hzqnlKvOC+ xWduggWStLUBahFX+lNTmrgpYW932sOzZkE1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=eORdB3xf2DkROX/nvsUYHbY0l3ODlKdyuh86wEO56yXr7/24qUTLmJcxngqUknLeOs OmjBAaOiHIHNoxuUYHxiwuDyYUwGEwbeQF7jMxYkiiQgSfbEn3gG9/sWkNhCXcSE76OW kOO4y/acGJGapUIXIlmveBI/Ed2w+A1Y2d4O0= Received: by 10.110.5.3 with SMTP id 3mr12201955tie.4.1227889865227; Fri, 28 Nov 2008 08:31:05 -0800 (PST) Received: from gmail.com ([203.153.174.222]) by mx.google.com with ESMTPS id u12sm1431102tia.3.2008.11.28.08.30.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Nov 2008 08:30:57 -0800 (PST) Date: Fri, 28 Nov 2008 23:30:44 +0700 From: Pongthep Kulkrisada To: freebsd-questions@freebsd.org Message-ID: <20081128163044.GA1850@gmail.com> Mail-Followup-To: freebsd-questions@freebsd.org, Manolis Kiagias , Andrew , Fbsd1 , Ian Smith References: <20081123120013.8EDF310657E3@hub.freebsd.org> <20081124012858.J43853@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081124012858.J43853@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i Cc: Ian Smith , Andrew , Fbsd1 , Manolis Kiagias Subject: Re: Problem about ppp -nat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 16:31:06 -0000 Hi all, > I didn't touch /etc/ppp/ppp.conf, which has been working for 5 years > since FBSD5.0R. Even if I go back to GENERIC kernel. I could not dial out > to ISP in any ways. I didn't know what I do wrong even if > I did read many docs. I tried exactly what being described in the handbook. But all failed, I still can't dial ISP. I think that posting /etc/ppp/ppp.conf may be useful for your diagnostic. Note that this file has been used for long time and never changed. But I've just reminded that ppp is changed from version to version. My ppp.conf may not suit the current version. I don't know. # cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad0 set ctsrts off # enables software flow control set accmap 000a0000 # comments out these 2 lines for hardware flow control set speed 115200 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 180 CONNECT" set redial 3 20 enable dns # request DNS info (for resolv.conf) isp: set phone 0123456789 set authname mylogin@myisp.com set authkey mypassword set timeout 0 add! default HISADDR # Add a (sticky) default route set openmode active accept pap set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add 0 0 HISADDR Thank you. Pongthep