[PATCH] mbimcli: report IP configuration on connect

Bjørn Mork bjorn at mork.no
Mon May 4 13:35:50 PDT 2015


It's an EM7345. ipv6 connections work fine using modemmager, when specifying the appropriate ip-type. I just don't know how to force ipv6 or ipv4v6 using mbimcli.


Bjørn

On 4 May 2015 21:26:25 CEST, Dan Williams <dcbw at redhat.com> wrote:
>On Mon, 2015-05-04 at 20:21 +0200, Bjørn Mork wrote:
>> Looks good, but how do I test it with IPv6?  Cannot figure out how to
>> initiate an IPv6 or IPv4v6 connection using mbimcli...
>
>For that, I don't know :)  With a Sierra 7355 (Qualcomm) and T-Mobile
>HSPA I automatically get an IPv6 address with --connect.  The patch
>outputs the IPv6 details the same way as the IPv4 ones, at least for
>this device.  Since we know Telenor supports IPv6, perhaps the device
>you've got doesn't support it via MBIM?  Which device is it?
>
>Dan
>
>> 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]: '10.141.70.20/24'
>>     Gateway: '10.141.70.1'
>>     DNS [0]: '193.213.112.4'
>>     DNS [1]: '130.67.15.198'
>> 
>> [/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'
>> 
>> 
>> 
>> Bjørn
>> _______________________________________________
>> libmbim-devel mailing list
>> libmbim-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libmbim-devel



More information about the libmbim-devel mailing list