Hardware - Support > Network

How do you permanently tweak MTU settings?

(1/1)

Neo:
Hi guys,

Complete noob here so please bear with me.

I found when I installed Linux Lite 1.0.8 that I could not log in to services such as Facebook, Gmail etc. but could still generally browse the Web fine most of the time.

I Googled this issue and came across an Ubuntu forum which had a solution by pasting this into the Terminal:


--- Code: ---sudo ifconfig eth0 mtu 1360
--- End code ---

Whilst it resolved the issue, I still have to type it in every time I reboot in order to log in anywhere.

I have searched how to change the MTU settings permanently and came across a general Linux solution but I cannot seem to pull up the file "/etc/sysconfig/network-scripts/ifcfg-eth0" on Linux Lite.

Any help on how to do this would be much appreciated.

(I'm not even sure what most of the code means or what an MTU really is or why I need to change it - I just know I need to change it! ;D)

Jerry:
Try:


--- Code: ---sudo leafpad /etc/network/interfaces
--- End code ---

add:


--- Code: ---post-up ifconfig eth0 mtu 1360
--- End code ---

to the bottom of the file and save.

Neo:

--- Quote from: Valtam on May 21, 2014, 06:46:27 PM ---Try:


--- Code: ---sudo leafpad /etc/network/interfaces
--- End code ---

add:


--- Code: ---post-up ifconfig eth0 mtu 1360
--- End code ---

to the bottom of the file and save.

--- End quote ---

Cool, I just rebooted and this seems to have done the trick - thanks!  8)

Jerry:
You're welcome.

Navigation

[0] Message Index

Go to full version