Can't set SUPL server
Daniel Westhoff
daniel.westhoff at me.com
Fri Jul 14 19:48:57 UTC 2017
Hi Aleksander,
thx for for the fast response. I tried to set SUPL server with debug mode enabled as described on the Debugging website.
The log files of ModemManager and NetworkManager are attached in a ZIP file.
Kind regards,
Daniel
This is the terminal output:
2017-07-14 19:34:21Z carpc at mars1:~$ sudo /usr/sbin/ModemManager --debug > modemmangager.log 2>&1
^Z
[1]+ Stopped sudo /usr/sbin/ModemManager --debug > modemmangager.log 2>&1
2017-07-14 19:34:50Z carpc at mars1:~$ bg
[1]+ sudo /usr/sbin/ModemManager --debug > modemmangager.log 2>&1 &
2017-07-14 19:34:51Z carpc at mars1:~$ sudo /usr/sbin/NetworkManager --debug --log-level=DEBUG > networkmanager.log 2>&1
^Z
[2]+ Stopped sudo /usr/sbin/NetworkManager --debug --log-level=DEBUG > networkmanager.log 2>&1
2017-07-14 19:35:26Z carpc at mars1:~$ bg
[2]+ sudo /usr/sbin/NetworkManager --debug --log-level=DEBUG > networkmanager.log 2>&1 &
2017-07-14 19:35:27Z carpc at mars1:~$ mmcli -m 0
/org/freedesktop/ModemManager1/Modem/0 (device id '47fc7ad2895156105aae33c7c3de65e6eb5e04fa')
-------------------------
Hardware | manufacturer: 'Sierra Wireless, Incorporated'
| model: 'MC7304'
| revision: 'SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23'
| supported: 'gsm-umts
| lte
| gsm-umts, lte'
| current: 'gsm-umts, lte'
| equipment id: '356853052585280'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3'
| drivers: 'qcserial, qmi_wwan'
| plugin: 'Sierra'
| primary port: 'cdc-wdm0'
| ports: 'wwp0s20u3i8 (net), ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), cdc-wdm1 (qmi), wwp0s20u3i10 (net)'
-------------------------
Numbers | own : '49XXXXXXXXXXX'
-------------------------
Status | lock: 'sim-pin2'
| unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
| state: 'connected'
| power state: 'on'
| access tech: 'lte'
| signal quality: '49' (recent)
-------------------------
Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none'
| current: 'allowed: 2g, 3g, 4g; preferred: none'
-------------------------
Bands | supported: 'dcs, egsm, pcs, g850, u2100, u1900, u800, u850, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx'
| current: 'dcs, egsm, pcs, g850, u2100, u1900, u850, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: '356853052585280'
| enabled locks: 'sim'
| operator id: '26201'
| operator name: 'Telekom.de'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
2017-07-14 19:36:17Z carpc at mars1:~$ sudo mmcli -m 0 --location-set-supl-server=supl.google.com
error: couldn’t set SUPL servert address: 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: QMI protocol error (3): 'Internal''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modemmanager-networkmanager-logs.zip
Type: application/zip
Size: 40516 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170714/7063bbdc/attachment-0001.zip>
-------------- next part --------------
> Am 14.07.2017 um 15:15 schrieb Aleksander Morgado <aleksander at aleksander.es>:
>
> On Fri, Jul 14, 2017 at 1:56 PM, Daniel Westhoff <daniel.westhoff at me.com> wrote:
>> 2017-07-14 11:38:01Z carpc at mars1:~$ sudo mmcli -v -m 0
>> --location-set-supl-server="supl.google.com"
>> [14 Jul 2017, 11:47:15] [Debug] ModemManager process found at ':1.2'
>> [14 Jul 2017, 11:47:15] [Debug] Assuming '0' is the modem index
>> [14 Jul 2017, 11:47:15] [Debug] Modem found at
>> '/org/freedesktop/ModemManager1/Modem/0'
>>
>> [14 Jul 2017, 11:47:15] [Debug] Synchronously setting SUPL server...
>> error: couldn’t set SUPL servert address:
>> 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: QMI protocol
>> error (3): 'Internal''
>>
>> Am I missing something e.g. do I have to configure something before calling
>> the set command?
>
> Hum... hard to know; getting an "internal" error is just telling us
> that the modem didn't like the request... :/ Can you run ModemManager
> with debug logs to see if we get any other issue that we can identify?
> https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/
>
>
> --
> Aleksander
> https://aleksander.es
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3579 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170714/7063bbdc/attachment-0001.bin>
More information about the ModemManager-devel
mailing list