aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qmi-network.in
Commit message (Collapse)AuthorAgeFilesLines
* build: update copyright yearsAleksander Morgado2017-02-101-2/+2
|
* qmi-network: avoid more bashisms when comparing stringsAleksander Morgado2016-06-301-1/+1
|
* qmi-network: avoid bashisms when checking argumentsAleksander Morgado2016-06-191-1/+1
|
* qmi-network: don't explicitly quote start network argumentAleksander Morgado2016-03-041-1/+1
|
* qmi-network: support APN user/passwordAleksander Morgado2016-03-041-4/+29
|
* qmi-network: update checks of variable contentsAleksander Morgado2016-03-041-28/+28
| | | | Use -z and -n consistently.
* qmi-network: if kernel allows updating LLP, prefer device-reported LLPAleksander Morgado2016-01-241-37/+90
| | | | | | In new kernels, updating expected LLP is a valid operation. If so, we prefer changing the expected LLP in the kernel instead of in the device, because new chipsets like the MC7455 only do raw-ip.
* qmi-network: fix indentationAleksander Morgado2015-12-291-13/+13
|
* qmi-network: update it to work with more than one deviceAleksander Morgado2015-08-021-15/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update includes two main changes: * The internal state file generated in /tmp is now named according to the cdc-wdm control port in use; e.g. /tmp/qmi-network-state-cdc-wdm0 * A new --profile option is included, which allows specifying a custom path from where to read the profile information. After this change, qmi-network may be called for different modems in the same machine just providing a different profile path (if needed), or even reusing the same one if both modems need the same configuration. E.g.: $ qmi-network --profile=/path/to/one.conf /dev/cdc-wdm1 start $ qmi-network --profile=/path/to/two.conf /dev/cdc-wdm2 start At any moment, you can know the WWAN interface associated to each /dev/cdc-wdm port using either qmicli, e.g.: $ qmicli -d /dev/cdc-wdm1 --get-wwan-iface wwp0s29u1u6i8 $ qmicli -d /dev/cdc-wdm2 --get-wwan-iface wwp0s29u1u6i10 Or, otherwise directly from sysfs: $ ls /sys/class/usbmisc/cdc-wdm1/device/net wwp0s29u1u6i8 $ ls /sys/class/usbmisc/cdc-wdm2/device/net wwp0s29u1u6i10
* qmi-network: fix indentationAleksander Morgado2015-02-261-7/+7
|
* qmi-network: try to update LLP before connecting if the wrong one foundAleksander Morgado2015-02-261-0/+48
|
* qmi-network: add missing proxy option when stopping networkAleksander Morgado2015-02-261-1/+1
|
* qmi-network: allow running with the qmi-proxyAleksander Morgado2015-02-231-5/+21
| | | | | | | The qmi-proxy setup will be used by default if the profile has the following setting: PROXY=yes
* qmi-network: improved --help output with more detailed informationAleksander Morgado2015-02-231-3/+23
|
* Fix bashism, as the script uses "sh", not "bash".Marius B. Kotsbak2014-12-301-2/+2
| | | | See downstream bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772328
* qmi-network: fix bashismsAleksander Morgado2014-12-081-2/+2
| | | | | Equivalent to the fix done in mbim-network, see: https://bugs.freedesktop.org/show_bug.cgi?id=87093
* qmi-network: use dot instead of 'source' to load the profilesAleksander Morgado2013-09-131-2/+2
| | | | | | | | The qmi-network script doesn't work properly because it uses a bash-specific "source" command. In Ubuntu, /bin/sh is dash. The solution is to just change "source" to a dot, which is the proper way to do a "source" in POSIX sh. Bug report and original fix by Heath Kehoe <heath@digitalartefacts.com>
* qmi-network: implement --help and --versionAleksander Morgado2013-09-131-0/+262