In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
In this article, the editor introduces in detail "how to modify the MTU value in Android", the content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to modify the MTU value in Android" can help you solve your doubts.
Detailed explanation of an example of Android MTU value modification
The communication term maximum transmission unit (Maximum Transmission Unit,MTU) refers to the maximum big data packet size (in bytes) that can pass above a layer of a communication protocol. The parameter of maximum transmission unit is usually related to the communication interface (network interface card, serial port, etc.).
1. First use the adb command to enter the system, and then ifconfig to view the available network
C:\ > adb shell $su su # ifconfig ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:6235 errors:0 dropped:0 overruns:0 frame:0 TX packets:6235 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:374815 (366.0 KiB) TX bytes:374815 (366.0 KiB) rmnet0 Link encap Ethernet HWaddr 5A:32:84:B5:64:21 inet addr:113.126.255.131 Bcast:113.126.255.135 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:59 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2394 (2.3KiB) TX bytes:5340 (5.2KiB)
2. Here, you need to modify the MTU value format of Telecom 3G rmnet0 Nic: ip link set dev X mtu N enter (X = network card name N = fill in as many MTU as you want, maximum 1500)
# ip link set dev rmnet0 mtu 1000 ip link set dev rmnet0 mtu 1000 # ifconfig rmnet0 ifconfig rmnet0 rmnet0 Link encap:Ethernet HWaddr 5A:32:84:B5:64:21 inet addr:113.126.255.131 Bcast:113.126.255.135 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1000 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:59 errors:0 dropped:0 overruns:0 carrier:0 collisions: 0 txqueuelen:1000 RX bytes:2394 (2.3 KiB) TX bytes:5340 (5.2 KiB)
3. The above settings are temporary. Once the machine is restarted, the default settings will be restored.
After reading this, the article "how to modify the MTU value in Android" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it yourself. If you want to know more about the article, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.