XhyEax/SoftApHelper

p2p0 tunnel can't get static ipv4 address

Closed this issue · 10 comments

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?

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

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

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

image

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

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