maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   VPN in Sailfishos 2.1 (https://talk.maemo.org/showthread.php?t=98962)

eson 2017-02-24 05:37

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by pasko (Post 1523950)
Here's an extract from the log I get in the phone

Nope, no problem like that.

Code:

Feb 24 06:14:30 Sailfish openvpn[21000]: TUN/TAP device vpn0 opened
Sorry I can't help about your error. I'm just not knowledgeable enough.

nieldk 2017-02-24 07:54

Re: VPN in Sailfishos 2.1
 
Quote:

Originally Posted by pasko (Post 1523950)
Hi.

Sorry for this late response.

Here's an extract from the log I get in the phone:

Code:

Feb 23 19:02:52 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:54 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:56 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:02:58 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:03:00 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)
Feb 23 19:03:02 Sailfish openvpn[5544]: write to TUN/TAP : Invalid argument (code=22)

To see it I used the command:
Code:

journalctl -l -f
Executed as root, and then immediately I started the VPN client.

I suspect there are some incompatibilities between my server configuration and Jolla's VPN, which is based in connman and is not very flexible
Regards.

The error is apparently related to how comp-lzo is used. And, specific to which versions of openvpn installed, it seems.
Look at this ticket https://community.openvpn.net/openvpn/ticket/128

pasko 2017-02-24 08:45

Re: VPN in Sailfishos 2.1
 
Hi.

Thank you. Will give it a try.

Regards.


All times are GMT. The time now is 08:21.

vBulletin® Version 3.8.8