Zentyal Forum, Linux Small Business Server
International => German => Topic started by: Dersch on March 02, 2015, 08:24:04 am
-
Hallo,
ich habe noch ein 2tes Problem. Ich möchte gerne auf einem Netzwerkadapter die MTU ändern. Aber nach einem Neustart bleibt diese nicht erhalten.
Wie kann ich Zentyal dazu bringen die interfaces nicht zu überschreiben?
Grüße
Dirk
-
Hallo Dirk,
eine mögliche Lösung:
sudo nano /etc/rc.local
ifconfig eth0 down
ifconfig eth0 mtu 9000
ifconfig eth0 up
exit 0
strg+o, strg+x
-
Hi Julio,
du bist wie immer ein große Hilfe. Ich probiere das mal aber über rc.local sollte das ja ohne Probleme gehen.
Grüße
Dirk
-
Leider mit rc.local geht nicht! :-\
andere Idee:
echo -e "#"'!'"/bin/bash\nifconfig eth1 mtu 9000 up" | sudo tee /etc/zentyal/hooks/network.postsetconf
sudo chmod +x /etc/zentyal/hooks/network.postsetconf
sudo service zentyal network restart