[Dev] Connmanctl configuration issues from command line

Pruteanu, Codrin C codrin.c.pruteanu at intel.com
Fri Oct 4 08:42:23 GMT 2013


Hello,

We have an issue related to connman package v1.18, when trying to setup a network configuration on a fresh installed Tizen image:

WIRED_SERVICE=`connmanctl services | grep Wired | awk -F' ' '{ print $3 }'` ;  (actually WIRED_SERVICE becomes something like 'ethernet_1867b0236128_cable')
connmanctl config $WIRED_SERVICE --ipv4 manual 10.37.10.10 255.255.255.0 10.37.10.1 --nameservers 10.24.7.1 163.30.213.48 10.84.19.1 --proxy auto http://proxy/autoconfig.dat

The behavior of this command is completely non-deterministic, sometimes the proxy variable is set, but the network is not configured, sometimes the nameservers are missing, etc ...
At the same time, in the error log we can see error messages (such as core dumped connmanctl ...) after running the connmanctl command with any parameters.

Question: do we miss something in trying to setup a network configuration by using the connmanctl command with the given parameters?
We know that some bugs were submitted related to this strange behavior, but that happened back in connman v1.15, and now we're running the latest version (v1.18).

By default the connman service is active (running) after the first setup configuration:

connman.service - Connection service
   Loaded: loaded (/usr/lib/systemd/system/connman.service; disabled)
   Active: active (running) since Fri 2013-10-04
Main PID: 3491 (connmand)
   CGroup: name=systemd:/system/connman.service
           └─3491 /usr/sbin/connmand -n

zypper info connman
Name: connman
Version: 1.18-1.1
Arch: x86_64
Summary: Connection Manager
Description: Connection Manager provides a daemon for managing Internet connections within embedded devices running the Linux operating system.

connmanctl services ethernet_1867b0236128_cable
/net/connman/service/ethernet_1867b0236128_cable
  Type = ethernet
  Security = [  ]
  State = ready
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = Wired
  Ethernet = [ Method=auto, Interface=enp2s0, Address=68:27:B8:53:21:18, MTU=1500 ]
  IPv4 = [ Method=manual, Address=10.37.10.10, Netmask=255.255.255.0, Gateway=10.37.10.1 ]
  IPv4.Configuration = [ Method=manual, Address=10.37.10.10, Netmask=255.255.255.0, Gateway=10.37.10.1 ]
  IPv6 = [  ]
  IPv6.Configuration = [ Method=off ]
  Nameservers = [ 10.24.7.1, 163.30.213.48, 10.84.19.1 ]
  Nameservers.Configuration = [ 10.24.7.1, 163.30.213.48, 10.84.19.1 ]
  Timeservers = [ 10.37.10.1, pool.ntp.org ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [ Servers=[ http://proxy.intel.com, https://proxy.intel.com ], Excludes=[ localhost, 10.0.0.0/8, .intel.com ], Method=manual ]
  Proxy.Configuration = [ Servers=[ http://proxy.intel.com, https://proxy.intel.com ], Excludes=[ localhost, 10.0.0.0/8, .intel.com ], Method=manual ]
  Provider = [  ]

Best regards,
--
Pruteanu Codrin-Constantin
QA Architect @ Intel Corporation
Open Source Technology Center Romania
System Software Division
Desk: +40318451190
iNET: 88451190

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131004/11a48985/attachment-0001.html>


More information about the Dev mailing list