[android-porting] Re: DHCP Address on WiFi

2010-02-10 Thread Qipeng
hi, Ashwin there is some questions for your check. (1) is there the right dhcp conf file on your file system? pay attention to the interface of network, such as eth0 or wlan0. (2) in your init.rc, is the dhcp set to the right permission, or a proper directory for the temp data of dhcp? good luck

[android-porting] Re: DHCP Address on WiFi

2010-02-10 Thread Qipeng
hi, now i remember a URL about this, it will be useful for you i think. Japanese web: http://labs.beatcraft.com/ja/index.php?bc9%2FSoftware%2FAndroid%2FAndroid-1.5r3#ed198993 On Feb 11, 8:15 am, Ashwin Bihari wrote: > Hi Qipeng, > > I added a dhcpcd.conf file to the 'system/etc/dhcpcd' director

Re: [android-porting] Re: DHCP Address on WiFi

2010-02-10 Thread Ashwin Bihari
Hi Qipeng, I added a dhcpcd.conf file to the 'system/etc/dhcpcd' directory and it simply contains: # dhcpcd configuration for Android Wi-Fi interface # See dhcpcd.conf(5) for details. interface wlan0 # dhcpcd-run-hooks uses these options. option subnet_mask, routers

Re: [android-porting] Re: DHCP Address on WiFi

2010-02-12 Thread Ashwin Bihari
Hi Qipeng, That link was VERY useful and allowed me to get everything operational. I had all the pieces together except the trigger in WiFi.c to cause the dhcpcd to start up when I felt the WiFi device was available.. Thanks -- Ashwin On Wed, Feb 10, 2010 at 9:31 PM, Qipeng wrote: > hi, > > n