dhcpcd - issue

8 views
Skip to first unread message

linux newbie

unread,
Jan 24, 2010, 5:41:23 PM1/24/10
to android...@googlegroups.com
Hi,
 
wpa_supplicant service is started in init.rc and my target network module gets associated with AP.
On the Android GUI, once I enabed WIFI, the SSID is shown on the screen, but it says "unable to obtain IP address" and logcat shows dhcp failed.
 
On command prompt, if I execute, dhcpcd eth1 it can able to fetch IP address.
 
Can anyone let me know, how to debug this issue?
 
Thanks

linux newbie

unread,
Jan 24, 2010, 8:36:20 PM1/24/10
to android...@googlegroups.com
Hi,

I also observed that if I enable dhcpcd as service in init.rc as
service dhcpcd /system/bin/dhcpcd eth1

I can able to observe that after enabling WIFI in GUI, it can able to get connected to SSID.

But, there are lot of dhcpcd process spawned if I do "ps".

Any suggestions.

Thanks

Chih-Wei

unread,
Jan 24, 2010, 10:01:15 PM1/24/10
to android-porting
You should ask dhcpcd do not fork itself.
Add -dd option to solve the issue.

service dhcpcd /system/bin/dhcpcd -dd eth1

On 1月25日, 上午9時36分, linux newbie <linux.newbi...@gmail.com> wrote:
>
> I also observed that if I enable dhcpcd as service in init.rc as

> *service dhcpcd /system/bin/dhcpcd eth1*


>
> I can able to observe that after enabling WIFI in GUI, it can able to

> get *connected
> to SSID.*
>
> But, there are lot of dhcpcd process spawned if I do "*ps*".

linux newbie

unread,
Jan 25, 2010, 11:37:28 PM1/25/10
to android...@googlegroups.com
Thankyou!!! Now I can able to connect to SSID.


Reply all
Reply to author
Forward
0 new messages