Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.38k stars 586 forks source link

Problem with Wifi tethering #126

Closed vosian closed 6 years ago

vosian commented 6 years ago

So I attempted to create a wifi network with the phone that is connected to gnirehtet, the phone in question successfully gets internet, but the devices connected to it by wifi don't. Every time something attempts to be loaded from one of the connected devices, gnirehtet will print the following in console: WARN Router: Dropping invalid packet The phone in question uses android oreo 8.1. So, Computer -> Phone works fine, but Computer -> Phone -> Devices doesn't.

I'm using the rust version, and linux (kernel version 4.17) if it matters.

Edit: Tried with another phone as "gateway", this one with android 5.1, and the results are the same. Android 5.1 gets internet from gnirehtet but the devices connect to the phone through wifi tether don't. I get the same warning.

rom1v commented 6 years ago

So I attempted to create a wifi network with the phone that is connected to gnirehtet, the phone in question successfully gets internet, but the devices connected to it by wifi don't.

Yes, this is "expected" (it does not work for me either).

SanujBansal commented 5 years ago

I am also trying the same as it is India vs newzealand cricket semi final today @sianhulo but it does not work.

gypdo commented 5 years ago

Did u get any solution? Cuz it'd be very usefull for me

rom1v commented 5 years ago

No, I don't have a solution.

gypdo commented 5 years ago

Do u have some idea what is the problem?

ThibaultLemaire commented 5 years ago

Why was this issue closed? There is a usecase for wifi tethering with gnirehtet

rom1v commented 5 years ago

Because apparently Android does not support both wifi hotspot and VpnService simultaneously. AFAIK there's nothing we can do.