Is there a way to resize the mtu of an Android phone?

My phone has problems sending data to the network. I think I need to resize the MTU for it to work.

+5
source share
1 answer

To change the MTU settings, you will need root for your phone. Search in foruns how to do this. After that, you need to install the terminal emulator and check what your network interface is. Run the command:

netcfg 

and look at the IP address, what is your device (wlan0, tiwlan0, etc.)

then use this command

 ifconfig $DEVICE mtu $MTU_VALUE 

and replace $ DEVICE with the device name and the desired MTU value in $ MTU_VALUE

You can also see the value in this file:

 cat /sys/class/net/$DEVICE/mtu 
+4
source

Source: https://habr.com/ru/post/919860/


All Articles