[speedtouch] Re: PPPoE support patch

2004-07-06 Thread Benoit PAPILLAULT

Tiago Cogumbreiro wrote:

 Hello all,
 
 I wanted to propose to the speedtouch developers a little improvement in
 the connection script, in the form of a patch. What i am proposing is
 extending the configuration file to include 3 more entries, namely:
 
  * CONN_MODE: the connection mode, pppoe/pppoa
  * VPI
  * VCI
 
 When the speedtouch-start script is called from hotplug system then the
 network interface, in case of PPPoE connections, should be brought up,
 to allow programs like pppoe-conf work with it as a perfectly normal
 ethernet interface.
 
 I wanted to use the opportunity to ask the following, is it true that
 when pppoa3 is called and creates the tap0 interface it outputs to
 stdout the created interface? If so then there's a minor alteration on
 my patch so that the vnet variable points to the actually created
 interface, to avoid problems with multiple tap interfaces.
 
 Thank you for your time,
 
 Tiago Cogumbreiro

Hi Tiago,

Your patch is welcome, but the list does not support attachments except 
plain text. I would to discuss about PPPoE support since I think there 
are two ways to handle it in scripts:

- either the speedtouch-start creates only the ethernet interface and 
let other tools (like pppoeconf) to use it. I think this is the proper 
solution

- either the speedtouch-start takes care of everything, ie creating the 
ethernet interface and launching pppd/pppoe on it. This is what I have 
implemented and this is the most straightforward way for beginners. 
However, this leads to some problems right now (mainly the fact that 
speedtouch-stop destroy everything ... without waiting for PPPoE to send 
its last packets...).

And right, since the version 1.3, the pppoa2/pppoa3 has been modified to 
output the interface name on stdout. You MUST use this interface.

Benoit PAPILLAULT


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: PPPoE support patch

2004-07-06 Thread Gilles Espinasse

Selon Benoit PAPILLAULT [EMAIL PROTECTED]:

 
 Tiago Cogumbreiro wrote:
 
  Hello all,
  
  I wanted to propose to the speedtouch developers a little improvement in
  the connection script, in the form of a patch. What i am proposing is
  extending the configuration file to include 3 more entries, namely:
  
   * CONN_MODE: the connection mode, pppoe/pppoa
   * VPI
   * VCI
  
  When the speedtouch-start script is called from hotplug system then the
  network interface, in case of PPPoE connections, should be brought up,
  to allow programs like pppoe-conf work with it as a perfectly normal
  ethernet interface.
  
  I wanted to use the opportunity to ask the following, is it true that
  when pppoa3 is called and creates the tap0 interface it outputs to
  stdout the created interface? If so then there's a minor alteration on
  my patch so that the vnet variable points to the actually created
  interface, to avoid problems with multiple tap interfaces.
  
  Thank you for your time,
  
  Tiago Cogumbreiro
 
 Hi Tiago,
 
 Your patch is welcome, but the list does not support attachments except 
 plain text. I would to discuss about PPPoE support since I think there 
 are two ways to handle it in scripts:
 
 - either the speedtouch-start creates only the ethernet interface and 
 let other tools (like pppoeconf) to use it. I think this is the proper 
 solution
 
 - either the speedtouch-start takes care of everything, ie creating the 
 ethernet interface and launching pppd/pppoe on it. This is what I have 
 implemented and this is the most straightforward way for beginners. 
 However, this leads to some problems right now (mainly the fact that 
 speedtouch-stop destroy everything ... without waiting for PPPoE to send 
 its last packets...).
 
 And right, since the version 1.3, the pppoa2/pppoa3 has been modified to 
 output the interface name on stdout. You MUST use this interface.
 
Because now the rp-pppo.so plugin is included in ppp-2.4.2, it should be better 
to support the plugin when available.

The plugin may support better high bandwidth usage than the usermode program.
But it need atm support, br2684 module and br2684ctl.

Gilles

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: PPPoE support patch

2004-07-06 Thread Benoit PAPILLAULT

Tiago Cogumbreiro wrote:
 It was plain text but was filtered :( It's paste it in the end of this
 email.

It was text/x-patch not text/plain.
Benoit


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: PPPoE support patch

2004-07-06 Thread Tiago Cogumbreiro

On Tue, 2004-07-06 at 16:05, Benoit PAPILLAULT wrote:
 Tiago Cogumbreiro wrote:
  It was plain text but was filtered :( It's paste it in the end of this
  email.
 
 It was text/x-patch not text/plain.
True, unfortunately i can't change the mime type in evolution...

What about the patch? Any comments?

-
Tiago Cogumbreiro


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]