Professional Web Applications Themes

ppp conf - FreeBSD

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....

  1. #1

    Default 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.
    RdBSD Guest

  2. #2

    Default RE: ppp conf

    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: org
    [mailto:org]On Behalf Of RdBSD
    Sent: Tuesday, March 29, 2005 2:59 AM
    To: 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.
    _______________________________________________
    org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to
    "org"

    Guest

  3. #3

    Default 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, com
    <com> wrote: 
    RdBSD Guest

  4. #4

    Default RE: ppp conf

    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: org
    [mailto:org]On Behalf Of RdBSD
    Sent: Tuesday, March 29, 2005 8:56 PM
    To: 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, com
    <com> wrote: 
    _______________________________________________
    org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to
    "org"

    Guest

Similar Threads

  1. rc.conf reloaded
    By Bernt in forum FreeBSD
    Replies: 4
    Last Post: March 15th, 08:34 PM
  2. postgresql.conf
    By John Cunningham in forum PostgreSQL / PGSQL
    Replies: 10
    Last Post: December 22nd, 08:58 PM
  3. video conf. between mac & pc
    By b3rty in forum Mac Networking
    Replies: 0
    Last Post: August 6th, 03:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139