Re: unable to connect to vpn via connman-vpn

2015-02-27 Thread Vasiliy Tolstov
2015-02-26 12:02 GMT+03:00 Patrik Flykt patrik.fl...@linux.intel.com:
 OpenVPN.ConfigFile in doc/vpn-config-format.txt can be used to pass all
 options to openvpn. Usually this should not be needed except in your
 case where you want extra logging.


Thanks.

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: unable to connect to vpn via connman-vpn

2015-02-25 Thread Vasiliy Tolstov
2015-02-25 17:45 GMT+03:00 Patrik Flykt patrik.fl...@linux.intel.com:
 It's not a good idea to have systemd-networkd and connmand running at
 the same time. Funny things happen. Running systemd-networkd and
 connman-vpnd has not been tried before either, I'd guess, but these two
 should play mostly nice together.


This is not problem if netword does not have config for this interface.
I found problem - my openvpn does not have comp-lzo option. Does it
possible in debug mode display full message from openvpn and full
command line for it?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: unable to connect to vpn via connman-vpn

2015-02-25 Thread Vasiliy Tolstov
0x219d8b0 arg --dev
connman-vpnd[11622]: src/task.c:connman_task_add_argument() task
0x219d8b0 arg --dev-type
connman-vpnd[11622]: src/task.c:connman_task_add_argument() task
0x219d8b0 arg --persist-tun
connman-vpnd[11622]: src/task.c:connman_task_add_argument() task
0x219d8b0 arg --route-noexec
connman-vpnd[11622]: src/task.c:connman_task_add_argument() task
0x219d8b0 arg --ifconfig-noexec
connman-vpnd[11622]: src/task.c:connman_task_add_argument() task
0x219d8b0 arg --ping-restart
connman-vpnd[11622]: src/task.c:connman_task_run() task 0x219d8b0
connman-vpnd[11622]: vpn/vpn-provider.c:connect_cb() provider
0x219b9a0 user 0x216bf90 error 0
connman-vpnd[11622]: vpn/plugins/vpn.c:vpn_connect() openvpn started
with dev vpn0
connman-vpnd[11622]: vpn/vpn-provider.c:provider_indicate_state()
provider 0x219b9a0 state configuration/2
connman-vpnd[11622]: vpn0 {create} index 10 type 65534 NONE
connman-vpnd[11622]: vpn0 {update} flags 4240 DOWN
connman-vpnd[11622]: vpn0 {newlink} index 10 operstate 2 DOWN
connman-vpnd[11622]: src/task.c:task_died() task 0x219d8b0 exit status 1
connman-vpnd[11622]: vpn/plugins/vpn.c:vpn_died() provider 0x219b9a0
data 0x216a190
connman-vpnd[11622]: vpn/plugins/vpn.c:stop_vpn() Killed tun device vpn0
connman-vpnd[11622]: vpn/vpn-provider.c:vpn_provider_indicate_error()
provider 0x219b9a0 id 85_143_161_18_vpn_clodo_ru error 0
connman-vpnd[11622]: vpn/vpn-provider.c:provider_indicate_state()
provider 0x219b9a0 state failure/5
connman-vpnd[11622]: vpn/vpn-provider.c:vpn_provider_set_index() index
-1 provider 0x219b9a0
connman-vpnd[11622]: vpn/vpn-provider.c:vpn_provider_unref_debug()
0x219b9a0 ref 1 by vpn/plugins/vpn.c:169:vpn_died()
connman-vpnd[11622]: src/task.c:connman_task_destroy() task 0x219d8b0
connman-vpnd[11622]: src/task.c:free_task() task 0x219d8b0
connman-vpnd[11622]: vpn0 {dellink} index 10 operstate 2 DOWN
connman-vpnd[11622]: vpn/vpn-ipconfig.c:__vpn_ipconfig_dellink() index 10
connman-vpnd[11622]: vpn0 {remove} index 10

2015-02-25 11:03 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
 I'm using latest connman, my conf is:

 [global]
 Name=vpn.xxx.ru

 [provider_85_143_161_18_vpn_clodo_ru]
 Type=OpenVPN
 Name=vpn.xxx.ru
 Host=xx.xx.xx.xx
 Domain=vpn.xxx.ru
 Networks=192.168.100.0/24,192.168.1.0/24
 OpenVPN.CACert=/etc/openvpn/keys/vpn.xxx.ru/ca.crt
 OpenVPN.Cert=/etc/openvpn/keys/vpn.xxx.ru/client.crt
 OpenVPN.Key=/etc/openvpn/keys/vpn.xxx.ru/client.key
 OpenVPN.NSCertType=server
 OpenVPN.Proto=udp
 OpenVPN.Port=1195
 OpenVPN.CompLZO=adaptive


 Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {create} index 8 type 65534 
 NONE
 Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {update} flags 4240 DOWN
 Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {newlink} index 8 address
 00:00:00:00:00:00 mtu 1500
 Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {newlink} index 8
 operstate 2 DOWN
 Feb 25 10:59:36 vtolstov systemd[1]: Starting Network Service...
 Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {create} index 8
 type 65534 NONE
 Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {update} flags 4240 DOWN
 Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {newlink} index 8
 operstate 2 DOWN
 Feb 25 10:59:36 vtolstov dbus[518]: [system] Rejected send message, 2
 matched rules; type=error, sender=:1.174 (uid=0 pid=11495
 comm=/usr/sbin/connman-vpnd -n ) interface=(unset)
 member=(unset) error name=net.connman.Error.InProgress
 requested_reply=0 destination=:1.2 (uid=0 pid=514
 comm=/usr/sbin/connmand -n )
 Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {dellink} index 8
 operstate 2 DOWN
 Feb 25 10:59:36 vtolstov connmand[514]: (null) {remove} index 8
 Feb 25 10:59:36 vtolstov systemd-networkd[11539]: vpn0:
 could not find udev device: No such device
 Feb 25 10:59:36 vtolstov systemd-networkd[11539]: could not add new
 link: No such device
 Feb 25 10:59:36 vtolstov systemd-networkd[11539]: Enumeration completed
 Feb 25 10:59:36 vtolstov systemd[1]: Started Network Service.
 Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {dellink} index 8
 operstate 2 DOWN
 Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {remove} index 8


 --
 Vasiliy Tolstov,
 e-mail: v.tols...@selfip.ru
 jabber: v...@selfip.ru



