qmi-network

Bjørn Mork bjorn at mork.no
Thu Aug 23 00:08:37 PDT 2012


Dan Williams <dcbw at redhat.com> writes:
> On Wed, 2012-08-22 at 21:21 +0200, Thomas Schäfer wrote:
>> Hello,
>> 
>> I try to use the qmi-network script to get online. 
>> ( qmi-ifupdown by Bjørn Mork still works, but it should 
>> be replaced by something more "regular",
>> at the end it will be an other script or the modem/networkmanager)
>> 
>> Now my problem:
>> 
>> Every thing looks nice, but it does not work:
>> 
>> 
>> hpmini:/home/thomas/lib-qmi/libqmi/utils # ./qmi-network /dev/cdc-wdm0 start ; dhcpcd wwan0
>> Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network  --client-no-release-cid'...
>> Saving state... (CID: 5)
>> Saving state... (PDH: 35164392)
>> Network started successfully
>> 
>> --->here the LED changes the state to "online" but, only for one or two seconds
>> after that it is blinking again, as before (while not connected, but indicating  (lte)-network is available)
>
> My first thought here is... APN and user/password?  Who knows what the
> modem is actually using.  Does Bjorn's script take those as parameters?

Yes, it does.  That was my thought as well.  The connection is obviously
successful, but the default APN could be wrong.  Maybe an IPv6 only APN?
That is the only reason I can think of explaining connection success but
no IPv4-address.



Bjørn


More information about the libqmi-devel mailing list