Make sure you have Ethernet hardware permission for your device.

Below lines in your device.mk

PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml


On Thursday, October 22, 2015 at 9:36:09 AM UTC-5, Uy Van Duc wrote:
>
> Dear All,
> I built android 5.1.1 and boot up on my development board. but no Ethernet 
> network show in System Setting. Browser not work because DNS problem.
> I think it would be some permission problem. but don't know how to define.
>
> Checked at console, and i see there is no problem of ethernet. dhcp work 
> fine and ip address was set correct.
> DNS resolver not enable, so after set ndc resolver setnetdns eth0 "" 
> 8.8.8.8. it can resolve but ROOT only.
> for normal user, still unknown host.
>
> Question:
> 1. if i want to enable Ethernet for Android 5.1.1, which step i need to do?
> 2. how is correct way to set DNS resolver for eth0
> 3. which parameters that we can use setprop/getprop to check problem?
>
> Thanks
> Uy
>
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to