On Wed, May 19, 2010 at 1:16 PM, supermaximus79 wrote:
> Solution.
>
> 1) Open external/dhcpcd/Android.mk and uncomment next lines:
>
> include $(CLEAR_VARS)
> LOCAL_MODULE := dhcpcd.conf
> LOCAL_MODULE_TAGS := user
> LOCAL_MODULE_CLASS := ETC
> LOCAL_MODULE_PATH := $(etc_dir)
> LOCAL_SRC_FILES :=
Solution.
1) Open external/dhcpcd/Android.mk and uncomment next lines:
include $(CLEAR_VARS)
LOCAL_MODULE := dhcpcd.conf
LOCAL_MODULE_TAGS := user
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(etc_dir)
LOCAL_SRC_FILES := android.conf
include $(BUILD_PREBUILT)
by default they are commented.
2
weird - I checked my devices and it is of course present.. If you know the
default build comments it out you could file a bug against it.
Sry about the hassle and congratulations on your progress!
R
On Wed, May 19, 2010 at 11:17 AM, supermaximus79 wrote:
> Solved. The problem was because there
Solved. The problem was because there wasn't dhcpcd.conf file on my
file system. i don't know why, but by default it is commented in
Android.mk
On May 18, 1:12 pm, supermaximus79 wrote:
> Hello Robert!
> Today i debugged 20-dns.conf script and found the problem.
> It's a content of 20-dns.conf sc
Hello Robert!
Today i debugged 20-dns.conf script and found the problem.
It's a content of 20-dns.conf script, i included some debug messages:
set_dns_props()
{
echo "executing SET_DNS_PROPS"
case "${new_domain_name_servers}" in
"") return 0;;
esac
echo "AFTER 1"
count=
Your WifiStateTracker reports:
V/WifiStateTracker( 1731): IP configuration: ipaddr 192.168.1.101
gateway 192.168.1.1 netmask 255.255.255.0 dns1 0.0.0.0 dns2 0.0.0.0
DHCP server 192.168.1.1 lease 7200 seconds
so the mDhcpInfo object seems to not know what's up regarding dns. Can you
include the s
Thanks!
I verified in WifiStateTracker constructor interfaces names, here they
are:
DNS1 = dhcp.wlan0.dns1
DNS2 = dhcp.wlan0.dns2
Looks like everything is ok
But still there is empty DNS.
My logs:
init: starting
'wpa_supplicant'
D/WifiService( 1731): ACTION_BATTERY_CHANGED pluggedType:
1
E/WifiH
the net.dns1 property is set by the ConnectivityService when it switches
networks. The WifiStateTracker is supposed to give the ConnectivityService
a list of properties it uses to store dns values and then the CS will copy
them when appropriate.
You should verify that your WifiStateTracker is tel
I have found what the problem with!
DHCPCD calls script dhcp-run-hooks, which also calls 20-dns.conf
script.
20-dns.conf script set DNS property this way:
setprop dhcp.${interface}.dns${count} ${dnsaddr}
in my case it will be:
setprop dhcp.wlan0.dns1 77.120.130.20 - but this doesn't work in
Andr