PPPoE not connecting !!!

Home Page Forums Network Management Signal a BUG PPPoE not connecting !!!

This topic contains 7 replies, has 0 voices, and was last updated by  Alderon 6 years, 8 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #43420

    Alderon
    Participant

    I use PPPoE with aDSL modem. It was working on zs1b16 without problems, but after upgrading to zs2rc1 PPPoE client is unable to connect to the server. PPPoE is not working also with new configured profile.

    pppd log:

    17:17:38 pppd 2.4.3 started by root, uid 0
    17:17:38 Using interface ppp0
    17:17:38 Connect: ppp0 < --> /dev/pts/0
    17:18:09 LCP: timeout sending Config-Requests
    17:18:09 Connection terminated.
    17:18:09 Using interface ppp0
    17:18:09 Connect: ppp0 < --> /dev/pts/1
    17:18:14 Child process /usr/sbin/pppoe -p /tmp/pppoe-ppp0.pid.pppoe -I ETH02 -T 80 -U -m 1412 (pid 17047) terminated with signal 15
    17:18:14 tcflush failed: Bad file descriptor
    17:18:14 Exit.
    17:18:19 pppd 2.4.3 started by root, uid 0
    17:18:20 Using interface ppp0
    17:18:20 Connect: ppp0 < --> /dev/pts/0
    17:18:25 LCP terminated by peer
    17:18:25 Modem hangup
    17:18:25 Connection terminated.
    17:18:25 Exit.
    ….

    17:27:56 pppd 2.4.3 started by root, uid 0
    17:27:56 Using interface ppp0
    17:27:56 Connect: ppp0 < --> /dev/pts/0
    17:27:57 LCP terminated by peer
    17:27:57 Modem hangup
    17:27:57 Connection terminated.
    17:27:57 Exit.

    This log was created after puting ppp0 intreface from down to up state.

    #52422

    aemarx
    Member

    have you try reset the modem?

    #52423

    Alderon
    Participant

    I tried reset, factory default and reconfigure modem, but without effect. But manualy configuring and starting pppoe client was working. Problem is probably in pppoe configuration script.[/url][/code]

    #52424

    iames
    Member

    I am having the same issue. It seems no /etc/pap-secrets or /etc/chap-secrets file are created, so pppd is unable to login.

    Adding the following piece of code to Pre-Boot Script solves the problem (quick and dirty fix).

    echo ""iames" *       "PASSWORD"" > /etc/ppp/pap-secrets
    echo ""iames" * "PASSWORD"" > /etc/ppp/chap-secrets
    chmod 600 /etc/ppp/chap-secrets /etc/ppp/pap-secrets

    *NOTE: replace PASSWORD with your corresponding password.

    #52425

    Alderon
    Participant

    Thanks for your solution iames. It works great!

    #52426

    pomidorov
    Member

    Thank you, iames. It’s works!

    #52427

    deepzero
    Member

    Hi all Guys!

    the problem there is no softlink at the /tmp/ppp-secrets in /etc/ppp directory.
    I guess is a GUI issue.

    I’m posting my own work-aroud in Pre Boot:

    ln -s /tmp/ppp-secrets /etc/ppp/pap-secrets
    ln -s /tmp/ppp-secrets /etc/ppp/chap-secrets
    chmod 600 /etc/ppp/chap-secrets
    chmod 600 /etc/ppp/pap-secrets

    Byez

    #52428

    pomidorov
    Member

    Thank you deepzero!

    #52429

    ztao
    Member

    chmod 600 /etc/ppp/chap-secrets
    chmod: failed to get attributes of `/etc/ppp/chap-secrets’: No such file or directory

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.