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

Home Page Forums Network Management ZeroShell Where and how can I configure MTU for the WAN interfaces?

This topic contains 1 reply, has 0 voices, and was last updated by  DrmCa 4 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43840

    DrmCa
    Participant

    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!

    #53158

    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.

    #53159

    DrmCa
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.