Linux Lite Forums

Hardware - Support => Network => Topic started by: Neo on May 21, 2014, 06:08:58 PM

Title: How do you permanently tweak MTU settings?
Post by: Neo on May 21, 2014, 06:08:58 PM
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: [Select]
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)
Title: Re: How do you permanently tweak MTU settings?
Post by: Jerry on May 21, 2014, 06:46:27 PM
Try:

Code: [Select]
sudo leafpad /etc/network/interfaces
add:

Code: [Select]
post-up ifconfig eth0 mtu 1360
to the bottom of the file and save.
Title: Re: How do you permanently tweak MTU settings?
Post by: Neo on May 21, 2014, 07:31:55 PM
Try:

Code: [Select]
sudo leafpad /etc/network/interfaces
add:

Code: [Select]
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)
Title: Re: How do you permanently tweak MTU settings?
Post by: Jerry on May 21, 2014, 07:35:38 PM
You're welcome.