Wie kann ich in Ubuntu die MTU für ppp0 ( ADSL ) setzen, ohne dass sie beim Neutstart des PCs/Shutdown des Interfaces auf 1492 zurückgestetzt wird?
Hab schon /etc/ppp/options und /etc/ppp/peers/dsl-provider probiert...
Cpt.JackSparrow
13.04.05, 11:00
Ich hab ein bischen gegoogeld und habe folgenedes gefunden:
ifconfig ppp0 mtu xxx
seemed to work. Set it to 576 or something really low when your testing
just to see :) Anyway, I'm not 100% sure this works as advertised (it
does change the MTU as reported by pppd), but it seemed to work for me.
Digging a little deeper, I found that, by default, pppoeconf sets up the
kernel-mode pppoe driver, using the roaring penguin pppd plugin. Under
this setup it seems to resist listening to any pppd specified MRU/MTU
values.
If, in /etc/ppp/peers/dsl-provider, you comment out the "plugin
rp-pppoe.os eth0" line like so:
#plugin rp-pppoe.so eth0
and uncomment
pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
which should be near the top of the file, pppd uses the user-space pppoe
driver instead. And then I find that setting the MRU/MTU in is honoured,
though I don't think there is a good reason to set it to anything other
than 1412, since the pppoe driver will be clamping it to 1412 anyway.
Actually, the config is very confusing. All the documentation I found
seemed to imply that the user space deamon will be used by default,
while it is definitely not the case!
hoffe das hilft
Besten dank.
Muste erst das Paket pppoe installieren.
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.