You are Here:
Linux Lite 6.0 Final Released - See Release Announcements



How do you permanently tweak MTU settings?

Author (Read 3040 times)

0 Members and 1 Guest are viewing this topic.

How do you permanently tweak MTU settings?
« on: May 21, 2014, 06:08:58 PM »
 

Neo

  • Guest
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)
« Last Edit: June 02, 2014, 11:32:03 AM by Neo »
 

Re: How do you permanently tweak MTU settings?
« Reply #1 on: May 21, 2014, 06:46:27 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8361
    Posts
  • Reputation: 779
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.6 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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.
 

Re: How do you permanently tweak MTU settings?
« Reply #2 on: May 21, 2014, 07:31:55 PM »
 

Neo

  • Guest
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)
 

Re: How do you permanently tweak MTU settings?
« Reply #3 on: May 21, 2014, 07:35:38 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8361
    Posts
  • Reputation: 779
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.6 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
You're welcome.
 

 

-->
X Close Ad

Linux Lite 6.0 Final Released - See Release Announcements