SUMMARY: Win XP with mpd

2002-12-25 Thread Sergey Matveychuk
After installing mpd-3.10
and using in mpd.conf:
set iface mtu 1400
XP works fine and fast.

There is no some tuning on the WinXP client I was make.

It doesn't help for me :(
Ping still lost packets. Network big operation still very slow.

here is my cut off from my mpd.conf:
new -i ng0 ciam-pptp ciam
set iface disable on-demand
set iface idle 1800
set iface enable proxy-arp
set iface mtu 1400
set iface up-script /usr/local/etc/mpd/mpd-up.sh
set iface down-script /usr/local/etc/mpd/mpd-down.sh
set ipcp ranges 192.168.1.1/32 192.168.1.100/32
set ipcp dns 192.168.1.1
set bundle enable multilink
#   set link mtu 1400
set link disable pap
set link enable chap
#set link enable no-orig-auth
set link keep-alive 10 60
set bundle enable encryption
#set bundle enable crypt-reqd
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless

Can you help me?

Sem.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-net in the body of the message



SUMMARY: Win XP with mpd

2002-11-05 Thread Dmitry A. Bondareff
After installing mpd-3.10
and using in mpd.conf:
set iface mtu 1400
XP works fine and fast.

There is no some tuning on the WinXP client I was make.

Many thanks for all.

Dmitry.

