Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

Suggestion for a service to turn off when its in use #12

Closed Zero3K closed 7 years ago

Zero3K commented 7 years ago

It should turn off the Wifi connection when the client is started and turn it back on when the client is stopped.

Zero3K commented 7 years ago

Actually, it'll be better to make a fake Wifi connection so that way programs that don't work without Wifi will work when its running.

ewoks commented 7 years ago

Too much work for few sparkles and shiny things. Unnecessary in my opinion.

Zero3K commented 7 years ago

The fake Wifi would get Netflix, etc. to work with it.

rom1v commented 7 years ago

IMO, gnirehtet should not change various system settings based on what it guesses the user would like, it would never get it right.

For example, reverse tethering is implemented over adb, which may run over USB or over wifi. What if we start gnirehtet when adb is over wifi (this could be useful to use it as a "SOCKS-like" server)?

Also, if you use a device with API > 22, apps should be aware that a network is available (except if they explicitly check for wifi, but in that case, the user may enable wifi manually).