You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

  1. # OpenWrt ModemManager
  2. ## Description
  3. Cellular modem control and connectivity
  4. Optional libraries libmbim and libqmi are available.
  5. Your modem may require additional kernel modules and/or the usb-modeswitch
  6. package.
  7. ## Usage
  8. Once installed, you can configure the 2G/3G/4G modem connections directly in
  9. /etc/config/network as in the following example:
  10. config interface 'broadband'
  11. option device '/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2.1'
  12. option proto 'modemmanager'
  13. option apn 'ac.vodafone.es'
  14. option allowedauth 'pap chap'
  15. option username 'vodafone'
  16. option password 'vodafone'
  17. option pincode '7423'
  18. option iptype 'ipv4'
  19. option lowpower '1'
  20. option signalrate '30'
  21. Only 'device' and 'proto' are mandatory options, the remaining ones are all
  22. optional.
  23. The 'allowedauth' option allows limiting the list of authentication protocols.
  24. It is given as a space-separated list of values, including any of the
  25. following: 'pap', 'chap', 'mschap', 'mschapv2' or 'eap'. It will default to
  26. allowing all protocols.
  27. The 'iptype' option supports any of these values: 'ipv4', 'ipv6' or 'ipv4v6'.
  28. It will default to 'ipv4' if not given.
  29. The 'signalrate' option set's the signal refresh rate (in seconds) for the device.
  30. You can call signal info with command: mmcli -m 0 --signal-get