Re: PPPoE misbehaving?

From: Chris Knipe (savage_at_savage.za.org)
Date: 07/19/04

  • Next message: Edward Ajhar: "portupgrade/portinstall problem"
    To: "Gleb Smirnoff" <glebius@freebsd.org>
    Date: Mon, 19 Jul 2004 04:14:16 +0200
    
    

    Hi Gleb,

    I'm afraid to say it still does exactly the same... No change what so
    ever...

    pppoed:
    su-2.05b# /usr/libexec/pppoed -Fd -P /var/run/pppoed.pid -a pppoe -p * -l
    pppoe ath0
    Sending NGM_LISTHOOKS to ath0:
    Got reply from id [1]: Type ether with 1 hooks
      Got [1]:orphans -> [4]:ethernet
    Sending PPPOE_LISTEN to .:pppoe-601, provider *
    pppoed[601]: Listening as provider *

    tcpdump:
    04:11:47.145798 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
    04:11:48.195504 PPPoE PADI [Service-Name] [Host-Uniq UTF8]

    HOWEVER!

    When I start PPPOE on ath0 (Wireless), and rl0 (cabled), there is definate
    differences....

    ath0:
    su-2.05b# /usr/libexec/pppoed -Fd -P /var/run/pppoed.pid -a pppoe -p * -l
    pppoe ath0
    Sending NGM_LISTHOOKS to ath0:
    Got reply from id [1]: Type ether with 1 hooks
      Got [1]:orphans -> [4]:ethernet
    Sending PPPOE_LISTEN to .:pppoe-601, provider *
    pppoed[601]: Listening as provider *

    rl0:
    Sending NGM_LISTHOOKS to rl0:
    Got reply from id [2]: Type ether with 0 hooks
    Send MKPEER: rl0:orphans -> [type pppoe]:ethernet
    Sending PPPOE_LISTEN to .:pppoe-602, provider *
    pppoed[602]: Listening as provider *
    pppoed[602]: Got 60 bytes of data:
    ffffffffffff000c766aa50b886311090000001001010000010300080a0000000d0000000000
    00000000000000000000000000000000000000000000
    pppoed[604]: Creating a new socket node
    pppoed[602]: Listening as provider *
    pppoed[604]: Sending CONNECT from .:exec-604 -> rl0:orphans.exec-604
    pppoed[604]: Sending NGM_SOCK_CMD_NOLINGER to socket
    pppoed[604]: Offering to .:exec-604 as access concentrator pppoe
    pppoed[604]: adding to .:exec-604 as offered service pppoe
    pppoed[604]: Sending original request to .:exec-604 (60 bytes)
    pppoed[604]: Waiting for a SUCCESS reply .:exec-604
    pppoed[604]: Received NGM_PPPOE_SESSIONID (hook "")
    pppoed[604]: Received NGM_PPPOE_SUCCESS (hook "exec-604")
    pppoed[604]: Executing: exec /usr/sbin/ppp -direct pppoe

    So yes... Exactly the same program, modules, and configuation works with the
    rl drivers, but not with the ath drivers... I suppose now it is down to
    being a driver issue???

    --
    Chris.
    ----- Original Message ----- 
    From: "Gleb Smirnoff" <glebius@freebsd.org>
    To: "Chris Knipe" <savage@savage.za.org>
    Cc: <freebsd-questions@freebsd.org>
    Sent: Monday, July 19, 2004 2:22 AM
    Subject: Re: PPPoE misbehaving?
    > On Mon, Jul 19, 2004 at 02:17:00AM +0200, Chris Knipe wrote:
    > C> Thank you all for the replies.  The card is a Senao NL-2054PCI, based
    on the
    > C> Atheros chipset... pciconf -lv reports:
    > C>
    > C> ath0@pci0:9:0:  class=0x020000 card=0x2027168c chip=0x0013168c rev=0x01
    > C> hdr=0x00
    > C>     vendor   = 'Atheros Communications Inc.'
    > C>     device   = '802/11b/g AR5212 wireless Adapter'
    > C>     class    = network
    > C>     subclass = ethernet
    > C>
    > C> As I did indicate, the card is working and functioning properly - I am
    99%
    > C> sure it is a problem related with PPPoEd, or something in regards to
    PPPoE
    > C> over the Ethernet card (which, can also be possible I guess).  I've
    tried
    > C> all the other suggestions that was made, and none of them seemed to
    have
    > C> changed anything.  From what I can see, the client sends and attempts
    to
    > C> initiate the PPPoE connection properly, but the PPPoE daemon does not
    > C> receive the packets / or does not initiate a session - which, needs to
    be
    > C> completed before any sub processes will be spawned.
    >
    > Try to activate this paragraph in ng_pppoe.c:
    >
    > #if 0
    > #define AAA printf("pppoe: %s\n", __func__ );
    > #define BBB printf("-%d-", __LINE__ );
    > #else
    > #define AAA
    > #define BBB
    > #endif
    >
    > I mean change "if 0" to "if 1". Then rebuild a new ng_pppoe.ko. Then
    > try to connect, ensure that you see PADI's with tcpdump. And then
    > report what do you have (or have not) logged on console.
    >
    > Thanks.
    > C> for this.  Are there possibly any other open source PPPoE Daemons
    available
    > C> that I can possibly try on FreeBSD 5.2??
    >
    > Seems like the issue is either with network driver or ng_pppoe, not with
    > pppoed daemon.
    >
    > -- 
    > Totus tuus, Glebius.
    > GLEBIUS-RIPN GLEB-RIPE
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Edward Ajhar: "portupgrade/portinstall problem"

    Relevant Pages

    • Re: MTU
      ... provider uses ATM, even though 1492 is the largest possible frame size. ... even better is to switch to a provider or plan that *doesn't* use ... PPPoE, but instead bridged ethernet with a MTU of 1500. ...
      (alt.os.linux.suse)
    • Re: PPPoE Server Publishing
      ... Agreed, PPPoE does, but at the time it was my only option. ... get a different provider. ... OK, I'll articulate, it isn't being blocked by my ISP or from my ISA server ... Delete and recreate the Publishing Rules from scratch. ...
      (microsoft.public.isa.configuration)
    • Re: PPPoE Server Publishing
      ... I'm moving to a non PPPoE provider that should be installed today. ... should fix my problems and allow me to continue using ISA server. ... How to configure a PPPoE connection in ISA Server 2006 or in ISA Server 2004 ...
      (microsoft.public.isa.configuration)
    • pppoe problem
      ... I've recently started using a provider that needs pppoe and I'm having ... It seems to connect fine through pppoe, gets an IP address and DNS servers. ... I think it might be an mtu blackholing issue but I don't know how to fix it. ... if I plug my machine into a router that the provider ...
      (Debian-User)
    • Re: AOL Are they any good now
      ... > You need a disk to install the drivers that come with the BT Voyager ... Router has always been configured as PPPoE. ...
      (uk.telecom.broadband)