- Original Message -
From: Julian Elischer [EMAIL PROTECTED]
To: Dmitry A. Bondareff [EMAIL PROTECTED]
Cc: Archie Cobbs [EMAIL PROTECTED]; Johan Larsson
[EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 12:21 PM
Subject: Re: Win XP with mpd




 On Tue, 5 Nov 2002, Dmitry A. Bondareff wrote:

  I'll trying to setup mtu to 1400, why I don't see it by ifconfig command
?
 
  From mpd.conf:
  
  set link mru 1400
  set link mtu 1400


 the link commands affect the links..
 this sets teh fragment size that Mulitlink ppp will use..
 externally you only see teh interface mtu, which is
 a different thing..
 try:

 set iface mtu 1400


  
 
  #mpd -b
 
  #ifconfig -a:
  ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
 
  After connecting:
  #ifconfig -a:
  ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1500
  inet 1.1.1.1 -- 10.0.2.1 netmask 0x
  ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
 
  After disconnected:
  #ifconfig -a:
  ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1496
  ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
  ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
 
 
 
  - Original Message -
  From: Archie Cobbs [EMAIL PROTECTED]
  To: Johan Larsson [EMAIL PROTECTED]
  Cc: Archie Cobbs [EMAIL PROTECTED]; Dmitry A. Bondareff
  [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]
  Sent: Tuesday, November 05, 2002 12:04 AM
  Subject: Re: Win XP with mpd
 
 
   Johan Larsson writes:
  For a long time many peoples discussed why Win XP don't work
with
  mpd.
  May be you can help us ??
  Where I can find working configs ??

 I've heard of some MTU problems, some of which mpd-3.10 should
  address.
   
It might be MTU problems. But the problem occurs for example when i
ping
the server from the windows xp machine, some pings get lost, some
times
you must issue the ping command a few times, or run it with -t for a
  while
to see them get lost. mpd-3.10 does not solve this problem
  unfortunately.
  
   Try playing with the set link mtu and/or set iface mtu commands
   to manually set the MTU values.
  
I might be able to fix some dumps (from ethereal) under windows xp
if
  you
want it. And of course, these pings getting lost is just an easy way
of
seeing the problem, you also get poor performance obviously.
  
   If you can tell where the packets are being dropped, that would be
useful
   to know.
  
   -Archie
  
  
__
   Archie Cobbs * Packet Design *
http://www.packetdesign.com
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-net in the body of the message
  
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-net in the body of the message
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-net in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-net in the body of the message



Re: SUMMARY: Win XP with mpd

2002-11-05 Thread Dmitry A. Bondareff
FreeBSD 4.7-RELEASE
MPD-3.10

mpd.conf:
default:
load client1

client1:
new -i ng0 pptp0 pptp0
load client_standard

client_standard:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 600
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set iface mtu 1400
#   set link mtu 1460
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp dns 161.8.22.2
#   set ipcp nbns 192.168.1.4
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless

mpd.links:
pptp0:
set link type pptp
set pptp self X.X.X.X
set pptp enable incoming
set pptp disable originate

mpd.log:
Nov  5 14:30:46 wall mpd: [pptp0] IFACE: Up event
Nov  5 14:30:46 wall mpd: [pptp0] exec: /sbin/ifconfig ng0 1.1.1.1 10.0.2.2
netmask 0x -link0
Nov  5 14:30:46 wall mpd: [pptp0] no interface to proxy arp on for 10.0.2.2
Nov  5 14:30:46 wall mpd: [pptp0] exec: 1400 ng0 inet 1.1.1.1 10.0.2.2 user
Nov  5 14:30:46 wall mpd: [pptp0] exec: command returned 32512
Nov  5 14:30:46 wall mpd: [pptp0] IFACE: Up event

Best regards,
Dmitry.

- Original Message -
From: Johan Larsson [EMAIL PROTECTED]
To: Dmitry A. Bondareff [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 4:49 PM
Subject: Re: SUMMARY: Win XP with mpd


 On Tue, 5 Nov 2002, Dmitry A. Bondareff wrote:

  After installing mpd-3.10
  and using in mpd.conf:
  set iface mtu 1400
  XP works fine and fast.

 Humm, you don't have any problem with it setting the mtu on the interface?
 I get this in my logs (in the terminal windows where i run mpd).

 [pptp1] exec: 1400 ng0 inet 192.168.1.2 192.168.1.65 johan
 1400: not found


 
  There is no some tuning on the WinXP client I was make.
 
  Many thanks for all.
 
  Dmitry.
 
  - Original Message -
  From: Julian Elischer [EMAIL PROTECTED]
  To: Dmitry A. Bondareff [EMAIL PROTECTED]
  Cc: Archie Cobbs [EMAIL PROTECTED]; Johan Larsson
  [EMAIL PROTECTED]; [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  Sent: Tuesday, November 05, 2002 12:21 PM
  Subject: Re: Win XP with mpd
 
 
  
  
   On Tue, 5 Nov 2002, Dmitry A. Bondareff wrote:
  
I'll trying to setup mtu to 1400, why I don't see it by ifconfig
command
  ?
   
From mpd.conf:

set link mru 1400
set link mtu 1400
  
  
   the link commands affect the links..
   this sets teh fragment size that Mulitlink ppp will use..
   externally you only see teh interface mtu, which is
   a different thing..
   try:
  
   set iface mtu 1400
  
  

   
#mpd -b
   
#ifconfig -a:
ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
   
After connecting:
#ifconfig -a:
ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu
1500
inet 1.1.1.1 -- 10.0.2.1 netmask 0x
ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
   
After disconnected:
#ifconfig -a:
ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1496
ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng2: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng3: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
ng4: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500
   
   
   
- Original Message -
From: Archie Cobbs [EMAIL PROTECTED]
To: Johan Larsson [EMAIL PROTECTED]
Cc: Archie Cobbs [EMAIL PROTECTED]; Dmitry A. Bondareff
[EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 12:04 AM
Subject: Re: Win XP with mpd
   
   
 Johan Larsson writes:
For a long time many peoples discussed why Win XP don't work
  with
mpd.
May be you can help us ??
Where I can find working configs ??
  
   I've heard of some MTU problems, some of which mpd-3.10 should
address.
 
  It might be MTU problems. But the problem occurs for example
when i
  ping
  the server from the windows xp machine, some pings get lost,
some
  times
  you must issue the ping command a few times, or run it with -t
for a
while
  to see them get lost. mpd-3.10 does not solve this problem
unfortunately.

 Try playing with the set link mtu and/or set iface mtu
commands
 to manually set the MTU values.

  I might be able

Re: SUMMARY: Win XP with mpd

2002-11-05 Thread Archie Cobbs
Dmitry A. Bondareff writes:
 Nov  5 14:30:46 wall mpd: [pptp0] exec: 1400 ng0 inet 1.1.1.1 10.0.2.2 user
 Nov  5 14:30:46 wall mpd: [pptp0] exec: command returned 32512

This is a (harmless) bug in mpd 3.10, fixed by the patch below.

-Archie

__
Archie Cobbs * Packet Design * http://www.packetdesign.com

Index: iface.c
===
RCS file: /home/cvs/archie/mpd/src/iface.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- iface.c 23 Oct 2002 21:15:47 -  1.6
+++ iface.c 5 Nov 2002 16:49:42 -   1.7
@@ -791,6 +791,7 @@
}
iface-max_mtu = max_mtu;
   }
+  break;
 
 case SET_UP_SCRIPT:
   switch (ac) {

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-net in the body of the message