Dial in server setup troubles - PPP

This is a discussion on Dial in server setup troubles - PPP ; I'm trying to set up a mgetty/pppd dial in serve on my computer but pppd seems to be giving me trouble. When ever I try to conect from another computer everthing goes just fine until pppd starts at which point ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Dial in server setup troubles

  1. Dial in server setup troubles

    I'm trying to set up a mgetty/pppd dial in serve on my computer but pppd
    seems to be giving me trouble. When ever I try to conect from another
    computer everthing goes just fine until pppd starts at which point it
    pauses for a few seconds then disconects with no sign of error on the
    server side and a message to the effect of "The remote side is not
    responding correctly" on the client side. My relavent setup is as follows:
    Hardware:
    Power Macintosh G3 266 Mhz
    Global Village TelePort 56 Fax/Modem Model A824

    Software:
    Gentoo Linux
    Mgetty version 1.1.30
    pppd 2.4.1


    The log files were:

    /var/log/mgetty/mgetty/ttyS0:

    --
    07/03 21:58:01 yS0 mgetty: experimental test release 1.1.30-Dec16
    07/03 21:58:01 yS0 check for lockfiles
    07/03 21:58:01 yS0 locking the line
    07/03 21:58:02 yS0 lowering DTR to reset Modem
    07/03 21:58:03 yS0 send: \dATQ0V1H0[0d]
    07/03 21:58:03 yS0 waiting for ``OK'' ** found **
    07/03 21:58:03 yS0 send: ATS0=0Q0&D3&C1[0d]
    07/03 21:58:03 yS0 waiting for ``OK'' ** found **
    07/03 21:58:03 yS0 mdm_send: 'ATI'
    07/03 21:58:03 yS0 non-numeric ID string: 'Global Village Communication'
    07/03 21:58:03 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
    07/03 21:58:03 yS0 mdm_send: 'AT+FCLASS=2' -> OK
    07/03 21:58:03 yS0 mdm_send: 'AT+FCLASS=0' -> OK
    07/03 21:58:03 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
    07/03 21:58:03 yS0 mdm_send: 'AT+FBOR=0' -> OK
    07/03 21:58:04 yS0 mdm_send: 'AT+FLID="49 115 xxxxxxxx"' -> OK
    07/03 21:58:04 yS0 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
    07/03 21:58:04 yS0 waiting...
    07/03 21:58:24 yS0 wfr: waiting for ``RING''
    07/03 21:58:24 yS0 wfr: waiting for ``RING''
    07/03 21:58:30 yS0 wfr: waiting for ``RING''
    07/03 21:58:47 yS0 mdm_read_byte: read returned -1: Interrupted system
    call
    07/03 21:58:47 yS0 wfr: timeout waiting for RING
    07/03 21:58:47 yS0 ringback: phone stopped after 2 RINGs, waiting for
    re-ring
    07/03 21:58:47 yS0 wfr: waiting for ``RING''
    07/03 21:58:59 yS0 send: ATA[0d]
    07/03 21:58:59 yS0 waiting for ``CONNECT'' ** found **
    07/03 21:59:18 yS0 send:
    07/03 21:59:18 yS0 waiting for ``_'' ** found **
    07/03 21:59:18 yS0 autobauding: switch to 38400 bps
    07/03 21:59:21 ##### data dev=ttyS0, pid=7517, caller='none',
    conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'


    /var/log/ppp:

    pppd options in effect:
    debug # (from command line)
    logfile /var/log/ppp # (from /etc/ppp/options.server)
    dump # (from command line)
    require-pap # (from /etc/ppp/options.server)
    refuse-chap # (from /etc/ppp/options.server)
    /dev/ttyS0 # (from command line)
    38400 # (from command line)
    lock # (from /etc/ppp/options.server)
    record /var/log/ppp.record # (from /etc/ppp/options.server)
    asyncmap 0 # (from /etc/ppp/options.server)
    proxyarp # (from /etc/ppp/options.server)
    Hangup (SIGHUP)
    tcsetattr: Interrupted system call

    And the /var/log/ppp.record file was blank

    Any ideas of what is wrong or more importanly what I might be able to due
    to fix it?
    Thanks for any help you can give,
    --Hargobind Khalsa

  2. Re: Dial in server setup troubles

    Hargobind Khalsa wrote:
    > I'm trying to set up a mgetty/pppd dial in serve on my computer but pppd
    > seems to be giving me trouble. When ever I try to conect from another
    > computer everthing goes just fine until pppd starts at which point it
    > pauses for a few seconds then disconects with no sign of error on the
    > server side and a message to the effect of "The remote side is not
    > responding correctly" on the client side. My relavent setup is as follows:
    > Hardware:
    > Power Macintosh G3 266 Mhz
    > Global Village TelePort 56 Fax/Modem Model A824


    > Software:
    > Gentoo Linux
    > Mgetty version 1.1.30
    > pppd 2.4.1



    > The log files were:


    ....

    > 07/03 21:59:21 ##### data dev=ttyS0, pid=7517, caller='none',
    > conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'


    ....

    record /var/log/ppp.record # (from /etc/ppp/options.server)

    How is pppd to know to use options.server? See man pppd in the FILES
    section for what files pppd automatically looks for. Check the pppd
    "file" option for directing it to use other files (but that option is
    not located in the FILES section).

    > And the /var/log/ppp.record file was blank


    The record option is generally unnecessary for diagnosing almost any
    pppd problem. And any output resulting from the "debug" option will be
    in one or more of the files in /var/log file, with proper configuration
    of /etc/syslog.conf.

    --
    Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/
    /* On Linux be root, on Windows reboot.
    -Josef Müllers */

  3. Re: Dial in server setup troubles

    On Sun, 4 Jul 2004 09:28:49 -0500, Clifford Kite
    wrote:

    > How is pppd to know to use options.server?

    In /etc/mgetty+sendfax/login.config is the line
    /AutoPPP/ - - /usr/sbin/pppd ttyS0 38400 file /etc/ppp/options.server
    debug dump
    which is what calls pppd after the modem has conected so the file option
    is set there

    >> And the /var/log/ppp.record file was blank

    >
    > The record option is generally unnecessary for diagnosing almost any
    > pppd problem. And any output resulting from the "debug" option will be
    > in one or more of the files in /var/log file, with proper configuration
    > of /etc/syslog.conf.
    >

    Ok I'm preaty sure I have my equivalant of /etc/syslog.conf configuered
    corectlty so I'll see what I can get from the results when I next get a
    chance to atempt to conect.

    Thanks for your comments!
    --Hargobind Khalsa

  4. Re: Dial in server setup troubles

    Hargobind Khalsa wrote:
    > On Sun, 4 Jul 2004 09:28:49 -0500, Clifford Kite
    > wrote:


    >> How is pppd to know to use options.server?

    > In /etc/mgetty+sendfax/login.config is the line
    > /AutoPPP/ - - /usr/sbin/pppd ttyS0 38400 file /etc/ppp/options.server
    > debug dump
    > which is what calls pppd after the modem has conected so the file option
    > is set there


    Okay, although that seems a bit peculiar, since the log showed

    > 07/03 21:59:21 ##### data dev=ttyS0, pid=7517, caller='none',
    > conn='38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'


    and I'd expect the arguments to pppd to be shown too. Apparently I
    was wrong in that expectation - but it's no surprise since I haven't
    actually used AutoPPP.

    => And any output resulting from the "debug" option will be
    => in one or more of the files in /var/log file

    There I go again, the "file" at the end is an editing-for-clarity mistake,
    it should not be there. Maybe I'd better stop editing for clarity. :/

    -- Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/
    /* "PPPoE has many advantages for DSL service providers, and
    practically none for DSL consumers."
    - David F. Skoll */

+ Reply to Thread