After CONNECT No response - PPP

This is a discussion on After CONNECT No response - PPP ; Hi all, My platform is Red Hat 7.3, X686, ttyS0. All of PPP are configured as per the PPP Howto i.e., /etc/ppp/option, pap-secrets, host.conf etc. Even I tried in Google for any options I missed out for ppp config. My ...

+ Reply to Thread
Results 1 to 16 of 16

Thread: After CONNECT No response

  1. After CONNECT No response

    Hi all,
    My platform is Red Hat 7.3, X686, ttyS0. All of PPP are configured
    as per the PPP Howto
    i.e., /etc/ppp/option, pap-secrets, host.conf etc. Even I tried in
    Google for any options
    I missed out for ppp config.

    My pppd cmmand is as:

    pppd connect "chat -v '' ATZ OK ATDT0172306 CONNECT '' ogin:
    word: " /dev/ttyS1 9600 -detach debug
    defaultroute

    Log : (from /var/log/messgaes)

    Aug 31 14:25:10 192 pppd[170]: pppd 2.4.1 started by root, uid 0
    Aug 31 14:25:12 192 chat[171]: send (ATZ^M)
    Aug 31 14:25:12 192 chat[171]: expect (OK)
    Aug 31 14:25:12 192 chat[171]: ATZ^M^M
    Aug 31 14:25:12 192 chat[171]: OK
    Aug 31 14:25:12 192 chat[171]: -- got it
    Aug 31 14:25:12 192 chat[171]: send (ATDT0172306^M)
    Aug 31 14:25:12 192 chat[171]: expect (CONNECT)
    Aug 31 14:25:12 192 chat[171]: ^M
    Aug 31 14:25:42 192 chat[171]: ATDT0172306^M^M
    Aug 31 14:25:42 192 chat[171]: CONNECT
    Aug 31 14:25:42 192 chat[171]: -- got it
    Aug 31 14:25:42 192 chat[171]: send (^M)
    Aug 31 14:25:42 192 chat[171]: expect (ogin
    Aug 31 14:25:42 192 chat[171]: 4800^M
    Aug 31 14:26:27 192 chat[171]: alarm
    Aug 31 14:26:27 192 chat[171]: Failed
    Aug 31 14:26:28 192 pppd[170]: Exit.

    Thanks in advance,
    regards,
    Ganesh Kumar

  2. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:
    > My platform is Red Hat 7.3, X686, ttyS0. All of PPP are configured
    > as per the PPP Howto
    > i.e., /etc/ppp/option, pap-secrets, host.conf etc. Even I tried in
    > Google for any options
    > I missed out for ppp config.


    It's very likely that your ISP (like almost all modern ISPs) does not
    offer a text-mode login. Change that invocation from:

    > pppd connect "chat -v '' ATZ OK ATDT0172306 CONNECT '' ogin:
    > word: " /dev/ttyS1 9600 -detach debug
    > defaultroute


    to:

    pppd connect "chat -v '' ATZ OK ATDT0172306 CONNECT '\c'" \
    ttyS1 9600 updetach debug defaultroute

    Note that "ATZ" is often a mistake, as it means "reset to parameters
    stored in profile 0." What it does depends on what you last saved
    with AT&W. Using AT&F (or AT&F1 for USR) to reset to factory defaults
    is usually better.

    Note that 'defaultroute' is a privileged option, and should probably
    go in an /etc/ppp/peers/* file. "-detach" is obsolete; use either
    "nodetach" or (better yet) "updetach." You probably will want to use
    the "user" option to specify your user name and place your password in
    /etc/ppp/pap-secrets like this:

    * ""

    You'll probably want to have the privileged "noauth" option as well,
    to make sure that you don't try to authenticate your ISP. (As though
    *you* were the ISP.)

    It's not necessary to specify "/dev/" on the tty name, though you can
    do it if you like.

    9600 seems really slow to me. Are you sure?

    --
    James Carlson, IP Systems Group
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  3. Re: After CONNECT No response

    Hi James,
    Thanks for the reply!!
    I'll try out as per ur suggestions.
    Baud rate was 38400 earlier, since it dint worked
    I thought let me reduce the Baud n check, that's why 9600.
    I've got problem with my modem, when trying with
    different options to connect,all of a sudden the modem stopped
    responding to any of the AT commands.
    (tried thru minicom also,manually sending AT commands
    I was not able to figure out what exactly was the problem)
    Power off/on dint help.
    Its gone for repair, Once I get it I'll try and update
    regarding that.
    Thanks again,
    regards,
    Ganesh

  4. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:
    > I thought let me reduce the Baud n check, that's why 9600.


    I very much doubt that's the problem.

    > I've got problem with my modem, when trying with
    > different options to connect,all of a sudden the modem stopped
    > responding to any of the AT commands.
    > (tried thru minicom also,manually sending AT commands
    > I was not able to figure out what exactly was the problem)
    > Power off/on dint help.
    > Its gone for repair, Once I get it I'll try and update
    > regarding that.


    OK. Those symptoms sound like either a bad serial cable or lightning
    damage.

    If this is an internal modem, check whether it's a real modem or a
    "Winmodem." If it's the latter, all bets are off. Winmodems aren't
    really modems at all. All of the actual modem code is embedded in the
    operating system and, since it's typically proprietary stuff, it's
    often quite unstable. (If it's external or otherwise not a Windmodem,
    just ignore this comment.)

    --
    James Carlson, IP Systems Group
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  5. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:

    ]Hi all,
    ] My platform is Red Hat 7.3, X686, ttyS0. All of PPP are configured
    ]as per the PPP Howto

    That is an ancient HowTo. They refuse to accept a more modern one-- go
    figure.

    ]i.e., /etc/ppp/option, pap-secrets, host.conf etc. Even I tried in
    ]Google for any options
    ]I missed out for ppp config.
    ]
    ]My pppd cmmand is as:
    ]
    ] pppd connect "chat -v '' ATZ OK ATDT0172306 CONNECT '' ogin:
    ] word: " /dev/ttyS1 9600 -detach debug
    ]defaultroute

    Almost no ISP wants login. Try after
    ........... CONNECT '\d\c'" /dev/ttyS1 .... user
    and in /etc/ppp/chap-secrets and /etc/ppp/pap-secrets put the line
    *

    See www.theory.physics.ubc.ca/ppp-linux.html
    for details


  6. Re: After CONNECT No response

    > OK. Those symptoms sound like either a bad serial cable or lightning
    > damage.

    Thanks for all ur inputs.
    Serial cable I can't suspect, since the same cable I'm using
    for other
    applications & they all work just fine (The serial cable what I'm
    using is the one provided with the Modem)

    >. (If it's external or otherwise not a Windmodem,
    > just ignore this comment.)


    mine is a serial external modem(from D-Link, DFM 560ES)
    ______ _______
    | | modem cable | |Telephone line
    | PC |--------------------| Modem |----->
    |______| |_______|
    Still waiting to get the modem repaired, by today evening or tommorow
    morning its expected!

    Thanx again,
    rgds,
    Ganesh

  7. Re: After CONNECT No response

    > ] pppd connect "chat -v '' ATZ OK ATDT0172306 CONNECT '' ogin:
    > ] word: " /dev/ttyS1 9600 -detach debug
    > ]defaultroute
    >
    > Almost no ISP wants login. Try after
    > .......... CONNECT '\d\c'" /dev/ttyS1 .... user
    > and in /etc/ppp/chap-secrets and /etc/ppp/pap-secrets put the line
    > *

    I'm waiting for my modem to get repaired (pls see my previous post)
    Once I get it back I'll try out all of the options

    > See www.theory.physics.ubc.ca/ppp-linux.html
    > for details


    Gud info, Thanks, I've configured my pppd and chat scripts as per
    that document, Once I get back my Modem I'll test it and update.

    rgds,
    Ganesh

  8. Re: After CONNECT No response

    Hi all/James/Unruh,
    I got my Modem back, its working now.
    Still I'm not able to connect.I'm suspecting something I've missed out
    in my ppp configurations, Pls help me out.Thanks in advance!!!
    Here is my log & ppp configurations info :

    Sep 7 17:46:16 ganesh pppd[2286]: pppd 2.4.1 started by root, uid 0
    Sep 7 17:46:17 ganesh chat[2287]: send (AT^M)
    Sep 7 17:46:17 ganesh chat[2287]: expect (OK)
    Sep 7 17:46:17 ganesh chat[2287]: AT^M^M
    Sep 7 17:46:17 ganesh chat[2287]: OK
    Sep 7 17:46:17 ganesh chat[2287]: -- got it
    Sep 7 17:46:17 ganesh chat[2287]: send (ATDT0172306^M)
    Sep 7 17:46:17 ganesh chat[2287]: expect (CONNECT)
    Sep 7 17:46:17 ganesh chat[2287]: ^M
    Sep 7 17:46:57 ganesh chat[2287]: ATDT0172306^M^M
    Sep 7 17:46:57 ganesh chat[2287]: CONNECT
    Sep 7 17:46:57 ganesh chat[2287]: -- got it
    Sep 7 17:46:57 ganesh chat[2287]: send (\d)
    Sep 7 17:46:58 ganesh pppd[2286]: Serial connection established.
    Sep 7 17:46:58 ganesh pppd[2286]: Using interface ppp0
    Sep 7 17:46:58 ganesh pppd[2286]: Connect: ppp0 <--> /dev/ttyS0
    Sep 7 17:46:58 ganesh /etc/hotplug/net.agent: assuming ppp0 is
    already up
    Sep 7 17:47:34 ganesh pppd[2286]: Modem hangup
    Sep 7 17:47:34 ganesh pppd[2286]: Connection terminated.
    Sep 7 17:47:34 ganesh /etc/hotplug/net.agent: NET unregister event
    not supported
    Sep 7 17:47:35 ganesh pppd[2286]: Exit.

    ------------------

    Here I'm giving my ppp configurations

    /etc/ppp/options:

    crtscts
    defaultroute
    noauth
    noipdefault
    lock
    lcp-max-configure 30

    /etc/ppp/pap-secrets (also chap-secrets):

    * *

    /etc/host.conf :
    order hosts,bind

    /etc/nsswitch.conf (added the below line):
    hosts: file dns

    now my pppd command is as:

    pppd /dev/ttyS0 57600 debug -detach connect "chat -v '' AT OK
    ATDT0172306 CONNECT '\d\c'"

    --------------------------------

  9. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:
    > Sep 7 17:46:16 ganesh pppd[2286]: pppd 2.4.1 started by root, uid 0
    > Sep 7 17:46:17 ganesh chat[2287]: send (AT^M)
    > Sep 7 17:46:17 ganesh chat[2287]: expect (OK)
    > Sep 7 17:46:17 ganesh chat[2287]: AT^M^M


    "AT" alone doesn't actually configure anything in the modem. In fact,
    it's unlikely to be useful at all.

    You probably want "AT&F1" if this is a USR modem or "AT&F" for most
    others.

    > Sep 7 17:46:58 ganesh pppd[2286]: Serial connection established.
    > Sep 7 17:46:58 ganesh pppd[2286]: Using interface ppp0
    > Sep 7 17:46:58 ganesh pppd[2286]: Connect: ppp0 <--> /dev/ttyS0
    > Sep 7 17:46:58 ganesh /etc/hotplug/net.agent: assuming ppp0 is
    > already up
    > Sep 7 17:47:34 ganesh pppd[2286]: Modem hangup


    Enable debug to find out what's going on here. That doesn't say
    anything useful, other than that the peer is hanging up on you.

    > Here I'm giving my ppp configurations


    No real problems seen there.

    > now my pppd command is as:
    >
    > pppd /dev/ttyS0 57600 debug -detach connect "chat -v '' AT OK
    > ATDT0172306 CONNECT '\d\c'"


    So where's that debug output? That command should have produced a
    fair amount of output.

    --
    James Carlson, IP Systems Group
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  10. Re: After CONNECT No response

    Ganesh Kumar wrote:

    > Sep 7 17:46:58 ganesh pppd[2286]: Serial connection established.
    > Sep 7 17:46:58 ganesh pppd[2286]: Using interface ppp0
    > Sep 7 17:46:58 ganesh pppd[2286]: Connect: ppp0 <--> /dev/ttyS0
    > Sep 7 17:47:34 ganesh pppd[2286]: Modem hangup


    Weel, the PPP link negotiations failed to complete. This is likely a
    hangup by the other side but we need a complete debug log to say why.

    Here's a recipe for making such a log:

    Add the line

    daemon.*;local2.* /var/log/ppp.log

    to /etc/syslog.conf and do " killall -HUP syslogd " to make syslogd
    reread that file. Then try again to connect and post the messages
    in ppp.log.

    ---
    Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/
    /* In my book, the first poster to resort to personal abuse in a Usenet
    debate loses by default. - Rod Smith */


  11. Re: After CONNECT No response

    Hi all,
    Sorry for not providing the debug print,(now I changed my AT to
    AT&F1,
    otherthan that everything same)
    Here is the log:

    [root@ganesh root]# sh ppp_config.sh
    Serial connection established.
    using channel 3
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyS0
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfReq id=0x1 0xa7abb375> ]
    sent [LCP ConfRej id=0x1 ]
    rcvd [LCP ConfAck id=0x1
    ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x2 0xa7abb375> ]
    sent [LCP ConfRej id=0x2 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x3 0xa7abb375> ]
    sent [LCP ConfRej id=0x3 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x4 0xa7abb375> ]
    sent [LCP ConfRej id=0x4 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x5 0xa7abb375> ]
    sent [LCP ConfRej id=0x5 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x6 0xa7abb375> ]
    sent [LCP ConfRej id=0x6 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfReq id=0x7 0xa7abb375> ]
    sent [LCP ConfRej id=0x7 ]
    rcvd [LCP ConfAck id=0x1
    ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x8 0xa7abb375> ]
    sent [LCP ConfRej id=0x8 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0x9 0xa7abb375> ]
    sent [LCP ConfRej id=0x9 ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    rcvd [LCP ConfReq id=0xa 0xa7abb375> ]
    sent [LCP ConfRej id=0xa ]
    sent [LCP ConfReq id=0x1
    ]
    rcvd [LCP ConfAck id=0x1
    ]
    Modem hangup
    Connection terminated.
    [root@ganesh root]#

    from /var/log/messgaes:

    Sep 8 10:18:16 ganesh syslogd 1.4.1: restart.
    Sep 8 10:18:29 ganesh pppd[2788]: pppd 2.4.1 started by root, uid 0
    Sep 8 10:18:30 ganesh chat[2789]: send (AT&F1^M)
    Sep 8 10:18:30 ganesh chat[2789]: expect (OK)
    Sep 8 10:18:30 ganesh chat[2789]: AT&F1^M^M
    Sep 8 10:18:30 ganesh chat[2789]: OK
    Sep 8 10:18:30 ganesh chat[2789]: -- got it
    Sep 8 10:18:30 ganesh chat[2789]: send (ATDT0172306^M)
    Sep 8 10:18:31 ganesh chat[2789]: expect (CONNECT)
    Sep 8 10:18:31 ganesh chat[2789]: ^M
    Sep 8 10:19:17 ganesh chat[2789]: ATDT0172306^M^M
    Sep 8 10:19:17 ganesh chat[2789]: CONNECT
    Sep 8 10:19:17 ganesh chat[2789]: -- got it
    Sep 8 10:19:17 ganesh chat[2789]: send (\d)
    Sep 8 10:19:18 ganesh pppd[2788]: Serial connection established.
    Sep 8 10:19:18 ganesh pppd[2788]: Using interface ppp0
    Sep 8 10:19:18 ganesh pppd[2788]: Connect: ppp0 <--> /dev/ttyS0
    Sep 8 10:19:18 ganesh /etc/hotplug/net.agent: assuming ppp0 is
    already up
    Sep 8 10:19:54 ganesh pppd[2788]: Modem hangup
    Sep 8 10:19:54 ganesh pppd[2788]: Connection terminated.
    Sep 8 10:19:54 ganesh /etc/hotplug/net.agent: NET unregister event
    not
    supported
    Sep 8 10:19:55 ganesh pppd[2788]: Exit.

    Thanks & regards,
    Ganesh

  12. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:
    > rcvd [LCP ConfReq id=0x1 > 0xa7abb375> ]


    The peer asks you to identify yourself via PAP.

    > sent [LCP ConfRej id=0x1 ]


    You refuse to identify yourself at all -- by PAP or any other
    protocol.

    Your authentication information is misconfigured. Are you missing the
    "user" option in pppd?

    --
    James Carlson, IP Systems Group
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  13. Re: After CONNECT No response

    ganeshkumar@signal-networks.com (Ganesh Kumar) writes:

    ]Hi all,
    ] Sorry for not providing the debug print,(now I changed my AT to
    ]AT&F1,
    ]otherthan that everything same)

    They keep asking for you to authenticate yourself using pap. You refuse.
    They finally give up on you, as they should have after the first refusal.

    Why do you reject pap? On purpose or out of ignorance? If the latter, you
    need to put
    * *
    into /etc/ppp/pap-secrets ( with meaning your user name on the
    remote system)
    and then putting
    user
    into /etc/ppp/options or onto the pppd command line.

    If the former (on purpose) well, there is no solution to your problem.

    ] Here is the log:

    ][root@ganesh root]# sh ppp_config.sh
    ]Serial connection established.
    ]using channel 3
    ]Using interface ppp0
    ]Connect: ppp0 <--> /dev/ttyS0
    ]sent [LCP ConfReq id=0x1
    ]]
    ]rcvd [LCP ConfReq id=0x1 ]0xa7abb375> ]

    He requests pap authentication.
    ]sent [LCP ConfRej id=0x1 ]
    You refuse. End of ball game.


  14. Re: After CONNECT No response

    Hi all,
    Thank U all for ur time and input,
    Yes, I was missing the user option, now I've provided that and I'm
    able to connect. But I was not able to browse through the Internet(I
    can ping to my remote server).
    Actually I don't know what to set in the /etc/resolv.conf. right now
    its empty But after establishment of the connection, a file
    /etc/ppp/resolv.conf
    got created with the following entries
    nameserver 202.144.95.4
    nameserver 202.144.66.6
    what need to be done to setup this..? any help appreciated.

    --
    Ganesh

    Here is the log:
    /var/log/ppp.log

    Sep 9 12:48:33 ganesh pppd[3613]: pppd 2.4.1 started by root, uid 0
    Sep 9 12:48:34 ganesh chat[3614]: send (AT&F1^M)
    Sep 9 12:48:34 ganesh chat[3614]: expect (OK)
    Sep 9 12:48:34 ganesh chat[3614]: AT&F1^M^M
    Sep 9 12:48:34 ganesh chat[3614]: OK
    Sep 9 12:48:34 ganesh chat[3614]: -- got it
    Sep 9 12:48:34 ganesh chat[3614]: send (ATDT0172306^M)
    Sep 9 12:48:34 ganesh chat[3614]: expect (CONNECT)
    Sep 9 12:48:34 ganesh chat[3614]: ^M
    Sep 9 12:49:21 ganesh chat[3614]: ATDT0172306^M^M
    Sep 9 12:49:21 ganesh chat[3614]: CONNECT
    Sep 9 12:49:21 ganesh chat[3614]: -- got it
    Sep 9 12:49:21 ganesh chat[3614]: send (\d)
    Sep 9 12:49:22 ganesh pppd[3613]: Serial connection established.
    Sep 9 12:49:22 ganesh pppd[3613]: using channel 12
    Sep 9 12:49:22 ganesh pppd[3613]: Using interface ppp0
    Sep 9 12:49:22 ganesh pppd[3613]: Connect: ppp0 <--> /dev/ttyS0
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfReq id=0x1 0x0> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfReq id=0x1
    1514> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfRej id=0x1 1514>]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfAck id=0x1 0x0> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfReq id=0x2
    ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfAck id=0x2
    ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [PAP AuthReq id=0x1
    user="mnayak" password=]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [PAP AuthAck id=0x1 ""]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfReq id=0x1 0.0.0.0> ]
    Sep 9 12:49:23 ganesh modprobe: modprobe: Can't locate module
    ppp-compress-21
    Sep 9 12:49:23 ganesh modprobe: modprobe: Can't locate module
    ppp-compress-21
    Sep 9 12:49:23 ganesh pppd[3613]: sent [CCP ConfReq id=0x1 15> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfReq id=0x3 VJ 0f 00> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfAck id=0x3 VJ 0f 00> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfNak id=0x1 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfReq id=0x2 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ProtRej id=0x4 80 fd 01
    01 00 0c 1a 04 78 00 18 04 78 00]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfAck id=0x2 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: local IP address 210.214.182.172
    Sep 9 12:49:23 ganesh pppd[3613]: remote IP address 202.144.107.15
    Sep 9 12:49:23 ganesh pppd[3613]: Script /etc/ppp/ip-up started (pid
    3628)
    Sep 9 12:49:23 ganesh pppd[3613]: Script /etc/ppp/ip-up finished (pid
    3628), status = 0x0
    Sep 9 12:51:19 ganesh pppd[3613]: Terminating on signal 15.
    Sep 9 12:51:19 ganesh pppd[3613]: Script /etc/ppp/ip-down started
    (pid 3644)
    Sep 9 12:51:19 ganesh pppd[3613]: sent [LCP TermReq id=0x2 "User
    request"]
    Sep 9 12:51:20 ganesh pppd[3613]: Script /etc/ppp/ip-down finished
    (pid 3644), status = 0x0
    Sep 9 12:51:20 ganesh pppd[3613]: rcvd [LCP TermAck id=0x2]
    Sep 9 12:51:20 ganesh pppd[3613]: Connection terminated.
    Sep 9 12:51:20 ganesh pppd[3613]: Connect time 2.0 minutes.
    Sep 9 12:51:20 ganesh pppd[3613]: Sent 636 bytes, received 480 bytes.
    Sep 9 12:51:21 ganesh pppd[3613]: Exit.

  15. Re: After CONNECT No response

    Hi all,

    Thanks all of U for ur time and input!
    Yes, I was missing the user option, now I've provided that and I'm
    able to connect. But I'm not able to browse through the Internet(I
    can ping to my remote server).
    Actually I don't know what to set in the /etc/resolv.conf. right now
    its empty But after establishment of the connection, a file
    /etc/ppp/resolv.conf
    got created with the following entries
    nameserver 202.144.95.4
    nameserver 202.144.66.6
    What need to be done for this ? any help appreciated.

    --
    Ganesh

    Here is the log:
    /var/log/ppp.log

    Sep 9 12:48:33 ganesh pppd[3613]: pppd 2.4.1 started by root, uid 0
    Sep 9 12:48:34 ganesh chat[3614]: send (AT&F1^M)
    Sep 9 12:48:34 ganesh chat[3614]: expect (OK)
    Sep 9 12:48:34 ganesh chat[3614]: AT&F1^M^M
    Sep 9 12:48:34 ganesh chat[3614]: OK
    Sep 9 12:48:34 ganesh chat[3614]: -- got it
    Sep 9 12:48:34 ganesh chat[3614]: send (ATDT0172306^M)
    Sep 9 12:48:34 ganesh chat[3614]: expect (CONNECT)
    Sep 9 12:48:34 ganesh chat[3614]: ^M
    Sep 9 12:49:21 ganesh chat[3614]: ATDT0172306^M^M
    Sep 9 12:49:21 ganesh chat[3614]: CONNECT
    Sep 9 12:49:21 ganesh chat[3614]: -- got it
    Sep 9 12:49:21 ganesh chat[3614]: send (\d)
    Sep 9 12:49:22 ganesh pppd[3613]: Serial connection established.
    Sep 9 12:49:22 ganesh pppd[3613]: using channel 12
    Sep 9 12:49:22 ganesh pppd[3613]: Using interface ppp0
    Sep 9 12:49:22 ganesh pppd[3613]: Connect: ppp0 <--> /dev/ttyS0
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfReq id=0x1 0x0> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfReq id=0x1
    1514> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfRej id=0x1 1514>]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfAck id=0x1 0x0> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ConfReq id=0x2
    ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [LCP ConfAck id=0x2
    ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [PAP AuthReq id=0x1
    user="mnayak" password=]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [PAP AuthAck id=0x1 ""]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfReq id=0x1 0.0.0.0> ]
    Sep 9 12:49:23 ganesh modprobe: modprobe: Can't locate module
    ppp-compress-21
    Sep 9 12:49:23 ganesh modprobe: modprobe: Can't locate module
    ppp-compress-21
    Sep 9 12:49:23 ganesh pppd[3613]: sent [CCP ConfReq id=0x1 15> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfReq id=0x3 VJ 0f 00> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfAck id=0x3 VJ 0f 00> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfNak id=0x1 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: sent [IPCP ConfReq id=0x2 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [LCP ProtRej id=0x4 80 fd 01
    01 00 0c 1a 04 78 00 18 04 78 00]
    Sep 9 12:49:23 ganesh pppd[3613]: rcvd [IPCP ConfAck id=0x2 210.214.182.172> ]
    Sep 9 12:49:23 ganesh pppd[3613]: local IP address 210.214.182.172
    Sep 9 12:49:23 ganesh pppd[3613]: remote IP address 202.144.107.15
    Sep 9 12:49:23 ganesh pppd[3613]: Script /etc/ppp/ip-up started (pid
    3628)
    Sep 9 12:49:23 ganesh pppd[3613]: Script /etc/ppp/ip-up finished (pid
    3628), status = 0x0
    Sep 9 12:51:19 ganesh pppd[3613]: Terminating on signal 15.
    Sep 9 12:51:19 ganesh pppd[3613]: Script /etc/ppp/ip-down started
    (pid 3644)
    Sep 9 12:51:19 ganesh pppd[3613]: sent [LCP TermReq id=0x2 "User
    request"]
    Sep 9 12:51:20 ganesh pppd[3613]: Script /etc/ppp/ip-down finished
    (pid 3644), status = 0x0
    Sep 9 12:51:20 ganesh pppd[3613]: rcvd [LCP TermAck id=0x2]
    Sep 9 12:51:20 ganesh pppd[3613]: Connection terminated.
    Sep 9 12:51:20 ganesh pppd[3613]: Connect time 2.0 minutes.
    Sep 9 12:51:20 ganesh pppd[3613]: Sent 636 bytes, received 480 bytes.
    Sep 9 12:51:21 ganesh pppd[3613]: Exit.

  16. Re: After CONNECT No response

    Ganesh Kumar wrote:
    > Yes, I was missing the user option, now I've provided that and I'm
    > able to connect. But I'm not able to browse through the Internet(I
    > can ping to my remote server).


    One of us should have noticed it's absence, but none did.

    > Actually I don't know what to set in the /etc/resolv.conf. right now
    > its empty But after establishment of the connection, a file
    > /etc/ppp/resolv.conf
    > got created with the following entries
    > nameserver 202.144.95.4
    > nameserver 202.144.66.6
    > What need to be done for this ? any help appreciated.


    Transfer the entires to /etc/resolv.conf where you can then likely
    forget about them. Pppd doesn't presume to change /etc/resolv.conf,
    just to provide them in /etc/ppp/resolv.conf. No self-respecting ISP
    changes nameserver IP addresses very often, if ever.

    Reading man 5 resolver may help you understand the entries and options
    available for /etc/resolv.conf.

    --
    Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/
    /* In my book, the first poster to resort to personal abuse in a Usenet
    debate loses by default. - Rod Smith */