Zmena mtu

Sekcia: Konfigurácia 09.11.2006 | 21:24
Stranger   Návštevník
Ahojte, poradte mi prosim, ako mozem trvale zmenit mtu? Zatial pouzivam prikaz # ifconfig eth0 mtu 1492 ale po restarte mam mtu spat na 1500. V akom konfiguraku sa mtu nastavuje pre eth0 ? Mam Kubuntu 6.10 Dakujem za nakopnutie.
    • Re: Zmena mtu 09.11.2006 | 19:22
      123   Návštevník
      http://www.mepislovers.org/modules/newbb/viewtopic.php?topic_id=16332&forum=23&post_id=112415&PHPSESSID=3e8b5f85b1b5fcd36ac2d2a030aa1858 You need to put a script in /etc/network/if-up.d/ Start a text editor as root (kdesu kedit will do it) and type the following: #!/bin/sh # My simple script to change the mtu to 576 ifconfig eth0 mtu 576 Save this file in /etc/network/if-up.d/ with any name you like - I'll use myscript for this example. Change the permissions to allow execution e.g. chmod 755 /etc/network/if-up.d/myscript v ubuntu 6.06 som to pouzival a fungovalo to
      • Re: Re: Zmena mtu 09.11.2006 | 21:24
        Stranger   Návštevník
        Dakujem velmi pekne. Absolutna spokojnost.