[PATCH] mbimcli: report IP configuration on connect

Bjørn Mork bjorn at mork.no
Mon May 4 11:21:27 PDT 2015

Looks good, but how do I test it with IPv6?  Cannot figure out how to
initiate an IPv6 or IPv4v6 connection using mbimcli...

Connecting an IPv4v6 APN ends up with an IPv4 only connection:

nemi:/usr/local/src/git# mbimcli -d /dev/cdc-wdm0 -p --no-close --no-open=4 --connect=telenor.smart
[/dev/cdc-wdm0] Successfully connected

[/dev/cdc-wdm0] Connection status:
              Session ID: '0'
        Activation state: 'activated'
        Voice call state: 'none'
                 IP type: 'ipv4'
            Context type: 'internet'
           Network error: 'unknown'

[/dev/cdc-wdm0] IPv4 configuration available: 'address, gateway, dns'
     IP [0]: ''
    Gateway: ''
    DNS [0]: ''
    DNS [1]: ''

[/dev/cdc-wdm0] IPv6 configuration available: 'none'
[/dev/cdc-wdm0] Session not closed:
            TRID: '7'

And attempting an IPv6 only APN results in failure:

nemi:/usr/local/src/git# mbimcli -d /dev/cdc-wdm0 -p --no-close --no-open=9 --connect=telenor.mobil
error: operation failed: Failure
[/dev/cdc-wdm0] Session not closed:
            TRID: '11'


More information about the libmbim-devel mailing list