Hi Mohammed,

> I'm running ConnMan on a embedded linux platform. The problem is that with
> the udhcpc plugin it doesn't fetch an ip. I've run the individual script
> with some debug print statements.
> 
> # /sbin/udhcpc -f -i eth1 -p /home/MAK/UserArea/porting/
> ConnMan_bin/var/run/connman/udhcpc.eth0.pid -s
> /home/MAK/UserArea/porting/ConnMan_bin/lib/connman/scripts/udhcpc-script
> udhcpc (v1.13.4) started
> 
> **DEBUG_MAK** ARGV 1 is deconfig
> Sending discover...
> Sending select for 10.68.181.149...
> Lease of 10.68.181.149 obtained, lease time 691200
> 
> **DEBUG_MAK** ARGV 1 is bound
> 
> Still the ip isn't fetched.
> 
> # ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr <masked....>
>         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>         RX packets:9841 errors:150 dropped:0 overruns:0 frame:150
>         TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
>         collisions:0 txqueuelen:128
>         RX bytes:956963 (934.5 KiB)  TX bytes:8850 (8.6 KiB)
>         Interrupt:65
> 
> 
> Has anybody faced this issue before? What is the work around for this
> problem?

no I have not.

Just for fun, can you try to compile connman-0.55 without dhclient and
udhcpc support. Then it should use our new internal DHCP support. It
might surprise you. We haven't enabled it by default so far since we
wanna run some more testing on it.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to