Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

PPPoE problem

From: Alex Feldman <al.feldman(at)sangoma.com>
Date: Wed Oct 15 2003 - 10:04:03 EDT


Hello everyone!

I'm using FreeBSD-4.8.
I'm running ADSL card using ppp and kernel NETGRAPH implementation.

Without any changes to the kernel, I was not able to connect to the provider. This is the trace that I got from my driver:

OUTGOING	Len=32   	Timestamp=7396
		FF FF FF FF FF FF 00 77 77 77 78 1B 88 63
		11 09 00 00 00 0C 01 03 00 04 80 58 4B C2 01 01 00 00

INCOMING	Len=70   	Timestamp=7398
		00 77 77 77 78 1B 00 02 3B 01 AE 33 88 63
		11 07 00 00 00 32 01 03 00 04 80 58 4B C2 01 01 00 00 01 02
		00 1E 39 41 30 35 35 30 39 30 31 34 38 31 31 34 2D 73 6D 73
		31 33 2D 74 6F 72 6F 6E 74 6F 36 33 01 01 00 00

OUTGOING	Len=60   	Timestamp=7398
		00 02 3B 01 AE 33 00 77 77 77 78 1B 88 63
		11 19 00 00 00 2E 01 03 00 04 80 58 4B C2 01 02 00 1E 39 41
		30 35 35 30 39 30 31 34 38 31 31 34 2D 73 6D 73 31 33 2D 74
		6F 72 6F 6E 74 6F

OUTGOING	Len=60   	Timestamp=7598
		00 02 3B 01 AE 33 00 77 77 77 78 1B 88 63
		11 19 00 00 00 2E 01 03 00 04 80 58 4B C2 01 02 00 1E 39 41
		30 35 35 30 39 30 31 34 38 31 31 34 2D 73 6D 73 31 33 2D 74
		6F 72 6F 6E 74 6F

You can find that PADR packet includes AC-Name Tag (as I found later it cause the problem).

I went to NETGRAPH source and comment the follow lines that add AC-Name tag to PADR packet:

	if ((tag=get_tag(ph, PTT_AC_NAME))){
		insert_tag(sp, tag);
		send_acname(sp, tag);
	}

Now, when I run ppp+dial I was able to connect to the provider and the trace is follow:

OUTGOING	Len=32   	Timestamp=53047
		FF FF FF FF FF FF 00 77 77 77 78 1B 88 63
		11 09 00 00 00 0C 01 03 00 04 80 96 4B C2 01 01 00 00

INCOMING	Len=70   	Timestamp=53049
		00 77 77 77 78 1B 00 02 3B 01 AE 33 88 63
		11 07 00 00 00 32 01 03 00 04 80 96 4B C2 01 01 00 00 01 02
		00 1E 39 41 30 35 35 30 39 30 31 34 38 31 31 34 2D 73 6D 73
		31 33 2D 74 6F 72 6F 6E 74 6F 36 33 01 01 00 00

OUTGOING	Len=32   	Timestamp=53049
		00 02 3B 01 AE 33 00 77 77 77 78 1B 88 63
		11 19 00 00 00 0C 01 03 00 04 80 96 4B C2 01 01 00 00

INCOMING	Len=66   	Timestamp=53051
		00 77 77 77 78 1B 00 02 3B 01 AE 33 88 63
		11 65 C1 89 00 2E 01 03 00 04 80 96 4B C2 01 01 00 00 01 02
		00 1E 39 41 30 35 35 30 39 30 31 34 38 31 31 34 2D 73 6D 73
		31 33 2D 74 6F 72 6F 6E 74 6F 36 33

INCOMING	Len=60   	Timestamp=53075
		00 77 77 77 78 1B 00 02 3B 01 AE 33 88 64
Do you need help?X
11 00 C1 89 00 14 C0 21 01 B5 00 12 01 04 05 D4 03 04 C0 23 05 06 21 1A E4 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 OUTGOING Len=36 Timestamp=53148 00 02 3B 01 AE 33 00 77 77 77 78 1B 88 64 11 00 C1 89 00 10 C0 21 01 01 00 0E 01 04 05 D4 05 06 43 B0 08 15 ............................................

Can it be bug in NETGRAPH source or why I was not be able to connect while AC-Name tag includes in a PADR packet?

Thank you
Alex Feldman Received on Wed Oct 15 10:34:42 2003

Do you need more help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:43:07 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library