Forum Linux.général PPPoE client

Posté par  (site web personnel) . Licence CC By‑SA.
Étiquettes : aucune
1
12
sept.
2022

Bonjour,
Je souhaite remplacer un router mikrotik configurer comme client PPPoE PaP par un Linux.
Quand je met noauth le packet semble correcte mais il envoie pas le mot de passe, donc je suis bloqué. Quand je ne le met pas, il me refuse:
sent [LCP TermReq id=0x4 "peer refused to authenticate"]
Selon wireshark, est refusé:
Extensible Authentication Protocol 0xc227
Challenge Handshake Authentication Protocol 0xc223
Le log complet:
Plugin rp-pppoe.so loaded.
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
dst ff:ff:ff:ff:ff:ff src 50:3e:aa:12:85:55
[service-name] [host-uniq 26 06 00 00]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 45
dst 50:3e:aa:12:85:55 src 84:c1:c1:ff:f5:4b
[AC-name BLV-MX104] [host-uniq 26 06 00 00] [service-name] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
Send PPPOE Discovery V1T1 PADR session 0x0 length 32
dst 84:c1:c1:ff:f5:4b src 50:3e:aa:12:85:55
[service-name] [host-uniq 26 06 00 00] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
Recv PPPOE Discovery V1T1 PADS session 0x921f length 45
dst 50:3e:aa:12:85:55 src 84:c1:c1:ff:f5:4b
[service-name] [host-uniq 26 06 00 00] [AC-name BLV-MX104] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
PADS: Service-Name: ''
PPP session is 37407
Connected to 84:c1:c1:ff:f5:4b via interface enp1s0
using channel 2
Using interface ppp0
Connect: ppp0 <--> enp1s0
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0xcd ]
sent [LCP ConfAck id=0xcd ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfRej id=0x2 ]
sent [LCP ConfReq id=0x3 ]
rcvd [LCP ConfAck id=0x3 ]
sent [LCP EchoReq id=0x0 magic=0x603657fb]
peer refused to authenticate: terminating link
sent [LCP TermReq id=0x4 "peer refused to authenticate"]
rcvd [LCP EchoRep id=0x0 magic=0x2bdbb4c1]
rcvd [LCP TermAck id=0x4]

  • # Etat actuel

    Posté par  (site web personnel) . Évalué à 2.

    Plugin rp-pppoe.so loaded.
    pppd options in effect:
    debug debug # (from /etc/ppp/peers/cotas)
    -detach # (from /etc/ppp/options)
    holdoff 5 # (from /etc/ppp/peers/cotas)
    persist # (from /etc/ppp/peers/cotas)
    maxfail 0 # (from /etc/ppp/peers/cotas)
    dump # (from command line)
    plugin rp-pppoe.so # (from /etc/ppp/peers/cotas)
    +pap # (from /etc/ppp/peers/cotas)
    -chap # (from /etc/ppp/peers/cotas)
    name cotas # (from /etc/ppp/peers/cotas)
    user XXXX@adslipfija # (from command line)
    password ?????? # (from command line)
    enp1s0 # (from /etc/ppp/peers/cotas)
    enp1s0 # (from /etc/ppp/peers/cotas)
    noaccomp # (from /etc/ppp/peers/cotas)
    asyncmap ffffffff # (from /etc/ppp/options)
    default-asyncmap # (from /etc/ppp/peers/cotas)
    mtu 1480 # (from /etc/ppp/peers/cotas)
    lcp-echo-failure 3 # (from /etc/ppp/peers/cotas)
    lcp-echo-interval 10 # (from /etc/ppp/peers/cotas)
    noipdefault # (from /etc/ppp/peers/cotas)
    defaultroute # (from /etc/ppp/peers/cotas)
    noipx # (from /etc/ppp/options)
    Send PPPOE Discovery V1T1 PADI session 0x0 length 12
    dst ff:ff:ff:ff:ff:ff src 50:3e:aa:12:85:55
    [service-name] [host-uniq 85 05 00 00]
    Recv PPPOE Discovery V1T1 PADO session 0x0 length 45
    dst 50:3e:aa:12:85:55 src 84:c1:c1:ff:f5:4b
    [AC-name BLV-MX104] [host-uniq 85 05 00 00] [service-name] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
    Send PPPOE Discovery V1T1 PADR session 0x0 length 32
    dst 84:c1:c1:ff:f5:4b src 50:3e:aa:12:85:55
    [service-name] [host-uniq 85 05 00 00] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
    Recv PPPOE Discovery V1T1 PADS session 0x92d3 length 45
    dst 50:3e:aa:12:85:55 src 84:c1:c1:ff:f5:4b
    [service-name] [host-uniq 85 05 00 00] [AC-name BLV-MX104] [AC-cookie 06 fe 13 32 ff 5d ee 5c 24 e8 16 8f 5d f4 50 37]
    PADS: Service-Name: ''
    PPP session is 37587
    Connected to 84:c1:c1:ff:f5:4b via interface enp1s0
    using channel 12
    Using interface ppp0
    Connect: ppp0 <--> enp1s0
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x66 ]
    sent [LCP ConfAck id=0x66 ]
    rcvd [LCP ConfRej id=0x1 ]
    sent [LCP ConfReq id=0x2 ]
    rcvd [LCP ConfAck id=0x2 ]
    sent [LCP EchoReq id=0x0 magic=0xf0d6705c]
    peer refused to authenticate: terminating link
    sent [LCP TermReq id=0x3 "peer refused to authenticate"]
    rcvd [LCP EchoRep id=0x0 magic=0x1968429f]
    rcvd [LCP TermAck id=0x3]
    Connection terminated.

    Mon projet libre: http://ultracopier-fr.first-world.info/, mon jeu libre: http://catchchallenger.first-world.info/

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.