Hi. There is a problem on my platform during starting wifi. DNS is always 0.0.0.0. I use dhcpcd for getting ip address, gateway, dns. DHCPCD gets correct IP address and gateway, but dns is zero. So i can type in browser ip address of a site and open it. But not name, such www.google.com.
Here is log messages on my platform: V/WifiMonitor(init: starting 'dhcpcd' 1732): Event [Associated with 00:27:19:18:36:a2] V/WifiMonitor( 1732): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7] V/WifiStateTracker( 1732): Changing supplicant state: ASSOCIATING ==> ASSOCIATED D/NetworkStateTracker( 1732): setDetailed state, old =CONNECTING and new state=CONNECTING V/WifiStateTracker( 1732): Changing supplicant state: ASSOCIATED ==> COMPLETED V/WifiMonitor( 1732): Event [CTRL-EVENT-CONNECTED - Connection to 00:27:19:18:36:a2 completed (auth) [id=0 id_str=]] V/WifiStateTracker( 1732): New network state is CONNECTED D/WifiStateTracker( 1732): DhcpHandler: DHCP request started D/NetworkStateTracker( 1732): setDetailed state, old =CONNECTING and new state=OBTAINING_IPADDR D/ConnectivityService( 1732): ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR D/SettingsWifiEnabler( 1915): Received network state changed to NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDR, reason: (unspecified), extra: (none), roaming: falsee wlan0: dhcpcd 4.0.1 starting wlan0: host does not support a monotonic clock - timing can skew wlan0: broadcasting for a lease wlan0: offered 192.168.1.101 from 192.168.1.1 `ÿ' wlan0: checking 192.168.1.101 is available on attached networks wlan0: acknowledged 192.168.1.101 from 192.168.1.1 `ÿ' wlan0: leased 192.168.1.101 for 7200 seconds init: waitpid returned pid 2417, status = 00000000 init: process 'dhcpcd', pid 2417 exited V/WifiStateTracker( 1732): DhcpHandler: DHCP request succeeded D/NetworkStateTracker( 1732): setDetailed state, old =OBTAINING_IPADDR and new state=CONNECTED V/WifiStateTracker( 1732): 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 D/ConnectivityService( 1732): ConnectivityChange for WIFI: CONNECTED/CONNECTED The same situation was with my ethernet card, i couldn't obtain DNS. only ip and gateway, using dhcpcd. My access point is right, because i successfully gets ip, gw, dns from netbook. So my question is, what could be wrong in Android. I use Eclair version 2.1 which i downloaded on the 23 of february from master branch? I there a solution how to fix problems with getting dns? Regards, Max -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
