The pegasus.c driver sets the MTU to 1536 since kernel 2.5.8 (or around
that time).

With this MTU, a samba client can not connect to a 2.2.2 samba server
using 2 pegasus usb cards.

Setting the MTU to 1500 using ifconfig fixes this.

If I comment out the "net->mtu = PEGASUS_MTU" on pegasus.c and leave the
default from the alloc_etherdev function, everything works fine.

One interesting thing, is that if I do "ifconfig eth MTU x" with x>1500,
it reports an error. So, it starts at 1536, but does not allow the user
to request an MTU of 1536?

The question is: where is the bug? Is the pegasus driver reporting
incorrectly that it can handle an MTU of 1536, when in fact it can't, or
is the samba server confused with an MTU different from 1500?

P.S. - I really don't have time to debug this further at the present
time, but I can give it a go next week, if need be.

-- 
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to