qmi-network with APN

Thomas Schäfer tschaefer at t-online.de
Thu Aug 23 08:19:33 PDT 2012


Am 23.08.2012 16:11, schrieb Aleksander Morgado:
> Hey,
>
> Just pushed a quick fix to the libqmi repo to handle APNs passed to WDS
> Start Network.
>
> Just create a /etc/qmi-network.conf file with:
> APN=your.apn.here
>
> And then run qmi-network as usual:
>   $> qmi-network /dev/cdc-wdm0 start
>
It works!!!! Great!

Before that, the script has cleared my apn-settings.

Compiling does also work for the moment.

Only one thing changed a little bit. The qmi-network script did not find 
qmicli.

But I expanded the PATH with :. and changed into the cli-subdir.


eeepc:/home/thomas/libqmi/libqmi/cli # ../utils/qmi-network 
/dev/cdc-wdm0 start
Loading profile...
     APN: internet.telekom
     Starting network with 'qmicli -d /dev/cdc-wdm0 
--wds-start-network=internet.telekom --client-no-release-cid'...
     Saving state... (CID: 3)
     Saving state... (PDH: 35164392)
     Network started successfully
eeepc:/home/thomas/libqmi/libqmi/cli.
....
....
     dhcpcd wwan0
....
     eeepc:~ # ping heise.de
     PING heise.de (193.99.144.80) 56(84) bytes of data.
     64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=1 
ttl=240 time=34.6 ms
     64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=2 
ttl=240 time=40.6 ms
     64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=3 
ttl=240 time=32.7 ms
     64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=4 
ttl=240 time=40.6 ms
^C
     --- heise.de ping statistics ---
     4 packets transmitted, 4 received, 0% packet loss, time 3002ms
     rtt min/avg/max/mdev = 32.739/37.159/40.681/3.552 ms
....



Thanks a lot,

to be continued.... modemmanager, IPv6....

Thomas





More information about the libqmi-devel mailing list