[ublox] A problem with the network connection over LTE on TOBY-L2

2018-11-01 Thread Baryshnikov, Maxim (Digiteq Automotive)
Hello everyone,

I've tried to establish a connection using ModemManager through LTE network 
and haven't succeed in it. However, I am able to successfully set up an 
internet connection manually, given the same conditions but without 
ModemManager, applying the steps suggested in Sec. 5.10.2 of [1]:

AT+CFUN=4
AT+UCGDFLT=1,"IP","internet.t-mobile.cz"  -- sets the default PDP context which 
is applied right after a registration.
AT+CFUN=1

When I use ModemManager (mmcli -m0 
--simple-connect="apn=internet.t-mobile.cz"), it apparently configures a PDP 
context in the same way as for 3G/2G networks. The modem gets an IP and DNS 
addresses, but pings are not passing through it.. Please, see the logs and the 
modem info below.

root@zynq7:~# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id 
'9be611a4f382a582972f20fa86efbaa8f6b02918')
  -
  Hardware |   manufacturer: 'u-blox'
   |  model: 'TOBY-L210'
   |   revision: '15.63'
   |   H/W revision: 'unknown'
   |  supported: 'gsm-umts, lte'
   |current: 'gsm-umts, lte'
   |   equipment id: '###'
  -
  System   | device: 
'/sys/devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1.2'
   |drivers: 'cdc_ether, cdc_acm'
   | plugin: 'u-blox'
   |   primary port: 'ttyACM0'
   |  ports: 'ttyACM0 (at), ttyACM1 (at), ttyACM2 (at), wwan0 
(net)'
  -
  Numbers  |   own : 'unknown'
  -
  Status   |   lock: 'none'
   | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 
(10)'
   |  state: 'searching'
   |power state: 'on'
   |access tech: 'unknown'
   | signal quality: '40' (recent)
  -
  Modes|  supported: 'allowed: 2g; preferred: none
   |  allowed: 2g, 3g; preferred: none
   |  allowed: 2g, 3g; preferred: 2g
   |  allowed: 2g, 3g; preferred: 3g
   |  allowed: 3g; preferred: none
   |  allowed: 4g; preferred: none
   |  allowed: 2g, 3g, 4g; preferred: none
   |  allowed: 2g, 3g, 4g; preferred: 2g
   |  allowed: 2g, 3g, 4g; preferred: 3g
   |  allowed: 2g, 3g, 4g; preferred: 4g
   |  allowed: 2g, 4g; preferred: none
   |  allowed: 2g, 4g; preferred: 2g
   |  allowed: 2g, 4g; preferred: 4g
   |  allowed: 3g, 4g; preferred: none
   |  allowed: 3g, 4g; preferred: 3g
   |  allowed: 3g, 4g; preferred: 4g'
   |current: 'allowed: 4g; preferred: none'
  -
  Bands|  supported: 'egsm, dcs, pcs, g850, utran-1, utran-3, utran-4, 
utran-6, utran-5, utran-8, utran-2, utran-7, eutran-1, eutran-2, eutran-3, 
eutran-4, eutran-5, eutran-7, eutran-8, eutran-11, eutran-13, eutran-17, 
eutran-20, utran-11'
   |current: 'egsm, pcs, g850, utran-1, utran-5, utran-8, 
utran-2, eutran-1, eutran-2, eutran-5, eutran-8'
  -
  IP   |  supported: 'ipv4, ipv6, ipv4v6'
  -
  3GPP |   imei: '###'
   |  enabled locks: 'none'
   |operator id: 'unknown'
   |  operator name: 'unknown'
   |   subscription: 'unknown'
   |   registration: 'idle'
   |EPS UE mode: 'csps-2'
  -
  SIM  |   path: '/org/freedesktop/ModemManager1/SIM/0'

  -
  Bearers  |  paths: 'none'

root@zynq7:~# mmcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  -
  Status |   connected: 'yes'
 |   suspended: 'no'
 |   interface: 'wwan0'
 |  IP timeout: '20'
  -
  Properties | apn: 'internet.t-mobile.cz'
 | roaming: 'allowed'
 | IP type: 'none'
 |user: 'none'
 |password: 'none'
 |  number: 'none'
 | Rm protocol: 'unknown'
  -
  IPv4 configuration |   method: 'dhcp'
 |  address: '100.90.53.103'
 |   prefix: '32'
 |  gateway: '100.90.53.103'
 |  DNS: '93.153.117.49', '93.153.117.17'
  -
  IPv6 configuration |   method: 'unknown'
  -
  Stats  |  Duration: '3330'
 |Bytes 

Re: MMCLI debug mode

2018-11-01 Thread Dan Williams
On Wed, 2018-10-31 at 09:45 -0700, Srinivasan Jagannadhan wrote:
> Thanks Dave! It connects with your suggestion. But there is no
> IPAddr/Gateway assigned

Ok, it looks like ModemManager is attempting to use PPP on the device
because MM doesn't handle the Telit cdc-ncm ethernet-like interface
that the modem provides.  Ideally we'd like to use that interface,
rather than PPP but that's unimplemented for now, it seems.

But with your current setup, MM is waiting for you to start pppd on the
 data port to configure the IP details.

Dan

