This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I know this question maybe belongs in a AOSP forum, but I don't find any solution that it works for me.
I have my interface working in a terminal, I can ping to google.com (with dns and dhcp). But apks doen't have internet connection.
I think you have an example based in (SDK v6AO.1.1).
Thanks
Best regards,
Miguel
Hi,
I found this solution for android 9.0 (github.com/.../EthernetSettings), I migrated these patches to android 8.1. It works well in dhcp, the static configuration is not working.
Miguel,
Are you behind some proxy ? if not, you should be able to browse by default to a weburl.
if you are behind a proxy
>> adb root
>> adb push ipconfig.txt /data/misc/ethernet/.
>> adb shell chown system.system /data/misc/ethernet/ipconfig.txt
>> adb shell sync
>> Update date and time manually from Android settings
>> Reboot with Ethernet cable connected and internet should work over proxy.
>> Go to Google search bar and open website
ipconfig.txt contains
ipAssignment DHCP
proxySettings STATIC
proxyHost <proxy_host_url>
proxyPort P
exclusionList id eos