Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. connman-vpn problems with PPTP (KeithG)


----------------------------------------------------------------------

Date: Sun, 29 Mar 2020 16:18:34 -0500
From: KeithG <[email protected]>
Subject: connman-vpn problems with PPTP
To: [email protected]
Message-ID:
        <CAG17S_P=tlowyom2od4waf1rc7lnasuwy_fw_obn2snio6m...@mail.gmail.com>
Content-Type: multipart/alternative;
        boundary="0000000000003d9c9a05a204e1f8"

--0000000000003d9c9a05a204e1f8
Content-Type: text/plain; charset="UTF-8"

I was unable to get connman to make a vpn connection to my work. This is a
simple pptp vpn connection on a Laptop running Arch Linux with Gnome.
Struggled for a few hours and nothing. I enabled NetworkManager and in a
few seconds, voila! it worked.

I like connman/iwd. I use it on my Raspberry Pis and want to use
connman/iwd on my laptop. It works great on the laptop for the wifi and
ethernet connections, but I need vpn as well. I know it can do it, but the
docs are a bit sketchy and I was unsuccessful. When I compare my log of a
successful connection with NetworkManager and my failed connection with
connman, I cannot see anything strange.

How does one actually enable more debugging? The *.config file can have a
PPTP.Debug=, but it is unclear what we should put there? 1,2,3? Full? Max?
Verbose? The man page is unclear.

In Network Manager, my relevant settings are:
[vpn]
domain=work
gateway=vpn.work.com
mppe-stateful=yes
password-flags=2
refuse-chap=yes
refuse-eap=yes
refuse-mschap=yes
refuse-pap=yes
require-mppe=yes
user=username

for connman-vpn, I tried this:
[provider_work]
Type=PPTP
Name=work
Host=vpn.work.com
Domain=work
PPTP.User=username
PPPD.RefuseCHAP=true
PPPD.RefuseEAP=true
PPPD.RefuseMSCHAP=true
PPPD.RefuseMSCHAPv2=false
PPPD.RefusePAP=true
PPPD.ReqMPPE=true
PPPD.ReqMPPEStateful=true

The log shows similar responses, but then disconnects.
The only error I get is:

"Non-zero Async Control Character Maps are not supported!"

Then a disconnect.

Also, I think it would help to get this package more widely used if it had
a current, viable gnome extension. This one no longer works (at least with
Arch) and is abandoned since 2016.
https://extensions.gnome.org/extension/981/connman-extension/

I have connman-gtk and cmst installed and both have some shortcomings. It
would be awesome if I could edit the config in the applet...

Thanks for looking,

Keith

--0000000000003d9c9a05a204e1f8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I was unable to get connman to make a vpn connection =
to my work. This is a simple pptp vpn connection on a Laptop running Arch L=
inux with Gnome. Struggled for a few hours and nothing. I enabled NetworkMa=
nager and in a few seconds, voila! it worked. <br></div><div><br></div><div=
>I like connman/iwd. I use it on my Raspberry Pis and want to use connman/i=
wd on my laptop. It works great on the laptop for the wifi and ethernet con=
nections, but I need vpn as well. I know it can do it, but the docs are a b=
it sketchy and I was unsuccessful. When I compare my log of a successful co=
nnection with NetworkManager and my failed connection with connman, I canno=
t see anything strange. <br></div><div><br></div><div>How does one actually=
 enable more debugging? The *.config file can have a PPTP.Debug=3D, but it =
is unclear what we should put there? 1,2,3? Full? Max? Verbose? The man pag=
e is unclear.</div><div><br></div><div>In Network Manager, my relevant sett=
ings are:</div><div>[vpn]<br>domain=3Dwork<br>gateway=3D<a href=3D"http://v=
pn.work.com">vpn.work.com</a><br>mppe-stateful=3Dyes<br>password-flags=3D2<=
br>refuse-chap=3Dyes<br>refuse-eap=3Dyes<br>refuse-mschap=3Dyes<br>refuse-p=
ap=3Dyes<br>require-mppe=3Dyes<br>user=3Dusername</div><div><br></div><div>=
for connman-vpn, I tried this:</div><div>[provider_work]<br>Type=3DPPTP<br>=
Name=3Dwork<br>Host=3D<a href=3D"http://vpn.work.com";>vpn.work.com</a><br>D=
omain=3Dwork<br>PPTP.User=3Dusername<br>PPPD.RefuseCHAP=3Dtrue<br>PPPD.Refu=
seEAP=3Dtrue<br>PPPD.RefuseMSCHAP=3Dtrue<br>PPPD.RefuseMSCHAPv2=3Dfalse<br>=
PPPD.RefusePAP=3Dtrue<br>PPPD.ReqMPPE=3Dtrue<br>PPPD.ReqMPPEStateful=3Dtrue=
<br></div><div><br></div><div>The log shows similar responses, but then dis=
connects. <br></div><div>The only error I get is:</div><div><br></div><div>=
&quot;Non-zero Async Control Character Maps are not supported!&quot;</div><=
div><br></div><div>Then a disconnect.</div><br><div>Also, I think it would =
help to get this package more widely used if it had a current, viable gnome=
 extension. This one no longer works (at least with Arch) and is abandoned =
since 2016.</div><div><a href=3D"https://extensions.gnome.org/extension/981=
/connman-extension/">https://extensions.gnome.org/extension/981/connman-ext=
ension/</a></div><div><br></div><div>I have connman-gtk and cmst installed =
and both have some shortcomings. It would be awesome if I could edit the co=
nfig in the applet...<br></div><div><br></div><div>Thanks for looking,</div=
><div><br></div><div>Keith<br></div></div>

--0000000000003d9c9a05a204e1f8--

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 53, Issue 19
***************************************

Reply via email to