Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2005 21:08:17 +0200
From:      ComteZero _ <comte0@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   how to modify OpenBSD pppoe discovery ?
Message-ID:  <1d881b2f05091812085ef72335@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello,

I use a 3Com ADSL Modem HomeConnect. 3Com made something really stupid, the=
=20
modem do not comply with PPPoE RFC standards in discovery packet.
Under FreeBSD, there is an option to tell the system that we use this modem=
,=20
but under OpenBSD, I can't find this feature.

Do you know how I can modify (and where) the discovery packet value in=20
source code under OpenBSD ?

Thx,=20

http://www.free.bsd.com.br/noticia.php3?CAD=3D1&NOT=3D82

--- ng_pppoe.h.orig=09Wed Jun 27 23:19:34 2001
+++ ng_pppoe.h=09Thu Jun 28 06:57:20 2001

@@ -148,8 +148,8 @@
 #define PTT_SYS_ERR  =09(0x0202)
 #define PTT_GEN_ERR  =09(0x0203)
=20
-#define ETHERTYPE_PPPOE_DISC=090x8863=09/* pppoe discovery packets     */

-#define ETHERTYPE_PPPOE_SESS=090x8864=09/* pppoe session packets       */

+#define ETHERTYPE_PPPOE_DISC=090x3c12=09/* pppoe discovery packets     */
+#define ETHERTYPE_PPPOE_SESS=090x3c13=09/* pppoe session packets       */

 #else
 #define PTT_EOL=09=09(0x0000)
 #define PTT_SRV_NAME=09(0x0101)

@@ -162,8 +162,8 @@
 #define PTT_SYS_ERR  =09(0x0202)
 #define PTT_GEN_ERR  =09(0x0302)
=20
-#define ETHERTYPE_PPPOE_DISC=090x6388=09/* pppoe discovery packets     */

-#define ETHERTYPE_PPPOE_SESS=090x6488=09/* pppoe session packets       */

+#define ETHERTYPE_PPPOE_DISC=090x123c=09/* pppoe discovery packets     */
+#define ETHERTYPE_PPPOE_SESS=090x133c=09/* pppoe session packets       */

 #endif
=20
 struct pppoe_tag {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d881b2f05091812085ef72335>