PPP problem with RH 7.1 updated with ppp-2.4.1-3

Discussion in 'Linux Networking' started by Tobias Skytte, Nov 11, 2003.

  1. I am trying to get a ppp server running, but it is giving me some
    I am running RH 7.1 and after a lot of fiddling, i found out that the
    ppp that comes with that version is broken and so updated to
    ppp-2.4.1-3 which is supposed to work.
    When I dial up (using winXP) it authenticates but immediately drops
    the connection (so the symptoms are the same as when using the faulty
    ppp ).
    the messages log says:
    user tobias logged in
    LCP terminated by peer (and then some garbage)
    Hangup (SIGHUP)
    Modem hangup

    and a little further down there are some DHCP requests

    So what gives?
    WinXP says that the remote server could not assign an IP address.

    I have in the /etc/ppp/options.ttyQ1a1 the following:
    #the beginning
    #the end

    And as far as I understood this should give the glient a dynamic
    I have DHCP set up correctly (AFAIK).
    The server has two nic's one with public ip (196.x.x.x)and one with
    private ip (192.168.x.x)

    Any suggestions, or references to good online documentation would be
    great. I have read the ppp-howto but it doesn't address my problem
    Thanks in advance.

    PS: I have to run RH 7.1 for specific reasons (not because I enjoy
    using old software!)

    Tobias Skytte
    Tobias Skytte, Nov 11, 2003
    1. Advertisements

  2. Depending on what RH modified pppd it is you may have one that I know
    doesn't work right. That would be one that came with RH 7.2.
    Add the pppd debug option and follow the recipe in my signature to get
    detailed PPP link negotiation messages. Post exact copies of them,
    including timestamps and we probably can then help you.
    Huh? Regular landline PPP doesn't use DHCP.
    I don't recognize ttyQ1a1 as being a serial device file? The serial device
    files are usually the ttyS* files.
    No, it gives the RH host an IP address. You likely would want to supply
    the host calling in with an IP address it will use:
    I'm not sure there is anything I can recommend for setting up a dialin
    connection host. I've set one up but don't recall what documentation
    I started with, aside from "info mgetty". You can try these but if you
    are able to start PPP negotiations started then the log messages should
    provide an answer:

    (one or more of the above is probably gone)

    Clifford Kite Email: "echo |rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/
    /* Recipe for a unified PPP debug log file: Add the line
    " local2.*;*.=debug;*.=notice /var/log/ppp-debug.log "
    to /etc/syslog.conf, and then do " kill -HUP $(pidof syslogd) "
    so that syslogd rereads it. */
    Clifford Kite, Nov 11, 2003
    1. Advertisements

  3. and a little further down there are some DHCP requests
    Yes I was confused. The DHCP requests came from another computer on
    the lan.
    Sorry I should have mentioned, it is an equinox modem pool so the
    device is ok.
    Yes, it is working now, like this. And also the problem was with the
    pap-secrets file which had to be:
    username * password *

    (i.e. stars for 'server' and 'ip-address')
    Problem solved. thanks for your help.

    Tobias Skytte
    Tobias Skytte, Nov 21, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.