Hi,
checked overlay and i have this
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
<item>"ethernet,9,9,2,-1,true"</item>
</string-array>
<!-- This string array should be overridden by the device to present a
list of radio
attributes. This is used by the connectivity manager to decide
which networks can coexist
based on the hardware -->
<!-- An Array of "[ConnectivityManager connectionType],
[# simultaneous connection types]" -->
<string-array translatable="false" name="radioAttributes">
<item>"1,1"</item>
<item>"9,1"</item>
</string-array>
My init.rc also have following part at on boot sections
service dhcpcd_eth0 /system/bin/dhcpcd -aABDKL
class main
group dhcp
oneshot
service iprenew_eth0 /system/bin/dhcpcd -n
class late_start
disabled
oneshot
but i always get net::ERR_NAME_NOT_RESOLVED at browser.
checked from console using ifconfig and ip route, i can see all are
corrected at kernel level.
but check systemprop seem not work.
# getprop | grep net
[ethernet.interface]: [eth0]
[gsm.network.type]: [Unknown]
[init.svc.netd]: [running]
[net.bt.name]: [Android]
[net.change]: [net.qtaguid_enabled]
[net.hostname]: [android-101222c089f1aeac]
[net.qtaguid_enabled]: [1]
[net.tcp.default_init_rwnd]: [60]
Any Ideas?
Thanks
Uy
On Tuesday, October 27, 2015 at 9:52:02 PM UTC+7, Vishal Mahaveer wrote:
>
> Hi,
>
> I don't have an Ethernet UI, but I have internet working on Ethernet.
>
> Check if you have ethernet defined in "networkAttributes"
> and "radioAttributes" in frameworks config file.
>
> device/<vendor>/<product>/overlay/frameworks/base/core/res/res/values/config.xml
>
> Also make sure you have dhpcpcd_eth0 service defined in your init.rc.
>
>
>
> On Monday, October 26, 2015 at 9:03:32 AM UTC-5, Uy Van Duc wrote:
>>
>> Thanks Vishal for answer,
>>
>> I already have and checked in running system.
>>
>> $ cat /system/etc/permissions/android.hardware.ethernet.xml
>> <
>> <?xml version="1.0" encoding="utf-8"?>
>> <!-- Copyright (C) 2014 The Android Open Source Project
>>
>> Licensed under the Apache License, Version 2.0 (the "License");
>> you may not use this file except in compliance with the License.
>> You may obtain a copy of the License at
>>
>> http://www.apache.org/licenses/LICENSE-2.0
>>
>> Unless required by applicable law or agreed to in writing, software
>> distributed under the License is distributed on an "AS IS" BASIS,
>> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>> See the License for the specific language governing permissions and
>> limitations under the License.
>> -->
>>
>> <!-- This is the standard feature indicating that the device includes
>> ethernet. -->
>> <permissions>
>> <feature name="android.hardware.ethernet" />
>> </permissions>
>>
>> Do we need any other parameter?
>>
>> Thanks
>> Uy
>>
>
--
--
unsubscribe: [email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.