Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 08:55:58 +0700
From:      RdBSD <slaveszeroes@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ppp conf
Message-ID:  <b1041d4305032917556cc05665@mail.gmail.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGMEOOHCAA.bob@a1poweruser.com>
References:  <b1041d43050328235872f52ed0@mail.gmail.com> <MIEPLLIBMLEEABPDBIEGMEOOHCAA.bob@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<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"
> 
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1041d4305032917556cc05665>