| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| docs:guide-user:network:wan:wwan:ethernetoverusb_ncm [2024/11/02 10:52] – [Protocol Configuration] andrewz | docs:guide-user:network:wan:wwan:ethernetoverusb_ncm [2024/11/17 11:17] – [Network configuration] andrewz |
|---|
| |
| ===== Installation ===== | ===== Installation ===== |
| 1. Install all the needed packages | 1. Install all the needed packages either in Luci → System → Software or via command line: |
| |
| * For Huawei modems: | * For Huawei modems: |
| |
| Additional packages will be automatically installed as //dependencies//. | Additional packages will be automatically installed as //dependencies//. |
| | |
| | You can also add the necessary packages when building a new image with [[https://firmware-selector.openwrt.org/|Firmware Selector]]. |
| |
| :!: If your have not enough space on your device - think about upgrading your hardware or installing [[docs:guide-user:additional-software:extroot_configuration|Rootfs on External Storage (extroot)]]. Refer to your router wiki page or forum thread for possibility and instructions. | :!: If your have not enough space on your device - think about upgrading your hardware or installing [[docs:guide-user:additional-software:extroot_configuration|Rootfs on External Storage (extroot)]]. Refer to your router wiki page or forum thread for possibility and instructions. |
| | mode | string | no | (modem default) | Used network mode, not every device support every mode: **preferlte**, **preferumts**, **lte**, **umts**, **gsm**, **auto** | | | mode | string | no | (modem default) | Used network mode, not every device support every mode: **preferlte**, **preferumts**, **lte**, **umts**, **gsm**, **auto** | |
| | pdptype | string | no | IP | PDP Context Type, **IP** (for IPv4), **IPV6** (for IPv6) or **IPV4V6** (for dual-stack) | | | pdptype | string | no | IP | PDP Context Type, **IP** (for IPv4), **IPV6** (for IPv6) or **IPV4V6** (for dual-stack) | |
| | delay | number | no | 0 | Seconds to wait before trying to interact with the modem (some modems require up to 30 s.) | | |
| | profile | number | no | 1 | PDP Context Identifier | | | profile | number | no | 1 | PDP Context Identifier | |
| | | delay | number | no | 0 | Seconds to wait before trying to interact with the modem (some modems require up to 30 s.) | |
| |
| You can configure the interface manually using [[docs:techref:uci|uci command line]] or [[docs:guide-user:base-system:user.beginner.cli#editing.files| text editor]] or with [[docs:techref:luci| Luci]] package **luci-proto-ncm**. | You can configure the interface manually using [[docs:techref:uci|uci command line]] or [[docs:guide-user:base-system:user.beginner.cli#editing.files| text editor]] or with [[docs:techref:luci| Luci]] package **luci-proto-ncm**. |
| Using Luci web interface: navigate to Network → Interfaces → Add new interface… → Protocol : NCM, Interface: "ttyUSB1" | Using Luci web interface: navigate to Network → Interfaces → Add new interface… → Protocol : NCM, Interface: "ttyUSB1" |
| |
| The interface selected above is the "AT Command Port" or "PCUI" in Huawei terms, ''ttyUSB1'' is shown here as an example only, different modems have different port assignments like ''/dev/ttyUSBx'' or ''/dev/ttyACMx''. The //data// interface like ''/dev/cdc-wdm0'' will be discovered by the connection script automatically. | The interface selected above is the "AT Command Port" or "PCUI" in Huawei terms, ''ttyUSB1'' is shown here as an example only, different modems have different port assignments like ''/dev/ttyUSBx'' or ''/dev/ttyACMx''. The //data// interface like ''wwan0'' and corresponding device like ''/dev/cdc-wdm0'' will be discovered by the connection script automatically. |
| |
| Enter your APN and select the 'IP Protocol' as instructed by the carrier. | Enter your APN and select the 'IP Protocol' as instructed by the carrier. |