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. Re: What signal type from DBUS query to get 4G LTE singaling strenth
level, RSSI?
(Daniel Wagner)
2. Re: [PATCH] pptp: Inform VPN agent about auth errors and unset pwd as
hidden value
(Daniel Wagner)
----------------------------------------------------------------------
Date: Thu, 5 Dec 2019 08:46:04 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: What signal type from DBUS query to get 4G LTE singaling
strenth level, RSSI?
To: JH <[email protected]>
Cc: connman <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi,
On Wed, Nov 27, 2019 at 03:11:56PM +1100, JH wrote:
> Hi,
>
> I am using dbus to query 4G LTE signaling strength level from
> "Strength" and get -80 or -100, is it from RSSI?
ConnMan forwards the Strength (or DataStrength in case of 1xEVDO) property
oFono.
> dbus_message_new_method_call("net.connman", "/",
> "net.connman.Manager", "GetServices");
> ....
>
> How reliable for the values getting from connman dbus 4G LTE signaling
> strength level?
IIRC, this depends on the modem firmware. If it reports correct and
current values to oFono you should be usable.
Thanks,
Daniel
------------------------------
Date: Thu, 5 Dec 2019 08:48:39 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: [PATCH] pptp: Inform VPN agent about auth errors and
unset pwd as hidden value
To: Jussi Laakkonen <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi Jussi,
Sorry for the long delay. I was a couple of weeks on holiday and
didn't process any emails or patches :)
On Wed, Nov 27, 2019 at 04:27:13PM +0200, Jussi Laakkonen wrote:
> Send "VpnAgent.AuthFailure" to VPN agent if there are authentication
> errors to indicate that previous login has failed and new credentials
> are required to be given. Authentication errors are detected by
> plugins/vpn.c:vpn_died() via pptp.c:pptp_error_code() which causes the
> error to be indicated accordingly.
>
> If a password is unset with vpn_provider_set_string() a property change
> signal will be sent (see vpn/vpn-provider.c:set_string()). This should
> be avoided because a VPN agent listening for changes may interpret this
> as changing the password into empty string.
>
> This would be the case when authentication fails or when disconnecting.
> At the next connection attempt the password retrieved via VPN agent
> would be an empty string. Added empty string checks to make sure this
> never happens and password is requested from VPN agent when it is also
> an empty string.
Patch applied.
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 49, Issue 29
***************************************