Date: Mon, 19 Jul 2004 04:14:16 +0200 From: "Chris Knipe" <savage@savage.za.org> To: "Gleb Smirnoff" <glebius@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: PPPoE misbehaving? Message-ID: <001501c46d36$19078000$14e2fea9@savage.za.org> References: <000b01c46b21$ed378cb0$14e2fea9@savage.za.org> <1090000401.1765.14.camel@klotz.local> <20040716193544.GB30194@cell.sick.ru> <004101c46d25$b988bbe0$14e2fea9@savage.za.org> <20040719002252.GB43924@cell.sick.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c46d36$19078000$14e2fea9>