Hello all,
I am working with the HL8548H-G AirPrime development kit. It is connected via USB to my imx6 SABRE board running our yocto build of the Linux 4.1 kernel. My end goal is to have a general-purpose internet connection through the HL modem using connman. But for starters, I would just like to be able to ping google.com through Linux.
I used AT+KUSBCOMP=2 to put the modem in Mode 2. In this mode, I see 1 ECM port, 3 AT ttyACM ports, and 2 traces ports. (Refer to section 5.73 of the AT Commands Interface Guide: http://source.sierrawireless.com/resources/airprime/software/airprime_hl6_and_hl8_series_at_commands_interface_guide/).
Because I have the USB gadget serial Ethernet driver enabled, the ECM port automatically appears as eth2 in ip-addr:
7: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:00:11:12:13:14 brd ff:ff:ff:ff:ff:ff
And I can run ipconfig eth2 up, and I see that it comes up with an ipv6 address:
eth2 Link encap:Ethernet HWaddr 00:00:11:12:13:14
inet6 addr: fe80::200:11ff:fe12:1314%1995540176/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
However, it does not get an IPV4 address. And ping6 is unable to reach ipv6.google.com:
root@b2qt-imx6sxsabresd:~# ping6 2001:4860:4860::8888
PING 2001:4860:4860::8888 (2001:4860:4860::8888): 56 data bytes
ping6: sendto: Network is unreachable
Here are my modem settings:
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","internet.xxxx.net","",0,0
OK
AT+KCNXCFG?
+KCNXCFG: 1,"GPRS","internet.xxxx.net","","","IPV4","0.0.0.0","0.0.0.0","0.0.0.0",0
OK
AT+CGATT?
+CGATT: 1
OK
AT+KCNXTIMER?
+KCNXTIMER: 1,60,2,70,30
OK
AT+KCNXPROFILE?
+KCNXPROFILE: 1
OK
Can anyone give any advice on what steps I’ve missed? Or, is there an integration guide for using the HL’s ECM interface with Linux?
Best regards,
Brady