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 <[email protected]> wrote: > 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, domain_name_servers > > In my init.rc file, I have a line to start up wpa_supplicant and > another to start up dhcpcd on the wlan0 device. > > When I login to the device and type "ps", I see the various services > that I'm starting up from init.rc, but I don't see the dhcpcd service. > Should I have to create the directory where dhcpcd stores it's leases > and all that as well? > > Is there some document that describes ALL the pieces that I need to > setup for this to completely work? I appreciate the help.. > > Regards > -- Ashwin > > On Wed, Feb 10, 2010 at 10:32 AM, Qipeng <[email protected]> wrote: > > 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 to you. > > > On Feb 10, 10:51 pm, Ashwin Bihari <[email protected]> wrote: > >> Greetings, > > >> I have a board with onboard WiFi available through the SDIO slot. I've > >> got the appropriate Kernel driver made available within Android 1.6 > >> and through numerous searches have figured out what I need to do to > >> get wpa_supplicant to come up and stay up. I can now goto the Android > >> Network control settings area, turn on WiFi and can get a list of > >> wireless AP's in my area. The piece that seems to be eluding me is > >> DHCP. I get a message of "init: no service 'dhcpcd'" on the screen > >> while Android is trying to obtain an address and it eventually times > >> out and gives up.. > > >> I've also got a regular Ethernet port on this device and in my init.rc > >> file, I'm running ethmonitor on that device and when I plug in a RJ45 > >> cable, I immediately get the DHCP functionality to occur and an IP > >> address to be assigned to me.. > > >> I have, however, tried to manually start /system/bin/dhcpcd on my WiFi > >> device of wlan0 and that seems to kick start the DHCP process and it > >> does get an address, but once added, the WiFi device removes that > >> address.. > > >> What are the correct steps in getting the IP address assigned through > >> DHCP to my WiFi interface?? > > >> Regards > >> -- Ashwin > > > -- > > unsubscribe: [email protected] > > website:http://groups.google.com/group/android-porting > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
