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.

36 lines
1.2 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. Only 'device' and 'proto' are mandatory options, the remaining ones are all
  21. optional.
  22. The 'allowedauth' option allows limiting the list of authentication protocols.
  23. It is given as a space-separated list of values, including any of the
  24. following: 'pap', 'chap', 'mschap', 'mschapv2' or 'eap'. It will default to
  25. allowing all protocols.
  26. The 'iptype' option supports any of these values: 'ipv4', 'ipv6' or 'ipv4v6'.
  27. It will default to 'ipv4' if not given.