ppp conf
bob at a1poweruser.com
bob at a1poweruser.com
Tue Mar 29 19:05:44 PST 2005
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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of RdBSD
Sent: Tuesday, March 29, 2005 8:56 PM
To: freebsd-questions at 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 at a1poweruser.com
<bob at 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 at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of RdBSD
> Sent: Tuesday, March 29, 2005 2:59 AM
> To: freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list