Linux Lite Forums
How do you permanently tweak MTU settings? - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: How do you permanently tweak MTU settings? (/showthread.php?tid=354)



How do you permanently tweak MTU settings? - Neo - 05-21-2014

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

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)


Re: How do you permanently tweak MTU settings? - Valtam - 05-21-2014

Try:

Code:
sudo leafpad /etc/network/interfaces

add:

Code:
post-up ifconfig eth0 mtu 1360

to the bottom of the file and save.


Re: How do you permanently tweak MTU settings? - Neo - 05-21-2014

(05-21-2014, 10:46 PM)Valtam link Wrote: Try:

Code:
sudo leafpad /etc/network/interfaces

add:

Code:
post-up ifconfig eth0 mtu 1360

to the bottom of the file and save.

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


Re: How do you permanently tweak MTU settings? - Valtam - 05-21-2014

You're welcome.