E
E
Evgeny Oleinikov2017-07-31 14:03:28
mobile connection
Evgeny Oleinikov, 2017-07-31 14:03:28

How to connect to the network on OpenWRT via USB modem in NCM mode?

Good day to all.
Tell me how to connect to the network via a USB modem in NCM mode on OpenWRT.
You need to set up a connection, I set it up according to this article , my interface config turned out as follows:

config interface 'wwan'
        option proto 'ncm'
        option ifname 'wwan0'
        option device '/dev/cdc-wdm0'
        option apn 'internet.mts.ru'
        option username 'mts'
        option password 'mts'
        option mode 'all'
        option pincode '0000'
        option delay '5'

According to the indicator on the modem, it connects to the network, but there is no traffic and is not displayed anywhere (ifconfig, web interface), the modem itself is visible
[  381.304779] usb 1-1: new high-speed USB device number 2 using ehci-platform
[  381.486155] option 1-1:1.0: GSM modem (1-port) converter detected
[  381.492850] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[  381.500733] option 1-1:1.1: GSM modem (1-port) converter detected
[  381.507440] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[  381.663472] huawei_cdc_ncm 1-1:1.2: MAC-Address: 00:1e:10:1f:00:00
[  381.669952] huawei_cdc_ncm 1-1:1.2: setting rx_max = 16384
[  381.702527] huawei_cdc_ncm 1-1:1.2: NDP will be placed at end of frame for this device.
[  381.711171] huawei_cdc_ncm 1-1:1.2: cdc-wdm0: USB WDM device
[  381.718383] huawei_cdc_ncm 1-1:1.2 wwan0: register 'huawei_cdc_ncm' at usb-ehci-platform-1, Huawei CDC NCM device, 00:1e:10:1f:00:00

Please tell me how to fix this.
Thanks in advance for your replies

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question