I'm building connman for Rasberry Pi device with following configure options:

--build=x86_64-linux                 --host=arm-oe-linux-gnueabi
      --target=arm-oe-linux-gnueabi                   --prefix=/usr
               --exec_prefix=/usr              --bindir=/usr/bin
        --sbindir=/usr/sbin             --libexecdir=/usr/lib/connman
                 --datadir=/usr/share            --sysconfdir=/etc
          --sharedstatedir=/com                   --localstatedir=/var
           --libdir=/usr/lib               --includedir=/usr/include
            --oldincludedir=/usr/include
--infodir=/usr/share/info               --mandir=/usr/share/man
         --disable-silent-rules
--disable-dependency-tracking
--with-libtool-sysroot=/home/administrator/openembedded-core/pi-build/tmp-eglibc/sysroots/raspberrypi
     ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant
ac_cv_path_PPPD=/usr/sbin/pppd     --enable-debug     --enable-threads
    --enable-loopback     --enable-ethernet     --enable-openvpn
--enable-wifi --enable-tist     --enable-bluetooth --enable-tist
   --enable-tools     --enable-test     --disable-polkit
--enable-client  --enable-nls  --disable-gtk-doc
--disable-gtk-doc-html   --disable-gtk-doc-pdf

I create a connection with "connect-provider" and ONLY after that I
see some output from "vpn-get" script and can connect to VPN. BUT
until reboot!
After reboot I get nothing on "vpn-get" execution and can't connect to
existing VPN provider.
Also I checked /var/lib/connman/ directory and settings folder is there.

I attached connman-vpn debug log.

-- 
Best regards,
Yevhen
connman-vpnd[216]: Connection Manager VPN daemon version 1.10
connman-vpnd[216]: src/dbus.c:__connman_dbus_init() 
connman-vpnd[216]: src/agent.c:__connman_agent_init() 
connman-vpnd[216]: vpn/vpn-provider.c:__vpn_provider_init() 
connman-vpnd[216]: src/agent.c:connman_agent_driver_register() Registering 
driver 0x332b4 name vpn
connman-vpnd[216]: vpn/vpn-manager.c:__vpn_manager_init() 
connman-vpnd[216]: vpn/vpn-ipconfig.c:__vpn_ipconfig_init() 
connman-vpnd[216]: vpn/vpn-rtnl.c:__vpn_rtnl_init() 
connman-vpnd[216]: src/task.c:__connman_task_init() 
connman-vpnd[216]: src/plugin.c:__connman_plugin_init() 
connman-vpnd[216]: driver 0x8804ac name openvpn
connman-vpnd[216]: provider type openvpn
connman-vpnd[216]: vpn/vpn-rtnl.c:__vpn_rtnl_start() 
connman-vpnd[216]: conn 0x878460
connman-vpnd[216]: vpn/vpn-provider.c:__vpn_provider_get_connections() 
connman-vpnd[216]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connman-vpnd[216]: eth0 {create} index 2 type 1 <ETHER>
connman-vpnd[216]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
connman-vpnd[216]: eth0 {newlink} index 2 address B8:27:EB:C7:AF:EA mtu 1500
connman-vpnd[216]: eth0 {newlink} index 2 operstate 6 <UP>
connman-vpnd[216]: No VPN configurations found, quitting.
connman-vpnd[216]: Terminating
connman-vpnd[216]: src/plugin.c:__connman_plugin_cleanup() 
connman-vpnd[216]: driver 0x8804ac name openvpn
connman-vpnd[216]: src/task.c:__connman_task_cleanup() 
connman-vpnd[216]: vpn/vpn-rtnl.c:__vpn_rtnl_cleanup() 
connman-vpnd[216]: vpn/vpn-ipconfig.c:__vpn_ipconfig_cleanup() 
connman-vpnd[216]: eth0 {remove} index 2
connman-vpnd[216]: vpn/vpn-manager.c:__vpn_manager_cleanup() 
connman-vpnd[216]: vpn/vpn-provider.c:__vpn_provider_cleanup() 
connman-vpnd[216]: src/agent.c:connman_agent_driver_unregister() Unregistering 
driver 0x332b4 name vpn
connman-vpnd[216]: src/agent.c:__connman_agent_cleanup() 
connman-vpnd[216]: src/dbus.c:__connman_dbus_cleanup() 
connman-vpnd[216]: Exit
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to