On Mon, Apr 13, 2009 at 4:33 PM, Marc Ferland <[email protected]> wrote: > On Mon, Apr 13, 2009 at 4:22 PM, Marcel Holtmann <[email protected]> wrote: >> Hi Marc, >> >>> >> I'm trying to connect to a standard wired ethernet network using >>> >> connman. Unfortunately, connman doesn't configure my interface >>> >> correctly. >>> >> >>> >> Info on my setup: >>> >> -Acer aspire one, model ZG5; >>> >> -using r8169 as my network driver; >>> >> -using moblin2 2009-03-11; >>> >> >>> >> The connman applet in xfce shows the following message: >>> >> "Conncetion Manager daemon is not running" >>> >> >>> >> Running connman manually outputs the following messages in >>> >> /var/log/messages: >>> >> Apr 13 13:35:55 localhost connmand[2044]: Connection Manager version 0.11 >>> >> Apr 13 13:35:55 localhost connmand[2044]: The loopback interface is >>> >> already up >>> >> Apr 13 13:35:55 localhost avahi-daemon[1385]: Joining mDNS multicast >>> >> group on interface eth0.IPv4 with address 192.168.1.133. >>> >> Apr 13 13:35:55 localhost kernel: [ 2972.965148] r8169: eth0: link up >>> >> Apr 13 13:35:55 localhost avahi-daemon[1385]: New relevant interface >>> >> eth0.IPv4 for mDNS. >>> >> Apr 13 13:35:55 localhost avahi-daemon[1385]: Registering new address >>> >> record for 192.168.1.133 on eth0.IPv4. >>> >> Apr 13 13:35:56 localhost dhclient: DHCPREQUEST on eth0 to >>> >> 255.255.255.255 port 67 >>> >> Apr 13 13:35:56 localhost dhclient: DHCPACK from 192.168.1.2 >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: Withdrawing address >>> >> record for 192.168.1.133 on eth0. >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: Leaving mDNS multicast >>> >> group on interface eth0.IPv4 with address 192.168.1.133. >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: Interface eth0.IPv4 no >>> >> longer relevant for mDNS. >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: Joining mDNS multicast >>> >> group on interface eth0.IPv4 with address 192.168.1.134. >>> >> Apr 13 13:35:56 localhost dhclient: bound to 192.168.1.134 -- renewal >>> >> in 18367 seconds. >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: New relevant interface >>> >> eth0.IPv4 for mDNS. >>> >> Apr 13 13:35:56 localhost avahi-daemon[1385]: Registering new address >>> >> record for 192.168.1.134 on eth0.IPv4. >>> >> Apr 13 13:35:57 localhost avahi-daemon[1385]: Withdrawing address >>> >> record for 192.168.1.134 on eth0. >>> >> Apr 13 13:35:57 localhost avahi-daemon[1385]: Leaving mDNS multicast >>> >> group on interface eth0.IPv4 with address 192.168.1.134. >>> >> Apr 13 13:35:57 localhost avahi-daemon[1385]: Interface eth0.IPv4 no >>> >> longer relevant for mDNS. >>> >> Apr 13 13:35:57 localhost connmand[2044]: Exit >>> > >>> > for some reason we have connmand exit here and that is your problem. >>> > Which version are you using? >>> >>> I'm using using connmand version 0.11 on Moblin2 (from image: >>> moblin-netbook-core-alpha2-20090311.img). >> >> I think that explains it. The version from the alpha2 build is kinda >> old. We have done a lot of bug fixing in the meantime. Do you have a >> chance to test a newer version? >> >> Regards >> >> Marcel > > Yeah, I'll be happy to test it! > > Marc >
Hi Marcel, Just yum-updated my netbook. Connmand is now at version 0.15. Pretty much the same problem.. But! I got the connection working pretty easily by running the following command: $ connmand -i eth0 -n -d I modified the init script a little so that all debug info would be saved to a file and then did the following tests: First: Run connmand init script with DAEMON_OPTS="-d -n". (_Not_ working) Second: Run connmand init script with DAEMON_OPTS="-i eth0 -d -n". (Works! I had to quit the daemon by pressing C-c since it was working correctly and the daemon didn't fork a new child process). I'm attaching my results so you can see what could be wrong. Marc P.S. I rebooted the machine between each tests.
connmand_first_run.gz
Description: GNU Zip compressed data
connmand_second_run.gz
Description: GNU Zip compressed data
_______________________________________________ connman mailing list [email protected] https://lists.moblin.org/mailman/listinfo/connman
