3G Modem MC8805:qmicli succesfuly connected but no IP after dhclient

Benoît benoitne at gmail.com
Mon Nov 9 06:59:42 PST 2015


Hi list
Hi Aleksander

You help me a lot thanks !
Just a little one do you know if there is any udev rule I can append to 
your command 
(SUBSYSTEM=="usb",ATTR{idVendor}=="413c",ATTR{idProduct}=="81a3",ATTR{bConfigurationValue}=="2" 
ATTR{bConfigurationValue}="1")
to fix the MAC Address of the interface?
In fact I figured out that everytime I poweroff my system a new MAC is 
generated randomly :(
I would love to fix one as soon as the interface is shown to the system 
and I think udev is the right place but I don't have the right attribute 
(I know the one to fix the name but unfortunately it is based on MAC..)

Many thanks


On 27/10/15 19:37, Benoît wrote:
> little update
> even if I am still unable to compile modemmanager I have tested the 
> qmicli latest version.
> when I blacklist cdc_mbim and add udev rules 
> SUBSYSTEM=="usb",ATTR{idVendor}=="413c",ATTR{idProduct}=="81a3",ATTR{bConfigurationValue}=="2" 
> ATTR{bConfigurationValue}="1"
> then I got a wwan0 interface but I am unable to pass any qmicli 
> commands all finish Timed out...
>
> If I restart without the udev rule and without blacklising the 
> cdc_mbim then I can send commands, I can connect but like at the 
> begining no traffic is seen on interface.
> for curiousity I tried qmicli -d /dev/cdc-wdm0 --wds-get-current-settings
> [/dev/cdc-wdm0] Current settings retrieved:
>            IP Family: IPv4
>         IPv4 address: 10.214.2.3
>     IPv4 subnet mask: 255.255.255.248
> IPv4 gateway address: 10.214.2.1
>     IPv4 primary DNS: 62.201.129.99
>   IPv4 secondary DNS: 62.201.159.99
>                  MTU: 1430
>
> I also tried to force the ip on my wwan interface but no traffic is seen.
> it is like I am only able to interact with the modem when all it set 
> by default but impossible to send or receive any packet...
>
>
> On 10/27/15 17:23, Benoît wrote:
>> just a quick one
>> I have installed libqmi succesfully (libqmi (libqmi-glib, qmicli) 1.13.5)
>>
>> qmicli -V
>>
>> qmicli 1.13.5
>> Copyright (C) 2015 Aleksander Morgado
>> License GPLv2+: GNU GPL version 2 or later 
>> <http://gnu.org/licenses/gpl-2.0.html>
>> This is free software: you are free to change and redistribute it.
>>
>>
>> when I autoconf ModemManager it doesn't find the libqmi I guess 
>> because of some linking librairies issue?
>>
>> ModemManager  git:(master) # ./autogen.sh
>> [...]
>> checking for MBIM... yes
>> checking for QMI... no
>> configure: error: Couldn't find libqmi-glib >= 1.13.5. Install it, or 
>> otherwise configure using --without-qmi to disable QMI support.
>>
>>
>> On 10/27/15 16:42, Aleksander Morgado wrote:
>>> On Tue, Oct 27, 2015 at 4:34 PM, Benoît<benoitne at gmail.com>  wrote:
>>>> just deleted it I think it is using Generic now but no success
>>> Yeah, it's still trying QMI even in the Generic plugin... I wonder if
>>> the Dell plugin in git master would help here or not.
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20151109/6d2cbc61/attachment.html>


More information about the libqmi-devel mailing list