Hi Michael,

You seem to be using the command correctly and I believe it's the expected 
behaviour that ConnMan does not populate this file (it does not use it). I 
couldn't find a way to check whether the setting is applied using connmanctl 
but you should see these in the /var/lib/connman/<service>/settings files (you 
need to be root to see those). The other simple check could also be to try 
access any network resource that depends on these settings ;-)

Geoffroy

-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09


> -----Original Message-----
> From: Dev [mailto:[email protected]] On Behalf Of Michael
> Johnson
> Sent: Wednesday, November 05, 2014 5:40 PM
> To: [email protected]
> Subject: [Dev] Nameserver in connmanctl
> 
> Hi All,
> 
> I'm just checking if setting the nameservers with connamnctl does work on
> tizen.  The command I'm using is:
> 
>        connmanctl config <myservice> --nameservers <mydns>
> 
> but I'm not getting a change in the file /etc/resolv.conf which has:
> 
>        #Generated by Connection Manager
>         nameserver 127.0.0.1
>         nameserver ::1
> 
> 
> I've temporarily added a script to /etc/profiles.d that copies my required dns
> settings  to /etc/resolv.conf,  but it won't actually work unless I log into a
> root shell outside of wayland/weston. (i.e. CTRL+ALT+Fx).
> 
> Can someone let me know if I'm using the command correctly, or if the
> functionality does work? The same goes for setting up the proxy settings.
> 
> Thanks
> 
> 
> 
> 
> MICHAEL JOHNSON
> Embedded Software Engineer
> 
> Symphony Teleca
> Sunley House, 46 Jewry Street, Winchester, Hampshire, SO23 8RY
> Phone: +441962868866, Fax: +441962868867
> mailto:[email protected]
> http://www.symphonyteleca.com
> 
> Teleca Limited, a company registered in England & Wales, registration
> number 2773878, registered office at Sunley House, 46 Jewry Street,
> Winchester, Hampshire SO23 8RY. VAT registration number GB 674 6583 90
> 
> Follow what's going on at Symphony Teleca's blog on
> http://www.symphonyteleca.com/blog. Please consider the environment
> before you print.
> 
> Notice to recipient: This e-mail (including any attachments) is meant for the
> intended recipient only, may contain confidential and proprietary
> information, and is protected by law. If you received this e-mail in error,
> please immediately notify the sender of the error by return e-mail, delete 
> this
> communication and any attachments, and shred any printouts. Unauthorized
> review, use, dissemination, distribution, copying or taking of any action
> based on this communication is strictly prohibited.
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to