Adjusting MTU from 0 to 2

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
arimakidd
Level 3
Level 3
Posts: 101
Joined: Thu Nov 02, 2017 11:37 pm

Adjusting MTU from 0 to 2

Post by arimakidd »

I'm using Linux Mint 20 Ulyana and I can putty into a server no issues. However when I try to SSH into the server on mint I get a connection closed issue. I did some searching and found this site:
https://fitzcarraldoblog.wordpress.com/tag/mtu/

It's saying that the value of
/proc/sys/net/ipv4/tcp_mtu_probing
is 0 and it should be 2. So they recommend running the command:
echo 2 > /proc/sys/net/ipv4/tcp_mtu_probing
However not even root can write to that file. How can I put the value 2 and then of course when needed put it back to 0?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”