Hi, Marcel
I still have problem with DHCP on my machine. It can not get IP address 
automatically for Ethernet interface or WiFi interface.
Below are my detailed steps. And I attached the output log of ConnMan deamon. 
1. reboot machine (ConnMan is not running)
---> My Ethernet interface got its IP address. 
2. ps -ef | grep Net
root      4676     1  0 09:41 ?        00:00:00 /usr/sbin/NetworkManager 
--pid-file /var/run/NetworkManager/NetworkManager.pid
root      4690     1  0 09:41 ?        00:00:00 
/usr/sbin/NetworkManagerDispatcher --pid-file 
/var/run/NetworkManager/NetworkManagerDispatcher.pid
root      5499  5479  0 09:42 tty1     00:00:00 grep Net
3. kill NetworkManager (kill -9 4676; kill -9 4690)
4. ps -ef | grep dh
root      5140     1  0 09:41 ?        00:00:00 /usr/sbin/dhcdbd --system
dhcp      5372  5140  0 09:41 ?        00:00:00 /sbin/dhclient -1 -lf 
/var/lib/dhcp3/dhclient.eth0.leases -pf /var/run/dhclient.eth0.pid -q -e 
dhc_dbus=31 -d eth0
root      5509  5479  0 09:43 tty1     00:00:00 grep dh
5. kill dhcdbd and dhclient (kill -9 5140; kill -9 5372)
6. reload e1000 module (modprobe -r e1000; modprobe e1000)
---> Ethernet interface is up, without IP address
7. start ConnMan deamon (connmand -d -n)
8. ps -ef | grep dh
dhcp      5553  5552  0 09:45 tty1     00:00:00 /sbin/dhclient -d -q -n -e 
BUSNAME=org.moblin.connman -pf /usr/local/var/run/connman/dhclient.eth0.pid -lf 
/usr/local/var/run/connman/dhclient.eth0.leases -cf 
/usr/local/lib/connman/scripts/dhclient.conf -sf 
/usr/local/lib/connman/scripts/dhclient-script eth0
9. wait for more then 10 minutes
---> still did not get IP address for eth0
10. stop ConnMan deamon.

Thanks, 
jiajia

Attachment: connmand.log
Description: connmand.log

_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to