Apn connect only gives ipv6-addr


#1

I have a WP8548 module. It works great, then at an unknown stage its cm connect only connects as an ipv6. When running ifconfig it shows

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::8610:5c:da7f:a8e6/64 Scope:Link
UP RUNNING MTU:1430 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:678 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:138252 (135.0 KiB)

The setup on
cm data info

Index: 1
APN: csdtecmo.co.za
PDP Type: IPV4
Connected: yes
Auth type: PAP
User name: tecmo
Password: tecmo

I know the IP, and can ping it from another pc, so the device did connect. And when I send the command AT+CGPADDR via /dev/ttyAT, I get the correct IPv4 Address :
AT+CGPADDR

+CGPADDR: 1,10.10.1.2
OK

Running legato version 16.07.0_cd4985660a55cc9a6f9a2ed28bcc757e_modified, as from the FW_Updates. I get the same result, when starting the connection via an application, or via SSH.

More info:
ATI

Legato Ver: 16.07.0_cd4985660a55cc9a6f9a2ed28bcc757e_modified
Yocto Ver: SWI9X15Y_07.11.09.00 2016-08-11_20:51:24
OS Ver: Linux version 3.14.29ltsi-c14b887744_0c284d02b3 (gsmbuild@CARMD-EV-FRMWR1) (gcc version 4.9.1 (GCC) ) #2 PREEMPT Thu Aug 11 20:50:27 PDT 2016
LK Ver: 1.3.0_a50272dbb2
RootFS Ver: SWI9X15Y_07.11.09.00 2016-08-11_20:51:24
UserFS Ver: unknown
MCU Ver: 000.000

ATI8

Manufacturer: Sierra Wireless, Incorporated
Model: WP8548
Revision: SWI9X15Y_07.11.11.00 r33161 CARMD-EV-FRMWR1 2016/09/20 16:36:44
IMEI: 359377060030318
IMEI SV: 42
FSN: LL620100140906
+GCAP: +CGSM,+DS,+ES

Any help would be greatly appreciated.

Regards


#3

Hello,

The issue would be from Legato linux distribution for 16.07.0. For latest legato linux distribution for 17.11.0.rc3 the IPV4 address has been seen properly.

See below command responses in the latest legato image:
root@swi-mdm9x15:~# cm info
Device: WP8548
IMEI: 359377060033064
IMEISV: 2E
FSN: LL647500381110
Firmware Version: SWI9X15Y_07.12.13.00 e2a81d2 jenkins 2017/11/23 05:53:26
Bootloader Version: SWI9X15Y_07.12.13.00 e2a81d2 jenkins 2017/11/23 05:45:22
MCU Version: 001.005
PRI Part Number (PN): 9906351
PRI Revision: 01.00
Carrier PRI Name: GENERIC
Carrier PRI Revision: 001.026_000
SKU: 1103113
Last Reset Cause: Unknown
Resets Count: Expected: 0 Unexpected: 0

root@swi-mdm9x15:~# legato version
17.11.0.rc3-15-g05d574c_7075984fa821a5cb319d0267f77d36a6_modified

ifconfig
rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:100.64.200.79 Mask:255.255.255.224
inet6 addr: fe80::b72b:bc27:ede6:1563/64 Scope:Link
UP RUNNING MTU:1430 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2323 (2.2 KiB) TX bytes:3592 (3.5 KiB)

root@swi-mdm9x15:~# cm data info
Index: 1
APN: "apn
PDP Type: IPV4
Connected: yes
Interface: rmnet0
Family: inet
IP: 100.64.200.79
Gateway: 100.64.200.80
Dns1: 203.145.160.5
Dns2: 59.144.144.46
root@swi-mdm9x15:~# microcom -E /dev/ttyAT
AT+CGPADDR
+CGPADDR: 1,100.64.200.79
+CGPADDR: 2,0.0.0.0
+CGPADDR: 3,0.0.0.0
+CGPADDR: 4,0.0.0.0
+CGPADDR: 5,0.0.0.0
+CGPADDR: 6,0.0.0.0
+CGPADDR: 7,0.0.0.0
+CGPADDR: 8,0.0.0.0
+CGPADDR: 9,0.0.0.0
+CGPADDR: 10,0.0.0.0
+CGPADDR: 11,0.0.0.0
+CGPADDR: 12,0.0.0.0
+CGPADDR: 13,0.0.0.0
+CGPADDR: 14,0.0.0.0
+CGPADDR: 15,0.0.0.0
+CGPADDR: 16,0.0.0.0

OK

Thanks,
Pinkesh Shah