www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Where and how can I configure MTU for the WAN interfaces?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
DrmCa



Joined: 12 Apr 2011
Posts: 207

PostPosted: Fri Jan 31, 2014 3:40 pm    Post subject: Where and how can I configure MTU for the WAN interfaces? Reply with quote

My provider supports unconventional MTU of 1464, but I could not find a place in ZS v.3 to enter that value. Need help!

Thank you!
Back to top
View user's profile Send private message
von_Schlieffen



Joined: 28 May 2013
Posts: 50

PostPosted: Mon Feb 03, 2014 3:45 pm    Post subject: Reply with quote

Hello,

1. You go to Zeroshell shell desktop
2. Find the interface you need to change MTU
> cd /
> find ./sys/devices -name *mtu
./sys/devices/??????/net/ETH??/mtu
3. in your Zeroshell web interface, go to "Setup / Startup/Cron"
Select "Postboot" section and add this line :
echo 1464 > /sys/devices/??????/net/ETH??/mtu
4. Reboot.

After reboot verify this file containt, it must be 1464.

Hope this help.
Back to top
View user's profile Send private message
DrmCa



Joined: 12 Apr 2011
Posts: 207

PostPosted: Fri Feb 07, 2014 6:37 pm    Post subject: Reply with quote

To be honest, I solved it a bit different: by adding ip command to post-boot script.

Something like (by memory):

ip ppp0 mtu=1464
ip ppp1 mtu=1464

PS: Naming command ip was dickhead stupid IMO, as searching for its uses on google etc is a hellish nightmare. There was nothing wrong with ifconfig to begin with, but some love making changes for the sake of changes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group