A
A
Anton2018-08-15 10:48:12
iPhone
Anton, 2018-08-15 10:48:12

Why did the ttl change on a macbook for mts stop working?

On a macbook, after entering the command sudo sysctl -w net.inet.ip.ttl=65, mts still continues to charge 50r for using an iPhone in modem mode
. What could be the reason and how to get around it?

Answer the question

In order to leave comments, you need to log in

11 answer(s)
E
EHOTnOTACKYH, 2018-08-21
@EHOTnOTACKYH

I confirm, the problem is in ipv6. If someone knows how to change the hop limit value there, tell me. I set the value net.inet6.ip6.hlim=65 in sysctl.conf, when checking the value in the terminal, 65 is issued, but when the localhost pings, it suddenly changes to 64.
On the question of what to do with MTS. Obviously, you need to disable ipv6 on the Macbook. If you distribute the Internet via Wi-Fi, then in the system settings on the MacBook, select "Network"\u003e "Wi-Fi"\u003e "advanced"\u003e TCP / IP tab, in "IPv6 Configuration" select "Off". If there is no "turn off" item (I didn't have one), then type in the following line in the terminal:
After that, IPv6 will be disabled and MTS will stop seeing that you are distributing the Internet to a MacBook. If you distribute via cable or bluetooth,

F
fluffybear, 2018-08-15
@fluffybear

Perhaps you access the Internet using the IPv6 protocol, which MTS has recently turned on almost everywhere. And your setting is only for v4.

A
Alex Marken, 2018-08-15
@AlexMarken

Operators actively use DPI (Deep Packet Inspector). Sometimes I turn on the distribution of WiFi on Yota and change it through the ttl terminal - it happens that they immediately fire the distribution and put a stub, sometimes they fire only for certain behavior on the network.
Perhaps you have a similar situation.

A
Alexey Simonenko, 2018-10-24
@ustalo

networksetup -setv6off wifi
did. Connected via wi-fi
So far, no messages have been received from MTS about the distribution of traffic.

G
glebyen, 2020-04-22
@glebyen

you can continue to use via ipv6, but in the advanced network settings on the tcp / ip tab, change the automatic protocol setting to manual. this will change the standard prefix from 64 to 65 as in the case of ttl

A
Alexey Simonenko, 2021-12-23
@staloveselo

nothing helped with MTS, except for TCP / IP
Configure IPv6 Manually
Router - fe80::1448:7e36:285a:7cd7 something of the phone from which I distribute
IPv6 Address 2a00:1fa0:c493:bd41:82f:62b3:29cc:83b1 what then the phone from which I distribute
Prefix Length 65
I don’t remember what exactly I took from the phone. Someone great has thought of it. UDID or something else.

J
JustinCase8019, 2019-04-01
@JustinCase8019

sudo networksetup -setv6off "iPhone USB"

A
asharapov2018, 2020-05-14
@asharapov2018

This method works until reboot. It is necessary: ​​download it , poke command shift g, then enter etc, get past the downloaded there, then only your command in the terminal. Reboot, terminal: ping 127.0.0.1

K
kuzznechik, 2020-07-14
@kuzznechik

Changed TTL on poppy to 65.
Disabled ipv6.
Everything worked great. MTS did not swear.
The other day I installed the Big Sur batch.
I set the same settings, but MTS began to swear.
What can be done?

A
arturlyapunov, 2021-02-19
@arturlyapunov

Disabling ipv6 worked, thanks a lot

V
vvasilyev11, 2021-12-22
@vvasilyev11

updated poppy on monterey, ttl stopped working and ipv6 shutdown. What can be done?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question