Re: PPPoE MTU Problem

2007-06-09 Thread Stuart Henderson
On 2007/06/09 01:49, Will Jenkins wrote:
 Also I can't work out how to get any kind of logs from kernel pppoe.

# ifconfig pppoe0 debug

then to turn it off (to avoid spamming /var/log/messages with each
outgoing packet):

# ifconfig pppoe0 -debug

Sometimes running tcpdump on the ethernet interface that pppoe runs
over can be informative too, e.g. tcpdump -niiface -vvs1500



Re: PPPoE MTU Problem

2007-06-08 Thread Stuart Henderson
On 2007/06/08 23:44, Jason McIntyre wrote:
 On Fri, Jun 08, 2007 at 04:36:28PM +0100, Will Jenkins wrote:
  
  I've been experiencing some strange problems. I have a PPPoE/PPPoA 
  bridging ethernet modem in the UK and am using userland ppp to connect 
  to my DSL provider.
  
  I have been setting MTU/MRU to 1458 in ppp.conf and have been getting a 
  *lot* of these messages:
  
  ppp[18688]: tun0: Error: ip_Input: deflink: wrote 1429, got Message too long
  
 
 no answers for you, but here are some stuff i would mess with:
 
   - kernel pppoe(4) (much nicer ;)

seconded, it works nicely on BT-based lines in .uk for me
(some of the LLU providers only do PPPoA though).

I found it a lot easier to get working than using ppp(8), and
I'm not exactly new to ppp(8)...



Re: PPPoE MTU Problem

2007-06-08 Thread Jason McIntyre
On Fri, Jun 08, 2007 at 04:36:28PM +0100, Will Jenkins wrote:
 
 I've been experiencing some strange problems. I have a PPPoE/PPPoA 
 bridging ethernet modem in the UK and am using userland ppp to connect 
 to my DSL provider.
 
 I have been setting MTU/MRU to 1458 in ppp.conf and have been getting a 
 *lot* of these messages:
 
 ppp[18688]: tun0: Error: ip_Input: deflink: wrote 1429, got Message too long
 

no answers for you, but here are some stuff i would mess with:

- kernel pppoe(4) (much nicer ;)
- disable mssfixup in ppp.conf (if it's already on)
- pf's max-mss option
- use ifconfig to mess w/ sis mtu (i think sis can be adjusted)

jmc



Re: PPPoE MTU Problem

2007-06-08 Thread Will Jenkins

On 9 Jun 2007, at 00:11, Stuart Henderson wrote:


On 2007/06/08 23:44, Jason McIntyre wrote:

On Fri, Jun 08, 2007 at 04:36:28PM +0100, Will Jenkins wrote:


I've been experiencing some strange problems. I have a PPPoE/PPPoA
bridging ethernet modem in the UK and am using userland ppp to  
connect

to my DSL provider.

I have been setting MTU/MRU to 1458 in ppp.conf and have been  
getting a

*lot* of these messages:

ppp[18688]: tun0: Error: ip_Input: deflink: wrote 1429, got  
Message too long




no answers for you, but here are some stuff i would mess with:

- kernel pppoe(4) (much nicer ;)


seconded, it works nicely on BT-based lines in .uk for me
(some of the LLU providers only do PPPoA though).

I found it a lot easier to get working than using ppp(8), and
I'm not exactly new to ppp(8)...



I actually started with kernel pppoe and it worked great for two  
hours and then died inexplicably. The connection then refused to come  
up after repeated reboots which I found very strange. I went back to  
my Netgear for a few days and then tried OBSD again. This time the  
connection held for 5 days and died. Again repeated reboots wouldn't  
coax the connection back to life but my Netgear router worked fine. I  
thought I'd try userland ppp because my intuition leads me to believe  
it may be able to handle odd connection drops etc more robustly. Also  
I can't work out how to get any kind of logs from kernel pppoe.


Will



Re: PPPoE MTU Problem

2007-06-08 Thread Marcos Laufer
Will , 

PPPoE needs a MTU of 1492 , i had the same problem with other values
Give it a try.

Marcos

- Original Message - 
From: Will Jenkins [EMAIL PROTECTED]
To: misc@openbsd.org
Sent: Friday, June 08, 2007 9:49 PM
Subject: Re: PPPoE MTU Problem


On 9 Jun 2007, at 00:11, Stuart Henderson wrote:

 On 2007/06/08 23:44, Jason McIntyre wrote:
 On Fri, Jun 08, 2007 at 04:36:28PM +0100, Will Jenkins wrote:

 I've been experiencing some strange problems. I have a PPPoE/PPPoA
 bridging ethernet modem in the UK and am using userland ppp to  
 connect
 to my DSL provider.

 I have been setting MTU/MRU to 1458 in ppp.conf and have been  
 getting a
 *lot* of these messages:

 ppp[18688]: tun0: Error: ip_Input: deflink: wrote 1429, got  
 Message too long


 no answers for you, but here are some stuff i would mess with:

 - kernel pppoe(4) (much nicer ;)

 seconded, it works nicely on BT-based lines in .uk for me
 (some of the LLU providers only do PPPoA though).

 I found it a lot easier to get working than using ppp(8), and
 I'm not exactly new to ppp(8)...


I actually started with kernel pppoe and it worked great for two  
hours and then died inexplicably. The connection then refused to come  
up after repeated reboots which I found very strange. I went back to  
my Netgear for a few days and then tried OBSD again. This time the  
connection held for 5 days and died. Again repeated reboots wouldn't  
coax the connection back to life but my Netgear router worked fine. I  
thought I'd try userland ppp because my intuition leads me to believe  
it may be able to handle odd connection drops etc more robustly. Also  
I can't work out how to get any kind of logs from kernel pppoe.

Will