From owner-freebsd-questions@FreeBSD.ORG Wed Mar 30 01:56:00 2005 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 B3EC816A4CF for ; Wed, 30 Mar 2005 01:56:00 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1A9243D58 for ; Wed, 30 Mar 2005 01:55:59 +0000 (GMT) (envelope-from slaveszeroes@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so1956243rng for ; Tue, 29 Mar 2005 17:55:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UN8EE3W61aC+LFB8mkU0DDGsAHbc1Oi5O2BWpvcHIDVpQ8bYhkPTNTGyOgSxXeO41rnxRioYOy2RVzJ6YU7S1HyZOz3fmZLblijcZfYaFvt0Itvs7bvNB5aWfSMBiscQCsSsHxdHU0/uMl6jd4M8CwaYCB3zS+1CnRW3EyFO+qw= Received: by 10.38.153.43 with SMTP id a43mr19530rne; Tue, 29 Mar 2005 17:55:58 -0800 (PST) Received: by 10.38.152.15 with HTTP; Tue, 29 Mar 2005 17:55:57 -0800 (PST) Message-ID: Date: Wed, 30 Mar 2005 08:55:58 +0700 From: RdBSD To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: Subject: Re: ppp conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: RdBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 01:56:01 -0000 Dear All, I Just add 9 in front of the set phone, but i still cannot connect to isp. Log say " No Dialtone". But if i dial direct using telephone i can dial out to isp and same result if i test with windows. Please help me. i use pabx and i have to dial 9 first to dial out. Thanks for your answer ppp.conf : dialisp: set phone "9, 1223311" set log Phase Chat LCP IPCP CCP tun command set login set authname "me" set authkey "me" set timeout 120 set ifaddr 0.0.0.0/0 0.0.0.0/0 0.0.0.0 0.0.0.0 add default HISADDR enable dns set reconnect 3 20 set timeout 60 300 # The minimum charge period is 5 minutes, so don't set device /dev/cuaa0 # Or whatever set speed 115200 # Use as high a speed as possible set log -command +tcp/ip disable iface-alias iface clear ppp.log : Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Phone: 9, 1223311 Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: deflink: Dial attempt 1 of 1 Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: AT^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Expect(5): OK Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: AT^M^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: OK^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: ATE1Q0^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Expect(5): OK Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: ATE1Q0^M^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Received: OK^M Mar 30 08:32:22 ws1 ppp[500]: tun0: Chat: Send: ATDT9, 1223311^M Mar 30 08:32:24 ws1 ppp[500]: tun0: Chat: Expect(40): CONNECT Mar 30 08:32:26 ws1 ppp[500]: tun0: Chat: Received: ATDT9, 1223311^M^M Mar 30 08:32:26 ws1 ppp[500]: tun0: Chat: Received: NO DIALTONE^M Mar 30 08:33:04 ws1 ppp[500]: tun0: Chat: Expect timeout Mar 30 08:33:04 ws1 ppp[500]: tun0: Warning: Chat script failed Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: dial -> hangup Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: Disconnected! Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: Connect time: 42 secs: 0 octets in, 0 octets out Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: 0 packets in, 0 packets out Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Mar 30 08:32:22 2005 Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: deflink: hangup -> closed Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: bundle: Dead Mar 30 08:33:04 ws1 ppp[500]: tun0: Phase: PPP Terminated (normal). On Tue, 29 Mar 2005 06:54:50 -0500, bob@a1poweruser.com wrote: > Just add the 9 to front of phone number you code in ppp.conf for > ISP. > > Read this http://freebsd.packards-home.net/index.php > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of RdBSD > Sent: Tuesday, March 29, 2005 2:59 AM > To: freebsd-questions@freebsd.org > Subject: ppp conf > > Dear all, > > I want to connect to isp using dial up modem, but my office has a > rule > if we want to connect to outside we have to dial 9 first then > destination number. How can i configure ppp.conf ? > > Thanks for the answer. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >