Re: [MM qmi-support] "Set Operating Mode" on shutdown and more..



>>>>> More or less, yes. You have the 'mmcli' utility in that branch, though,
>>>>> so you can skip writing raw dbus-send commands and play with the cli
>>>>> instead, like this (assuming only one modem connected, so index 0):
>>>>>
>>>>> Show modem info and status:
>>>>>    $> mmcli -m 0
>>>>>
>>>>> Send PIN:
>>>>>    $> sudo mmcli -i 0 --pin=1234
>>>>>
>>>>> Enable modem:
>>>>>    $> sudo mmcli -m 0 -e
>>>>>
>>>>> Connect:
>>>>>    $> sudo mmcli -m 0 --simple-connect="apn=internet"
>>
>> After this step, is it supposed to be possible to run a DHCP query
>> against the wwan0 device? When I try, it just hangs (No response to
>> DHCPDISCOVER). All look fine in the ModemManager output ((9/9): All
>> done), and connection works fine with the same version of libqmi with
>> the script that does this instead of the above steps:
>>
>> echo AT+CGDCONT=1,"IP","internet.netcom.no" > /dev/ttyUSB2
>> qmi-network /dev/cdc-wdm0 start
>>
>> (I used 'sudo mmcli -m 0 --simple-connect="apn=internet.netcom.no")
>>
> 
> No, the 'qmi-support' branch is still not able to get you connected,
> work is still in progress. Whenever it's ready, hopefully during the
> following weeks, I will let you know in the ML.
> 

BTW, while I'm developing the 'qmi-support' branch I'll possibly rebase
it on top of 'master' once in a while (I just did it now); just make
sure you re-create your local branch whenever you get a 'forced-update'
warning.

Cheers!

-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]