> root@localhost:/var/log/inode# mmcli -m 1 --simple-status
> /org/freedesktop/ModemManager1/Modem/1
>   -
>   Status |  state: 'connected'
>  | signal quality: '85' (recent)
>  |  bands: 'eutran-ii, eutran-iv, eutran-xiii'
>  |access tech: 'unknown'
>   -
>   3GPP   |   registration: 'home'
>  |  operator code: '311480'
>  |  operator name: 'Verizon'
>  |   subscription: 'unknown'
> 
> 
> 
> root@localhost:/var/log/inode# mmcli -b 19
> Bearer '/org/freedesktop/ModemManager1/Bearer/19'
>   -
>   Status |   connected: 'yes'
>  |   suspended: 'no'
>  |   interface: 'ttyACM0'
>  |  IP timeout: '20'
>   -
>   Properties | apn: 'VZWINTERNET'
>  | roaming: 'allowed'
>  | IP type: 'ipv4v6'
>  |user: 'none'
>  |password: 'none'
>  |  number: 'none'
>  | Rm protocol: 'unknown'
>   -
>   IPv4 configuration |   method: 'ppp'
>  |  address: 'unknown'
>  |   prefix: '0'
>  |  gateway: 'unknown'
>  |  DNS: none
>   -
>   IPv6 configuration |   method: 'ppp'
>  |  address: 'unknown'
>  |   prefix: '0'
>  |  gateway: 'unknown'
>  |  DNS: none
>   -
>   Stats  |  Duration: '180'
>  |Bytes received: 'N/A'
>  | Bytes transmitted: 'N/A'
> 
> 
> root@localhost:/var/log/inode# mmcli -m 1
> 
> /org/freedesktop/ModemManager1/Modem/1 (device id
> '3b7220ee774f413d7be53e974a94c04f89a8b2b8')
>   -
>   Hardware |   manufacturer: 'Telit'
>|  model: 'LE910-SV V2'
>|   revision: '20.00.002'
>|  supported: 'gsm-umts, lte'
>|current: 'gsm-umts, lte'
>|   equipment id: '351994070026033'
>   -
>   System   | device:
> '/sys/devices/pci:00/:00:14.0/usb1/1-4/1-4.1'
>|drivers: 'cdc_acm, cdc_ncm'
>| plugin: 'Dell'
>|   primary port: 'ttyACM0'
>|  ports: 'ttyACM3 (at), ttyACM4 (unknown),
> ttyACM5
> (unknown), wwx11121314 (unknown), ttyACM0 (at), ttyACM1
> (unknown),
> ttyACM2 (unknown)'
>   -
>   Numbers  |   own : '+14086051571'
>   -
>   Status   |   lock: 'none'
>| unlock retries: 'sim-pin (3), sim-puk (10)'
>|  state: 'connected'
>|power state: 'on'
>|access tech: 'unknown'
>| signal quality: '85' (recent)
>   -
>   Modes|  supported: 'allowed: 4g; preferred: none'
>|current: 'allowed: 4g; preferred: none'
>   -
>   Bands|  supported: 'eutran-ii, eutran-iv, eutran-xiii'
>|current: 'eutran-ii, eutran-iv, eutran-xiii'
>   -
>   IP   |  supported: 'ipv4, ipv6, ipv4v6'
>   -
>   3GPP |   imei: '351994070026033'
>|  enabled locks: 'none'
>|operator id: '311480'
>|  operator name: 'Verizon'
>|   subscription: 'unknown'
>|   registration: 'home'
>   -
>   SIM  |   path: '/org/freedesktop/ModemManager1/SIM/1'
> 
>   -
>   Bearers  |  paths:
> '/org/freedesktop/ModemManager1/Bearer/19'
> 
> 
> Thanks
> Srini
> 
> On Wed, Oct 31, 2018 at 7:46 AM Dan Williams  wrote:
> 
> > On Wed, 2018-10-31 at 06:43 -0700, Srinivasan Jagannadhan wrote:
> > > CGD Dump is as follows:
> > > 
> > > root@localhost:/home/iotium# mmcli -m 0 --command="AT+CGDCONT?"
> > > response: '+CGDCONT: 1,"IPV4V6","vzwims","",0,0
> > > +CGDCONT: 2,"IPV4V6","vzwadmin","",0,0
> > > +CGDCONT: 3,"IPV4V6","VZWINTERNET","",0,0'
> > > root@localhost:/home/iotium#
> > 
> > What happens if you 

Re: Band 28 not appearing in mmcli output

2018-11-01 Thread Aleksander Morgado
Hey,


> I’m using an MC7430 which supports LTE B28, but mmcli is not showing
> eutran-28 as an available band.  What could be the issue?
>
>   -
>   Bands|  supported: 'utran-1, utran-6, utran-5, utran-8, utran-9,
> eutran-1, eutran-3, eutran-5, eutran-7, eutran-8, eutran-18, eutran-19,
> eutran-21, eutran-38, eutran-39, eutran-40, eutran-41, utran-19'
>|current: 'utran-1, utran-6, utran-5, utran-8, utran-9,
> eutran-1, eutran-3, eutran-5, eutran-7, eutran-8, eutran-18, eutran-19,
> eutran-21, eutran-38, eutran-39, eutran-40, eutran-41'
>   
>
> The modem certainly connects to B28, as seen here:
>
> root@OpenWrt:~# mmcli -m 0 --command="AT!GSTATUS?"
> response: '!GSTATUS:
> Current Time:  243  Temperature: 47
> Reset Counter: 2Mode:ONLINE
> System mode:   LTE  PS state:Attached
> —> LTE band:  B28 <—LTE bw:  20 MHz
> LTE Rx chan:   9410 LTE Tx chan: 27410
> LTE CA state:  INACTIVE LTE Scell band:B3
> LTE Scell bw:20 MHz LTE Scell chan:1300
> EMM state: Registered   Normal Service
> RRC state: RRC Connected
> IMS reg state: No Srv
>

Try with git master.

See
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/44

>
___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel