你是用手机开热点给笔记本,然后在笔记本上改了TTL?
手机USB Tethering插路由器, win本和其他手机再连路由器。
你试试IP地址,手机直连显示的和其他设备显示的应该不一样
这个我尝试过,tethering和手机本身走的是不同的信道,IP地址都不一样
需要把手机root,然后用某个软件改了设置,让tether和手机本身一个信道才可以
你说对了。刚刚看了下手机上的my ip和电脑获取的my ip确实不一样。
有教程或者搜索关键词不
兄啊,ttl不是那样测的,要看你的出口ttl
root@openwrt:~# tcpdump -vi usb0 icmp and src my.tmo.local.ip
tcpdump: listening on usb0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
19:45:25.966869 IP (tos 0x0, ttl 65, id 38848, offset 0, flags [DF], proto ICMP (1), length 84)
my.tmo.local.ip > dns.google: ICMP echo request, id 25600, seq 0, length 64
ttl 65
这个才是出口的ttl
ping出来的是从对面出来过了几个router的结果
root@openwrt:~# ping -c3 -I usb0 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=111 time=210.011 ms
64 bytes from 8.8.8.8: seq=1 ttl=111 time=49.691 ms
64 bytes from 8.8.8.8: seq=2 ttl=111 time=70.883 ms
插手机上试了下,xxx跟截图上第一个数字一致。但是xxx-yyy出来的差值比截图里面的hotspot usage大。
我是用楼上这个兄弟分享的改TTL方法 改nftables
改前, ttl 64的是openwrt的ping, 127的是下挂win本的ping
root@openwrt:~# tcpdump -vi usb0 icmp and dst 8.8.8.8 -n
tcpdump: listening on usb0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
00:27:57.906655 IP (tos 0x0, ttl 64, id 59575, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 9334, seq 3, length 64
00:27:58.536912 IP (tos 0x0, ttl 127, id 31536, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 1, seq 78, length 40
00:27:58.906798 IP (tos 0x0, ttl 64, id 59643, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 9334, seq 4, length 64
00:27:59.555145 IP (tos 0x0, ttl 127, id 31537, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 1, seq 79, length 40
00:27:59.906952 IP (tos 0x0, ttl 64, id 59672, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 9334, seq 5, length 64
00:28:00.574931 IP (tos 0x0, ttl 127, id 31538, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 1, seq 80, length 40
00:28:00.907103 IP (tos 0x0, ttl 64, id 59684, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 9334, seq 6, length 64
00:28:01.588666 IP (tos 0x0, ttl 127, id 31539, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 1, seq 81, length 40
00:28:01.907257 IP (tos 0x0, ttl 64, id 59726, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.240 > 8.8.8.8: ICMP echo request, id 9334, seq 7, length 64
改后, ttl都一样变65了。
root@openwrt:~# tcpdump -vi usb0 icmp and dst 8.8.8.8 -n
tcpdump: listening on usb0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
00:04:34.212268 IP (tos 0x0, ttl 65, id 3486, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.227 > 8.8.8.8: ICMP echo request, id 8353, seq 4, length 64
00:04:34.406718 IP (tos 0x0, ttl 65, id 55131, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.227 > 8.8.8.8: ICMP echo request, id 1, seq 70, length 40
00:04:35.212428 IP (tos 0x0, ttl 65, id 3531, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.227 > 8.8.8.8: ICMP echo request, id 8353, seq 5, length 64
00:04:35.427973 IP (tos 0x0, ttl 65, id 55132, offset 0, flags [none], proto ICMP (1), length 60)
192.168.1.227 > 8.8.8.8: ICMP echo request, id 1, seq 71, length 40
00:04:36.212582 IP (tos 0x0, ttl 65, id 3621, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.227 > 8.8.8.8: ICMP echo request, id 8353, seq 6, length 64
应该是楼上@lengygf说手机本身tethering问题吧。看到的确实手机上的my ip和win本上不一致。感觉需要root手机来绕开这限制。
那就不知道了,我的做法也是给mangle_postrouting,oifname usb0设ttl,app里面显示测试的流量走的是tablet data而非hotspot。
不过那位可能对openwrt不熟,加自定义防火墙规则改/etc/firewall.user
就行,不用折腾rc.local
chase出的刷2比50刀给50的offer有搞头吗?
怎么样啊哥,用到现在稳定吗?尤其是超50g之后表现如何?指下载东西或者打游戏什么的
买两次了都是一周左右收到货
好用吗?超50g之后下东西或者打游戏什么的
你这是哪里买的啊?
50GB后只降权不限速,没发现明显的速度差异
话说zbt这机器本身就是带openwrt的是吧?担心到时候imei和ttl不知道怎么改
是的。ttl在admin console就能改,imei搜我上面的教程
谢谢,那路由器就先冲了!我没有5g平板,手里的三星是wifi版本…淦还得去ebay买一台
就是帖子推荐的 aliexpress. c o m
卖家名: Cioswi Digital Networking Factory Store
我还以为美国有小仓库呢,也好,至少有退款,要是在淘宝上面买的自己搞转运被海关收了那才是亏大发了