-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


unable to connect to vpn via connman-vpn

2015-02-25 Thread Vasiliy Tolstov
I'm using latest connman, my conf is:

[global]
Name=vpn.xxx.ru

[provider_85_143_161_18_vpn_clodo_ru]
Type=OpenVPN
Name=vpn.xxx.ru
Host=xx.xx.xx.xx
Domain=vpn.xxx.ru
Networks=192.168.100.0/24,192.168.1.0/24
OpenVPN.CACert=/etc/openvpn/keys/vpn.xxx.ru/ca.crt
OpenVPN.Cert=/etc/openvpn/keys/vpn.xxx.ru/client.crt
OpenVPN.Key=/etc/openvpn/keys/vpn.xxx.ru/client.key
OpenVPN.NSCertType=server
OpenVPN.Proto=udp
OpenVPN.Port=1195
OpenVPN.CompLZO=adaptive


Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {create} index 8 type 65534 NONE
Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {update} flags 4240 DOWN
Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {newlink} index 8 address
00:00:00:00:00:00 mtu 1500
Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {newlink} index 8
operstate 2 DOWN
Feb 25 10:59:36 vtolstov systemd[1]: Starting Network Service...
Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {create} index 8
type 65534 NONE
Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {update} flags 4240 DOWN
Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {newlink} index 8
operstate 2 DOWN
Feb 25 10:59:36 vtolstov dbus[518]: [system] Rejected send message, 2
matched rules; type=error, sender=:1.174 (uid=0 pid=11495
comm=/usr/sbin/connman-vpnd -n ) interface=(unset)
member=(unset) error name=net.connman.Error.InProgress
requested_reply=0 destination=:1.2 (uid=0 pid=514
comm=/usr/sbin/connmand -n )
Feb 25 10:59:36 vtolstov connmand[514]: vpn0 {dellink} index 8
operstate 2 DOWN
Feb 25 10:59:36 vtolstov connmand[514]: (null) {remove} index 8
Feb 25 10:59:36 vtolstov systemd-networkd[11539]: vpn0:
could not find udev device: No such device
Feb 25 10:59:36 vtolstov systemd-networkd[11539]: could not add new
link: No such device
Feb 25 10:59:36 vtolstov systemd-networkd[11539]: Enumeration completed
Feb 25 10:59:36 vtolstov systemd[1]: Started Network Service.
Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {dellink} index 8
operstate 2 DOWN
Feb 25 10:59:36 vtolstov connman-vpnd[11495]: vpn0 {remove} index 8


-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: connman vs networkmanager today

2015-01-28 Thread Vasiliy Tolstov
2015-01-12 12:07 GMT+03:00 Tomasz Bursztyka tomasz.burszt...@linux.intel.com:
 ConnMan does not support ipsec yet.


Do you have any plans to add this kind of support? As i understand we
simply need to spawn xl2tp client... ?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


connman vs networkmanager today

2015-01-10 Thread Vasiliy Tolstov
Hello. I need to choose network application for my notebook, I need to have
ability to connect to VPN and ipsec network, WiFi and wired.
What is the benefits in connman vs network manager?
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: create vpn connection via connman

2014-02-21 Thread Vasiliy Tolstov
2014-02-21 12:17 GMT+04:00 Patrik Flykt patrik.fl...@linux.intel.com:
 The VPN provisioning file goes to /var/lib/connman-vpn/file.config.


Big thanks!

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


create vpn connection via connman

2014-02-20 Thread Vasiliy Tolstov
Hi all. I'm newbie with connmanctl and connmap api. How can i create
connman-vpnd vpn connection with some config ?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: create vpn connection via connman

2014-02-20 Thread Vasiliy Tolstov
2014-02-20 15:38 GMT+04:00 Patrik Flykt patrik.fl...@linux.intel.com:
 See the documentation in doc/vpn-config-format.txt, and run connmanctl
 with 'vpnagent on' as your (command line) UI should the VPN ask
 something from the user. At that point it is also easy to view and
 connect VPNs from connmanctl.

 Cheers,


Thanks! Last question - where connman stores vpn configuration in
/var/lib/connman/vpn/xxx or in /var/lib/connman-vpn/xxx ?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman