sudo /sbin/ifconfig ham0 mtu 1200
#or
sudo ip link set mtu 1200 ham0
#persistence:
# create a file (example: hamachi) at /etc/network/if-up.d/hamachi
# with this contents:
#!/bin/sh
if [ "$IFACE" = "ham0" ]; then
ifconfig ham0 mtu 1200
fi
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter