deviato / DroidPPPwn

PPPwn_cpp for Android + App Frontend [needs rooted device]
107 stars 5 forks source link

Error - Cannot find interface with name of eth0 #47

Closed humblebutt closed 1 month ago

humblebutt commented 1 month ago

Hello~ I tried DroidPPPwn v1.1 (droidpppwn-1.1-debug.zip) and it worked great~!

However, there was the same problem with all other versions (v1.2 ~ v1.3 ~ v1.4) All of them made "Cannot find interface with name of eth0" even if eth0 was enabled on my phone.

Any solution to fix this now...? or can we expect fix for it from new updated version ?

Really big thanks for developing awesome tool~!!

deviato commented 1 month ago

Are you sure it worked with version 1.1? If you reinstall it now will it work? I didn't change anything in the code regarding the interface setting, I only added the possibility to select a different interface by clicking on the “net interface” button, but at code level it is always set via /system/bin/ifconfig eth0 10.0.0.1 up. Anyway, you can check if the ethernet device is working, opening a terminal, giving su command and then ifconfig eth0 up to see the output.