[7.850][BUG][OPEN] PPPoE won't work

Heyho,

my pppoe connection doesn't work under 7.850 and I don't know why. Here's the log ...

2009:12:23-20:53:03 gateway pppoe-sh: DSL connection time shorter then 60 seconds (0 sec): Error? - wait 5 seconds
2009:12:23-20:53:13 gateway pppoe-sh: Access-Concentrator: bbac-ko0
2009:12:23-20:53:13 gateway pppd-pppoe[7593]: Plugin /usr/lib/pppd/2.4.5/rp-pppoe.so loaded.
2009:12:23-20:53:13 gateway pppd-pppoe[7593]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
2009:12:23-20:53:13 gateway pppd-pppoe[7593]: pppd 2.4.5 started by root, uid 0
2009:12:23-20:53:13 gateway pppd-pppoe[7593]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
2009:12:23-20:53:13 gateway pppd-pppoe[7593]:  dst ff:ff:ff:ff:ff:ff  src 0:1a:8c:17:12:72
2009:12:23-20:53:13 gateway pppd-pppoe[7593]:  [service-name] [host-uniq  a9 1d 00 00]
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Recv PPPOE Discovery V1T1 PADO session 0x0 length 44
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  dst 0:1a:8c:17:12:72  src 0:12:1:93:1e:19
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  [service-name] [host-uniq  a9 1d 00 00] [AC-name bbac-ko0] [AC-cookie  80 de 7a 9f b0 e9 36 c5 8b 88 63 84 02 4c d7 d9]
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Send PPPOE Discovery V1T1 PADR session 0x0 length 32
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  dst 0:12:1:93:1e:19  src 0:1a:8c:17:12:72
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  [service-name] [host-uniq  a9 1d 00 00] [AC-cookie  80 de 7a 9f b0 e9 36 c5 8b 88 63 84 02 4c d7 d9]
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Recv PPPOE Discovery V1T1 PADS session 0x5cd length 32
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  dst 0:1a:8c:17:12:72  src 0:12:1:93:1e:19
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  [service-name] [host-uniq  a9 1d 00 00] [AC-cookie  80 de 7a 9f b0 e9 36 c5 8b 88 63 84 02 4c d7 d9]
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: PADS: Service-Name: ''
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: PPP session is 1485
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Failed to create PPPoE socket: Protocol not supported
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Send PPPOE Discovery V1T1 PADT session 0x5cd length 28
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  dst 0:12:1:93:1e:19  src 0:1a:8c:17:12:72
2009:12:23-20:53:14 gateway pppd-pppoe[7593]:  [host-uniq  a9 1d 00 00] [AC-cookie  80 de 7a 9f b0 e9 36 c5 8b 88 63 84 02 4c d7 d9]
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Sent PADT
2009:12:23-20:53:14 gateway pppd-pppoe[7593]: Exit.
2009:12:23-20:53:14 gateway pppoe-sh: DSL connection time shorter then 60 seconds (1 sec): Error? - wait 5 seconds
  • Did you already try to reset your modem? I also use PPPoE and it works fine.

    BTW: Who are you; only 2 posts but invitated into this hidden forum?

    Regards,
    Bastian

    Edit: found you on Xing [;)]
  • At first, it isn't a problem with the DSL-Modem, but sure I've restartet and resettet everything in my network ;-)

    As you can see in the log, PPP discovering works fine. The ASG can see the providers backend pppoe server "bbac-ko0" (in hardware it's a Cisco 7206/1G running IOS 12.4...) and is getting the right IP.

    Im testing on an ASG320.
  • Hi Nils,

    this is a shrewd guess and i'm about the opposite of a kernel specialist - but judging from the pppoe source code, i would expect the error "Failed to create PPPoE socket: Protocol not supported" if, for some reason, your kernel happens to be lacking pppox support.

    Could you please show the output of the command:

    # lsmod | grep ppp

    In case pppox does not show up there, we have come a step further.  In that case, we must find out why the module is not loaded.  In that case, please also try

    # modprobe pppox

    then repeat the lsmod command to check the result and retry using your PPP connection.  If that helps, we need to talk to Florian when he is back from vacation how to fix kernel module loading.

    In case this does *not* help, is there any way how i can have a look at the machine?  Or can you provide complete /var/log/confd.log, mdw.log, pppoe.log and /tmp/confd-debug.log and mdwdebug.log privately to me, including a point in time where the problem occurred?
  • keep this option last after u send log and other thing please try this things after u finesh u r all repoting to astaro staff 

    Sorry i am a expert but i am think what i will try if i am in u r position 


    1)normal switch or managed switch 
    2)adsl router/modem is in which mode 
    3)arp -a or arp -n show router mac /ip 
    4)if u have static ip ,u can try to connect u r router in bridge mode (not astaro's bridge )connect router to wan interface and u r public ip to wan card
    to ensure router work with u r asg hardware  
    5)i might be already connected as u can see remote connection with isp as it already connected it might give u error 

    Thanks
  • Hi Nils,

    the error message you are reporting ("Failed to create PPPoE socket: Protocol not supported") is definitely due to a failing socket(2) system call - so much is obvious without any kernel expertise, even though i don't currently understand why this purely local, not network-related call is failing.  Definitely, it's a local problem, and there's no need to do the extensive network debugging suggested in the previous post.

    Yours,
      Ingo
  • Ok, then I will upgrade to newer Version and hope ;-)
  • Hi Nils,

    ...

    In case this does *not* help, is there any way how i can have a look at the machine?  Or can you provide complete /var/log/confd.log, mdw.log, pppoe.log and /tmp/confd-debug.log and mdwdebug.log privately to me, including a point in time where the problem occurred?


    I sent you an Email with the logfiles.
  • Did you already test the 7.851?


    Not, yet. Ingo will have a look on the maschine first or some one else ;-)
  • Astaro Beta Report
    --------------------------------
    Version: 7.850
    Type: BUG
    State: ASSIGNED/OPEN
    Reporter: nils.ullmann
    Contributor:  
    MantisID: 12278
    Target version: 
    Fixed in version: 
    --------------------------------