qmi-network

Thomas Schäfer tschaefer at t-online.de
Wed Aug 22 12:21:10 PDT 2012


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)



hpmini:/home/thomas/lib-qmi/libqmi/utils # dhcpcd -x wwan0
hpmini:/home/thomas/lib-qmi/libqmi/utils # ./qmi-network /dev/cdc-wdm0 stop
Loading previous state...
    Previous CID: 5
    Previous PDH: 35164392
Stopping network with 'qmicli -d /dev/cdc-wdm0 --wds-stop-network=35164392 --client-cid=5'...
Network stopped successfully
Clearing state...
hpmini:/home/thomas/lib-qmi/libqmi/utils # 

What is my fault?
What should I do? Do you need more information?

Regards,
Thomas


More information about the libqmi-devel mailing list