Hi R, I need to know who will set other system properties like dhcp.eth0.ipaddress, dhcp.eth0.gateway etc?. from code I see that dhcpcd deamon will set system properties.
* Wait for a system property to be assigned a specified value. * If desired_value is NULL, then just wait for the property to * be created with any value. maxwait is the maximum amount of * time in seconds to wait before giving up. */ static int wait_for_property(const char *name, const char *desired_value, int maxwait) system/core/libnetutils/dhcp_utils.c because i am not seeing any property set except dns1 and dns2 in my phone. thanks gururaja B O On Aug 13, 11:57 pm, Robert Greenwalt <rgreenw...@google.com> wrote: > check your system properties - in particular net.dns1 and net.dns2. I > suspect they are not set. They normally are set by ConnectivityService. If > you are faking your network setup (USB?) then you may not be going through > normally channels and getting these set for you. The best thing to do is > flesh out your implementation with a real NetworkStateTracker for your > particular network, hooked up to the ConnectivityService. In the shorter > term though you could just "adb shell setprop net.dns1 8.8.8.8". > > R > > On Wed, Aug 11, 2010 at 10:09 PM, deven <devawi...@gmail.com> wrote: > > Dear all, > > I am running the CTS on the Arm based phone. When I tried > > to run the Network related test cases i.e. > > > android.core.tests.luni.net--> > > org.apache.harmony.luni.tests.java.net.HttpURLConnectionTest-- > > test_Permission > > > I am getting the following Error:: > > java.net.UnknownHostException: Host is unresolved: news.yahoo.com:80 > > at java.net.Socket.connect > > > I am getting the above error in the "android.core.tests.luni.net" test > > package... > > and due to this error around 179 test cases are getting > > failed....Please help me out.. > > Is there any environment setting issue in the setting up the > > target...I have connected the target with the USB to my Fedora system. > > additionally target have the 3G Sim connected with It. > > > Please Help!!!! > > > Thanks > > Deven > > > -- > > unsubscribe: > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting