XhyEax / SoftApHelper

SoftAp static server IP(v4) for Android 9+; SoftAp type hide for Android 10+; SoftAp 5G channel and bandwidth lock for Android 13+ (Xposed)
220 stars 22 forks source link

p2p0 tunnel can't get static ipv4 address #19

Closed kuragege closed 5 months ago

kuragege commented 5 months ago

The wireless repeater function of vpnhotspot can not get static ipv4 address by this xposed module, this tunnel(p2p0) seemed like to be different from the ap tunnel(wlan). By the way, after i activated this module, the adb connection appeared to be not working properly. Can you help me troubleshoot the issue?

kuragege commented 5 months ago

If you are simultaneously using a VPN, there will be three network gateways: tun0, wlan, and p2p0. In terms of priority, wlan < tun0 < p2p0.

XhyEax commented 5 months ago

What is your Android version? And how to reproduct the issue?

---Original--- From: @.> Date: Wed, Jan 10, 2024 00:20 AM To: @.>; Cc: @.***>; Subject: [XhyEax/SoftApHelper] p2p0 tunnel can't get static ipv4 address(Issue #19)

The wireless repeater function of vpnhotspot can not get static ipv4 address by this xposed module, this tunnel seemed like to be different from the ap tunnel. By the way, after i avtivated this module, the adb connection appeared to be not working properly. Can you help me troubleshoot the issue?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

XhyEax commented 5 months ago

Wifi adb or USB adb?

---Original--- From: @.> Date: Wed, Jan 10, 2024 00:20 AM To: @.>; Cc: @.***>; Subject: [XhyEax/SoftApHelper] p2p0 tunnel can't get static ipv4 address(Issue #19)

The wireless repeater function of vpnhotspot can not get static ipv4 address by this xposed module, this tunnel seemed like to be different from the ap tunnel. By the way, after i avtivated this module, the adb connection appeared to be not working properly. Can you help me troubleshoot the issue?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kuragege commented 5 months ago

image wifi adb android version:11 device:lubancat1 开启模块后 临时wlan热点以及wlan热点ip地址是固定的,但是无线中继模式依然是随机ip,因为环境原因,暂时没有时间再次进行测试并发送debug文件

XhyEax commented 5 months ago

无线中继属于预期内现象,为避免与中继节点冲突。

---Original--- From: @.> Date: Wed, Jan 10, 2024 12:22 PM To: @.>; Cc: @.**@.>; Subject: Re: [XhyEax/SoftApHelper] p2p0 tunnel can't get static ipv4 address(Issue #19)

image.png (view on web) wifi adb android version:11 device:lubancat1 开启模块后 临时wifi热点以及wifi热点ip地址是固定的,但是无线中继模式依然是随机ip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

XhyEax commented 5 months ago

我这边开启模块后,adb是正常的

---Original--- From: @.> Date: Wed, Jan 10, 2024 00:20 AM To: @.>; Cc: @.***>; Subject: [XhyEax/SoftApHelper] p2p0 tunnel can't get static ipv4 address(Issue #19)

The wireless repeater function of vpnhotspot can not get static ipv4 address by this xposed module, this tunnel seemed like to be different from the ap tunnel. By the way, after i avtivated this module, the adb connection appeared to be not working properly. Can you help me troubleshoot the issue?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kuragege commented 5 months ago

adb不成功可能是偶然性的原因,因为开发板没有外接屏幕,测试起来不太方便,那无线中继的问题可以解决吗,因为这个设备不支持在连接wlan的情况下开启热点

XhyEax commented 5 months ago

wifi adb的同时,是怎么开的?vpn热点+无线中继?

---Original--- From: @.> Date: Wed, Jan 10, 2024 12:22 PM To: @.>; Cc: @.**@.>; Subject: Re: [XhyEax/SoftApHelper] p2p0 tunnel can't get static ipv4 address(Issue #19)

image.png (view on web) wifi adb android version:11 device:lubancat1 开启模块后 临时wifi热点以及wifi热点ip地址是固定的,但是无线中继模式依然是随机ip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kuragege commented 5 months ago

image

wifi adb是借助 谷歌商店中的wadb实现的,连接的是vpn热点无线中继模式开启的p2p0的通道,希望这个模块能把p2p0这个通道的ip地址固定下,在android10当中,这个通道的ip被固定为192.168.49.1/24

XhyEax commented 5 months ago

v1.080开始,p2p0固定为192.168.49.1。