IPv6 with simple-connect

Aleksander Morgado aleksander at lanedo.com
Thu Sep 5 05:38:30 PDT 2013


On 05/09/13 09:52, Martin Anderseck wrote:
> I'm using the Sierra Wireless MC7710 module with IPv4 and IPv6. When I 
> want to setup an IPv4 connection I use
> mmcli -m 0 --simple-connect="apn=myIPv4APN,ip-type=ipv4"
> and it works fine.
> However if I want to setup an IPv6 connection I'd normally use
> mmcli -m 0 --simple-connect="apn=myIPv6APN,ip-type=ipv6"
> This always leads to 
> error: couldn't connect the modem: 
> 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.CallFailed: QMI 
> protocol error (14): 'CallFailed''
> 
> If I have set the PDP context before using the AT commands
> at+cgdcont=1,"IPV6","myIPv6APN"
> then it works. This step is not necessary for IPv4 connections. 
> 
> If I have deleted all PDP contexts before starting the simple-connect 
> command a new very general IPv4 entry is generated in both cases:
> +CGDCONT: 1,"IP","","0.0.0.0",0,0
> 
> Is this a bug in ModemManager or do you think it's a firmware issue?

The QMI implementation performs several steps to setup the IP type to
use. Could you share a debug log of MM while trying to establish a IPv6
connection?

Bjorn and/or Dan may know more on this, as I haven't played much with
IPv6 myself.

-- 
Aleksander


More information about the ModemManager-devel mailing list