Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 22:05:37 -0500
From:      <bob@a1poweruser.com>
To:        "RdBSD" <slaveszeroes@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: ppp conf
Message-ID:  <MIEPLLIBMLEEABPDBIEGEEAEHDAA.bob@a1poweruser.com>
In-Reply-To: <b1041d4305032917556cc05665@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
set device /dev/cuaa0
This is not your real device name.

# Ensure that "set device statement" references the correct serial
port
# for your modem. (External modem on com1 = cuaa0,  com2 = cuaa1)
# PCI modem com5 = cuaa4
# Only needed for dial out device.
# This can be found in dmesg boot log

For how to setup an dialout modem is explained in step by step
detail here

http://freebsd.packards-home.net/index.php


If you would have read that install guide you would not have needed
to reask the same question. You make your self look foolish when you
do not follow the advice from previous answers to your post. Quit
looking for the short cut and do your own homework. That is how you
learn about the FreeBSD operating system just like the rest of us
did. There are no short cuts here.



-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of RdBSD
Sent: Tuesday, March 29, 2005 8:56 PM
To: freebsd-questions@freebsd.org
Subject: Re: ppp conf

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"
>
>
_______________________________________________
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?MIEPLLIBMLEEABPDBIEGEEAEHDAA.bob>