My aim is to use the CDC ECM data connection to establish a data connection between a HL8548 modem and a Linux system.
I do it successfully with an IPv4 address, but I also need to do the same with an IPv6 address, and unfortunately it does not work.
Here is what I do:
I use minicom on the ACM device to run the following AT commands:
a. Context configuration: AT+CGDCONT=1,"IPV6","<APN HERE>"
b. Data activation: AT+XCEDATA=1,0
Both of the above commands returns OK; so I am able to enable the network interface with the command: ip link set eth1 up
At this point, I’m a bit lost. To get an IPv4 address, I had to run a DHCP client on the interface. But with the IPv6 address, everything looks OK:
Hi @semurel ,
Have you tried set dynamic DNS request by command
AT+XDNS=1,3 (Enable dynamic DNS request (IPv4v6))
Also, the module should be upgraded latest build which provides full supported features and fixed
Thanks
Indeed, the module was not in the last version, so I have updated the firmware with the last update (RHL85xx.5.5.26.0.201912270948.x6250_5).
Unfortunately the commands above seems now broken.
When I use the AT+XCEDATA=1,0 command, I have a CME error 148 (from the manual: “Unspecified GPRS error”).
And when I try to run it a second time, I have a CME error 4 (“Operation not supported; parameter is out of range”).
Another weird thing, it seems that the context has an IP address:
AT+CGDCONT?
+CGDCONT: 1,“IPV6”,"",“42.4.206.192.2.252.106.74.0.0.0.90.219.118.33.1”,0,0
But my interface still doesnt work (it has no more IP).
I have just tested this on 5.5.26 and it works fine.
I updated the unit before I did it and what you might have an issue with is the kusbcomp setting might have been reset to 0 in the upgrade, it needs to be set to 1 to enable the ethernet interface and enumerate properly to the system.
The network is Bouygues Telecom (French provider). I think the IPv6 is avaible on their network, because I already saw an IPv6 address on my Android phone.
But as I said I have a poor level about UMTS communications so maybe I have misunderstanding something.