OpenWrt 17.01.4 and UMTS STICK

Hey,

i need some ideas or help. I will use my old Archer C7 with OpenWRT 17.01.4 and a Surfstick to get a internet connection. I followed this guid
https://openwrt.org/docs/guide-user/network/wan/wwan/3gdongle

Stick and Sim are detected

root@OpenWrt:~# gcom -d /dev/ttyUSB1

Enter PIN number: 1234
Waiting for Registration..(120 sec max).
Registered on Home network: "E-Plus Mobilfunk GmbH",2
Signal Quality: 12,99
root@OpenWrt:~#

I write in /etc/config/network the wan interface, but nothing happens after a reboot. I have no idea what i can try now.

config interface 'wan'            
        option pincode '1234'     
        option apn 'internet.eplus.de'
        option username 'eplus'       
        option proto '3g'             
        option password 'internet'    
        option dialnumber '*99#'      
        option device '/dev/ttyUSB1'  
        option service 'umts_only'    
        option delegate '0'           
        option ipv6 '0'

Some help would be nice, thanks

Did you try the ifup wan && logread to check for possible errors?

In my case this configuration didn't work and I had to experiment with the other protocols. I ended up with the following for my Huawei e3372

network.LTE=interface
network.LTE.mode='preferlte'
network.LTE.apn='internet.t-mobile.cz'
network.LTE.dialnum='*99#'
network.LTE.proto='ncm'
network.LTE.ifname='wwan0'
network.LTE.device='/dev/ttyUSB0'
network.LTE.ipv6='auto'
network.LTE.metric='40'
network.LTE.disabled='0'
network.LTE.delay='15'
network.LTE.delegate='0'
network.LTE.pdptype='IP'
network.LTE.auto='0'

You may want to use auto=1 to bring it up on boot.

When i enter this command nothing happens in the log. And i dont know why ?

And in which file are your settings

Thanks for answering, maybe we can find the solution together

What is the output of ifstatus wan ?
These are the options of the wan interface in /etc/config/network
The output is from uci, but you get what needs to be done.

root@OpenWrt:~# ifstatus wan
{
	"up": false,
	"pending": false,
	"available": false,
	"autostart": true,
	"dynamic": false,
	"proto": "none",
	"data": {
		
	},
	"errors": [
		{
			"subsystem": "interface",
			"code": "NO_DEVICE"
		}
	]
}
root@OpenWrt:~# 

Can you try with ttyUSB0 ?

I change the Settings but nothing Happens.

gcom -d is only working with ttyUSB1

root@OpenWrt:~# vi /etc/config/network 
root@OpenWrt:~# ifstatus wan
{
	"up": false,
	"pending": false,
	"available": false,
	"autostart": true,
	"dynamic": false,
	"proto": "none",
	"data": {
		
	},
	"errors": [
		{
			"subsystem": "interface",
			"code": "NO_DEVICE"
		}
	]
}
root@OpenWrt:~# ifup wan
root@OpenWrt:~# ifstatus wan
{
	"up": false,
	"pending": false,
	"available": false,
	"autostart": true,
	"dynamic": false,
	"proto": "none",
	"data": {
		
	},
	"errors": [
		{
			"subsystem": "interface",
			"code": "NO_DEVICE"
		}
	]
}
root@OpenWrt:~# gcom -d /dev/ttyUSB0
 ***SIM ERROR***
Check device port configuration.
Check SIM is inserted
Test SIM in a mobile phone?
root@OpenWrt:~# gcom -d /dev/ttyUSB1

Enter PIN number: 1234
Waiting for Registration..(120 sec max).
Registered on Home network: "E-Plus Mobilfunk GmbH",2
Signal Quality: 11,99

dmesg shows only this if this helps

[11816.092944] usb 2-1: new high-speed USB device number 6 using ehci-platform
[11818.680010] usb 2-1: USB disconnect, device number 6
[11824.102942] usb 2-1: new high-speed USB device number 7 using ehci-platform
[11824.266427] usbserial_generic 2-1:1.0: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.266448] usbserial_generic 2-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.266463] usbserial_generic 2-1:1.0: generic converter detected
[11824.266685] usb 2-1: generic converter now attached to ttyUSB0
[11824.266963] usbserial_generic 2-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.266979] usbserial_generic 2-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.266993] usbserial_generic 2-1:1.1: generic converter detected
[11824.267213] usb 2-1: generic converter now attached to ttyUSB1
[11824.267494] usbserial_generic 2-1:1.2: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.267510] usbserial_generic 2-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.267525] usbserial_generic 2-1:1.2: generic converter detected
[11824.267747] usb 2-1: generic converter now attached to ttyUSB2
[11824.268020] usbserial_generic 2-1:1.3: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.268037] usbserial_generic 2-1:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.268052] usbserial_generic 2-1:1.3: generic converter detected
[11824.268273] usb 2-1: generic converter now attached to ttyUSB3
[11824.268586] usbserial_generic 2-1:1.4: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.268602] usbserial_generic 2-1:1.4: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.268616] usbserial_generic 2-1:1.4: generic converter detected
[11824.268835] usb 2-1: generic converter now attached to ttyUSB4
[11824.269205] usbserial_generic 2-1:1.5: The "generic" usb-serial driver is only for testing and one-off prototypes.
[11824.269222] usbserial_generic 2-1:1.5: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[11824.269236] usbserial_generic 2-1:1.5: generic converter detected
[11824.269453] usb 2-1: generic converter now attached to ttyUSB5
root@OpenWrt:~# 

It seems weird to me that dmesg shows every time a different ttyUSB.
Can you post the following:
opkg list-installed; lsusb; lsmod
lsusb needs usbutils to be installed to provide output. install it with opkg update; opkg install usbutils

I have no build a new OpenWRT 19.07.1 and install all packages which i think

here is the output of opkg list-installed; lsusb; lsmod

root@OpenWrt:~# opkg list-installed; lsusb; lsmod;
ath10k-firmware-qca988x-ct - 2019-10-03-d622d160-1
base-files - 204.2-r10911-c155900f66
busybox - 1.30.1-5
cgi-io - 16
chat - 2.4.7.git-2019-05-25-2
comgt - 0.32-32
ddns-scripts - 2.7.8-12
ddns-scripts_no-ip_com - 2.7.8-12
dnsmasq - 2.80-15
dropbear - 2019.78-2
firewall - 2019-11-22-8174814a-1
fstools - 2020-01-18-189b41b6-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-2
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw-full - 5.0.1-1
jshn - 2020-01-20-43a103ff-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.167-1-342af9e4f67b3447c53216ab8e3b12a1
kmod-ath - 4.14.167+4.19.98-1-1
kmod-ath10k-ct - 4.14.167+2019-09-09-5e8cd86f-1
kmod-ath9k - 4.14.167+4.19.98-1-1
kmod-ath9k-common - 4.14.167+4.19.98-1-1
kmod-cfg80211 - 4.14.167+4.19.98-1-1
kmod-gpio-button-hotplug - 4.14.167-3
kmod-hwmon-core - 4.14.167-1
kmod-ip6tables - 4.14.167-1
kmod-ipt-conntrack - 4.14.167-1
kmod-ipt-core - 4.14.167-1
kmod-ipt-nat - 4.14.167-1
kmod-ipt-offload - 4.14.167-1
kmod-mac80211 - 4.14.167+4.19.98-1-1
kmod-nf-conntrack - 4.14.167-1
kmod-nf-conntrack6 - 4.14.167-1
kmod-nf-flow - 4.14.167-1
kmod-nf-ipt - 4.14.167-1
kmod-nf-ipt6 - 4.14.167-1
kmod-nf-nat - 4.14.167-1
kmod-nf-reject - 4.14.167-1
kmod-nf-reject6 - 4.14.167-1
kmod-nls-base - 4.14.167-1
kmod-tun - 4.14.167-1
kmod-usb-core - 4.14.167-1
kmod-usb-ehci - 4.14.167-1
kmod-usb-ledtrig-usbport - 4.14.167-1
kmod-usb-serial - 4.14.167-1
kmod-usb-serial-ftdi - 4.14.167-1
kmod-usb-serial-option - 4.14.167-1
kmod-usb-serial-wwan - 4.14.167-1
kmod-usb2 - 4.14.167-1
libblobmsg-json - 2020-01-20-43a103ff-1
libc - 1.1.24-2
libgcc1 - 7.5.0-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3
libjson-script - 2020-01-20-43a103ff-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-2
libmbedtls12 - 2.16.4-1
libnl-tiny - 0.1-5
libopenssl-conf - 1.1.1d-2
libopenssl1.1 - 1.1.1d-2
libpcsclite - 1.8.25-1
libpthread - 1.1.24-2
librt - 1.1.24-2
libubox20191228 - 2020-01-20-43a103ff-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libusb-1.0-0 - 1.0.22-2
libuuid1 - 2.34-1
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.048.32085-85a6f07-1
luci-app-ddns - 2.4.9-7
luci-app-firewall - git-20.048.32085-85a6f07-1
luci-app-openvpn - git-20.048.32085-85a6f07-1
luci-app-opkg - git-20.048.32085-85a6f07-1
luci-app-upnp - git-20.048.32085-85a6f07-1
luci-base - git-20.048.32085-85a6f07-1
luci-compat - git-20.048.32085-85a6f07-1
luci-i18n-base-de - git-20.048.32085-85a6f07-1
luci-i18n-openvpn-de - git-20.048.32085-85a6f07-1
luci-lib-ip - git-20.048.32085-85a6f07-1
luci-lib-ipkg - git-20.048.32085-85a6f07-1
luci-lib-jsonc - git-20.048.32085-85a6f07-1
luci-lib-nixio - git-20.048.32085-85a6f07-1
luci-mod-admin-full - git-20.048.32085-85a6f07-1
luci-mod-network - git-20.048.32085-85a6f07-1
luci-mod-status - git-20.048.32085-85a6f07-1
luci-mod-system - git-20.048.32085-85a6f07-1
luci-proto-3g - git-20.048.32085-85a6f07-1
luci-proto-ipv6 - git-20.048.32085-85a6f07-1
luci-proto-ppp - git-20.048.32085-85a6f07-1
luci-theme-bootstrap - git-20.048.32085-85a6f07-1
miniupnpd - 2.1.20190408-2
mtd - 24
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2019-12-16-e53fec89-3
openssl-util - 1.1.1d-2
openvpn-mbedtls - 2.4.7-2
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-01-25-c09fe209-1
procd - 2020-01-24-31e4b2df-1
rpcd - 2019-11-10-77ad0de0-1
rpcd-mod-file - 2019-11-10-77ad0de0-1
rpcd-mod-iwinfo - 2019-11-10-77ad0de0-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
swconfig - 12
uboot-envtools - 2018.03-3
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2019-12-22-5f9ae573-1
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usbutils - 007-10
usign - 2019-08-06-5a52b379-1
wireless-regdb - 2019.06.03
wpad-basic - 2019-08-08-ca8c2bd2-2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 19d2:0063 ZTE WCDMA Technologies MSM K3565-Z HSDPA
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ath                    18240  4 ath9k,ath9k_common,ath9k_hw,ath10k_core
ath10k_core           381040  1 ath10k_pci
ath10k_pci             30544  0 
ath9k                  95632  0 
ath9k_common           11232  1 ath9k
ath9k_hw              343456  2 ath9k,ath9k_common
cfg80211              221744  5 ath9k,ath9k_common,ath10k_core,ath,mac80211
compat                  5888  4 ath9k,ath9k_common,mac80211,cfg80211
ehci_hcd               35312  1 ehci_platform
ehci_platform           4256  0 
ftdi_sio               30624  0 
gpio_button_hotplug     5120  0 
ip_tables              10576  4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10464 24 ip6table_mangle,ip6table_filter
ip6t_REJECT              992  2 
ip6table_filter          608  1 
ip6table_mangle         1184  1 
ipt_MASQUERADE           640  1 
ipt_REJECT               928  2 
iptable_filter           608  1 
iptable_mangle           896  1 
iptable_nat              672  1 
ledtrig_usbport         2288  0 
mac80211              442720  2 ath9k,ath10k_core
nf_conntrack           60288 13 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_CT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4       5056 12 
nf_conntrack_ipv6       5424  6 
nf_conntrack_rtcache    2592  0 
nf_defrag_ipv4          1056  1 nf_conntrack_ipv4
nf_defrag_ipv6          4704  1 nf_conntrack_ipv6
nf_flow_table          13136  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2080  1 
nf_log_common           2592  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3296  0 
nf_log_ipv6             4000  0 
nf_nat                 10032  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             3824  1 iptable_nat
nf_nat_masquerade_ipv4    1584  1 ipt_MASQUERADE
nf_nat_redirect         1408  1 xt_REDIRECT
nf_reject_ipv4          2080  1 ipt_REJECT
nf_reject_ipv6          2432  1 ip6t_REJECT
nls_base                4832  1 usbcore
option                 31552  0 
tun                    22528  0 
usb_common              1344  1 usbcore
usb_wwan                4224  1 option
usbcore               128592  7 option,usb_wwan,ftdi_sio,usbserial,ledtrig_usbport,ehci_platform,ehci_hcd
usbserial              17104  3 option,usb_wwan,ftdi_sio
x_tables               12656 24 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD,xt_CT,iptable_mangle,iptable_filter,ip_tables,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xt_CT                   2624  0 
xt_FLOWOFFLOAD          3024  0 
xt_LOG                   736  0 
xt_REDIRECT              672  0 
xt_TCPMSS               2720  4 
xt_comment               448143 
xt_conntrack            2272 16 
xt_limit                1152 20 
xt_mac                   576  0 
xt_mark                  640  0 
xt_multiport            1216  0 
xt_nat                  1504  0 
xt_state                 672  0 
xt_tcpudp               1728 12 
xt_time                 1728  0 
root@OpenWrt:~# 

I wasn't able to find any working configuration for your modem. However I remember from when I was trying to make my Huawei e3372 work, that the 3g protocol wasn't working and I had to try the rest. You can try your luck with wwan which should autodetect. Otherwise try the ncm and qmi manually. My config is for ncm.

i can try it with a other Surfstick ?

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

This is the second UMTS Stick which i have...Any idea or tutorial for configure this stick ?
But with this Stick i get no /dev/ttyUSBx device and i don't know why

Plug in and set it up on a Linux desktop or laptop and confirm that it can reach the Internet. Then check the log on that machine to see which drivers are in use.

And i don't understand this message and if i click on install protocol...
In the filter is written "luci-proto" but there is no package with this

Install luci-proto-ncm and luci-proto-qmi.

I have Install it already but nothing change, i Restore now and flash the image new

WWAN and NCM is also broken on master
It gives the same error as above ("Network device no present") in LUCI

Since you are at it, upgrade to a more recent version, 19.07.1 is the latest stable.

Ok now i have install a fresh OpenWrt 19.07.1

I think i install all required packages

root@OpenWrt:~# opkg list-installed
asterisk16 - 16.3.0-5
asterisk16-chan-dongle - 1.1-20180619-1
ath10k-firmware-qca988x-ct - 2019-10-03-d622d160-1
base-files - 204.2-r10911-c155900f66
busybox - 1.30.1-5
cgi-io - 16
chat - 2.4.7.git-2019-05-25-2
comgt - 0.32-32
comgt-ncm - 0.32-32
ddns-scripts - 2.7.8-12
ddns-scripts_no-ip_com - 2.7.8-12
dnsmasq - 2.80-15
dropbear - 2019.78-2
firewall - 2019-11-22-8174814a-1
fstools - 2020-01-18-189b41b6-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-2
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw-full - 5.0.1-1
jansson - 2.12-1
jshn - 2020-01-20-43a103ff-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.167-1-342af9e4f67b3447c53216ab8e3b12a1
kmod-ath - 4.14.167+4.19.98-1-1
kmod-ath10k-ct - 4.14.167+2019-09-09-5e8cd86f-1
kmod-ath9k - 4.14.167+4.19.98-1-1
kmod-ath9k-common - 4.14.167+4.19.98-1-1
kmod-cfg80211 - 4.14.167+4.19.98-1-1
kmod-gpio-button-hotplug - 4.14.167-3
kmod-hwmon-core - 4.14.167-1
kmod-ip6tables - 4.14.167-1
kmod-ipt-conntrack - 4.14.167-1
kmod-ipt-core - 4.14.167-1
kmod-ipt-nat - 4.14.167-1
kmod-ipt-offload - 4.14.167-1
kmod-lib-crc-ccitt - 4.14.167-1
kmod-mac80211 - 4.14.167+4.19.98-1-1
kmod-mii - 4.14.167-1
kmod-nf-conntrack - 4.14.167-1
kmod-nf-conntrack6 - 4.14.167-1
kmod-nf-flow - 4.14.167-1
kmod-nf-ipt - 4.14.167-1
kmod-nf-ipt6 - 4.14.167-1
kmod-nf-nat - 4.14.167-1
kmod-nf-reject - 4.14.167-1
kmod-nf-reject6 - 4.14.167-1
kmod-nls-base - 4.14.167-1
kmod-ppp - 4.14.167-1
kmod-pppoe - 4.14.167-1
kmod-pppox - 4.14.167-1
kmod-slhc - 4.14.167-1
kmod-tun - 4.14.167-1
kmod-usb-acm - 4.14.167-1
kmod-usb-core - 4.14.167-1
kmod-usb-ehci - 4.14.167-1
kmod-usb-ledtrig-usbport - 4.14.167-1
kmod-usb-net - 4.14.167-1
kmod-usb-net-cdc-ncm - 4.14.167-1
kmod-usb-net-huawei-cdc-ncm - 4.14.167-1
kmod-usb-net-qmi-wwan - 4.14.167-1
kmod-usb-serial - 4.14.167-1
kmod-usb-serial-ftdi - 4.14.167-1
kmod-usb-serial-option - 4.14.167-1
kmod-usb-serial-wwan - 4.14.167-1
kmod-usb-wdm - 4.14.167-1
kmod-usb2 - 4.14.167-1
libblobmsg-json - 2020-01-20-43a103ff-1
libc - 1.1.24-2
libcap - 2.27-1
libedit - 20191025-3.1-1
libgcc1 - 7.5.0-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3
libjson-script - 2020-01-20-43a103ff-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-2
libmbedtls12 - 2.16.4-1
libncurses6 - 6.1-5
libnl-tiny - 0.1-5
libopenssl-conf - 1.1.1d-2
libopenssl1.1 - 1.1.1d-2
libpcsclite - 1.8.25-1
libpthread - 1.1.24-2
librt - 1.1.24-2
libsqlite3-0 - 3310100-1
libubox20191228 - 2020-01-20-43a103ff-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libusb-1.0-0 - 1.0.22-2
libuuid1 - 2.34-1
libxml2 - 2.9.9-2
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.048.32085-85a6f07-1
luci-app-ddns - 2.4.9-7
luci-app-firewall - git-20.048.32085-85a6f07-1
luci-app-openvpn - git-20.048.32085-85a6f07-1
luci-app-opkg - git-20.048.32085-85a6f07-1
luci-app-upnp - git-20.048.32085-85a6f07-1
luci-base - git-20.048.32085-85a6f07-1
luci-compat - git-20.048.32085-85a6f07-1
luci-i18n-base-de - git-20.048.32085-85a6f07-1
luci-i18n-openvpn-de - git-20.048.32085-85a6f07-1
luci-lib-ip - git-20.048.32085-85a6f07-1
luci-lib-ipkg - git-20.048.32085-85a6f07-1
luci-lib-jsonc - git-20.048.32085-85a6f07-1
luci-lib-nixio - git-20.048.32085-85a6f07-1
luci-mod-admin-full - git-20.048.32085-85a6f07-1
luci-mod-network - git-20.048.32085-85a6f07-1
luci-mod-status - git-20.048.32085-85a6f07-1
luci-mod-system - git-20.048.32085-85a6f07-1
luci-proto-3g - git-20.048.32085-85a6f07-1
luci-proto-ipv6 - git-20.048.32085-85a6f07-1
luci-proto-ncm - git-20.048.32085-85a6f07-1
luci-proto-ppp - git-20.048.32085-85a6f07-1
luci-proto-qmi - git-20.048.32085-85a6f07-1
luci-theme-bootstrap - git-20.048.32085-85a6f07-1
miniupnpd - 2.1.20190408-2
mtd - 24
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2019-12-16-e53fec89-3
openssl-util - 1.1.1d-2
openvpn-mbedtls - 2.4.7-2
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-01-25-c09fe209-1
ppp - 2.4.7.git-2019-05-25-2
ppp-mod-pppoe - 2.4.7.git-2019-05-25-2
procd - 2020-01-24-31e4b2df-1
rpcd - 2019-11-10-77ad0de0-1
rpcd-mod-file - 2019-11-10-77ad0de0-1
rpcd-mod-iwinfo - 2019-11-10-77ad0de0-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
swconfig - 12
terminfo - 6.1-5
uboot-envtools - 2018.03-3
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclibcxx - 0.2.5-3
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2019-12-22-5f9ae573-1
uqmi - 2019-06-27-1965c713-7
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usbutils - 007-10
usign - 2019-08-06-5a52b379-1
wireless-regdb - 2019.06.03
wpad - 2019-08-08-ca8c2bd2-2
wwan - 2014-07-17-1
zlib - 1.2.11-3

I have 2 UMTS Sticks for testing

  1. ZTE WCDMA Technologies MSM K3565-Z HSDPA
  2. Huawei Technologies Co., Ltd. E353/E3131
root@OpenWrt:~# lsusb
Bus 001 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 19d2:0063 ZTE WCDMA Technologies MSM K3565-Z HSDPA
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@OpenWrt:~# dmesg | grep usb
[    5.163855] usbcore: registered new interface driver usbfs
[    5.169510] usbcore: registered new interface driver hub
[    5.175009] usbcore: registered new device driver usb
[    6.091565] usb 2-1: new high-speed USB device number 2 using ehci-platform
[   12.616041] usbcore: registered new interface driver cdc_acm
[   12.653423] usbcore: registered new interface driver cdc_wdm
[   12.889818] usbcore: registered new interface driver usbserial
[   12.895857] usbcore: registered new interface driver usbserial_generic
[   12.902580] usbserial: USB Serial support registered for generic
[   13.013554] usbcore: registered new interface driver cdc_ncm
[   13.199967] usbcore: registered new interface driver ftdi_sio
[   13.205919] usbserial: USB Serial support registered for FTDI USB Serial Device
[   13.242995] usbcore: registered new interface driver huawei_cdc_ncm
[   13.403359] usbcore: registered new interface driver qmi_wwan
[   18.685507] usbcore: registered new interface driver option
[   18.691223] usbserial: USB Serial support registered for GSM modem (1-port)
[   28.105697] usb 2-1: USB disconnect, device number 2
[   33.771557] usb 2-1: new high-speed USB device number 3 using ehci-platform
[   34.012066] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[   34.026199] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[   34.040310] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[   34.054433] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
[   34.384480] qmi_wwan 2-1:1.4 wwan0: register 'qmi_wwan' at usb-ehci-platform.1-1, WWAN/QMI device, f6:4a:48:c6:ee:ec
[ 1226.981460] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1227.680776] usb 1-1: USB disconnect, device number 2
[ 1230.981463] usb 1-1: new high-speed USB device number 3 using ehci-platform

Question and problem
A) the Huawei USB device is not attached to any ttyUSBx why ?
I read in other threads that i musst use usb-modeswitch and i finde the config file in /etc/usb-mode.json but i don´t know exactly what i must write in it to get the device working

B) gcom -d /dev/ttyUSB1 and gcom -d /dev/ttyUSB3 is allsow working.... why ?

root@OpenWrt:~# gcom -d /dev/ttyUSB3

Enter PIN number: 1234
Waiting for Registration..(120 sec max).
Registered on Home network: "E-Plus Mobilfunk GmbH",2
Signal Quality: 12,99
root@OpenWrt:~# gcom -d /dev/ttyUSB1
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "E-Plus Mobilfunk GmbH",2
Signal Quality: 12,99
root@OpenWrt:~# 

Does i need for this stick modeswitch to ?

Edit now it works and i dont now exactly why..... i reboot the System with the following settings and it works. I changed nothing more but the settings in /etc/config/network

config interface 'wan'
        option ifname 'eth0.2'
        option delegate '0'
        option proto '3g'
        option username 'eplus'
        option pincode '1234'
        option apn 'internet.eplus.de'
        option ipv6 'auto'
        option service 'umts'
        option password 'eplus'
        option pppd_options 'noipdefault refuse-chap refuse-mschap refuse-mschap-v2 refuse-eap'
        option device '/dev/ttyUSB3'
        

Is there a way to see in the interface signal strength because for now i have some lags when i ping exampley google.de

64 bytes from 172.217.21.227: seq=230 ttl=50 time=421.605 ms
64 bytes from 172.217.21.227: seq=231 ttl=50 time=191.508 ms
64 bytes from 172.217.21.227: seq=232 ttl=50 time=1220.223 ms
64 bytes from 172.217.21.227: seq=233 ttl=50 time=3688.543 ms
64 bytes from 172.217.21.227: seq=234 ttl=50 time=2978.488 ms
64 bytes from 172.217.21.227: seq=235 ttl=50 time=2238.333 ms
64 bytes from 172.217.21.227: seq=236 ttl=50 time=1870.503 ms
64 bytes from 172.217.21.227: seq=237 ttl=50 time=874.019 ms
64 bytes from 172.217.21.227: seq=238 ttl=50 time=137.288 ms
64 bytes from 172.217.21.227: seq=239 ttl=50 time=108.874 ms
64 bytes from 172.217.21.227: seq=240 ttl=50 time=105.919 ms
64 bytes from 172.217.21.227: seq=241 ttl=50 time=105.361 ms
64 bytes from 172.217.21.227: seq=242 ttl=50 time=104.898 ms
64 bytes from 172.217.21.227: seq=243 ttl=50 time=104.206 ms
64 bytes from 172.217.21.227: seq=244 ttl=50 time=93.613 ms
64 bytes from 172.217.21.227: seq=245 ttl=50 time=102.947 ms
64 bytes from 172.217.21.227: seq=246 ttl=50 time=102.265 ms
64 bytes from 172.217.21.227: seq=247 ttl=50 time=171.812 ms
64 bytes from 172.217.21.227: seq=248 ttl=50 time=171.011 ms
64 bytes from 172.217.21.227: seq=249 ttl=50 time=170.347 ms
64 bytes from 172.217.21.227: seq=250 ttl=50 time=169.679 ms
64 bytes from 172.217.21.227: seq=251 ttl=50 time=209.247 ms
64 bytes from 172.217.21.227: seq=252 ttl=50 time=168.251 ms
64 bytes from 172.217.21.227: seq=253 ttl=50 time=6136.479 ms
64 bytes from 172.217.21.227: seq=254 ttl=50 time=5164.571 ms
64 bytes from 172.217.21.227: seq=255 ttl=50 time=4284.320 ms
64 bytes from 172.217.21.227: seq=256 ttl=50 time=3364.097 ms
64 bytes from 172.217.21.227: seq=257 ttl=50 time=2403.908 ms
64 bytes from 172.217.21.227: seq=258 ttl=50 time=1523.655 ms
64 bytes from 172.217.21.227: seq=259 ttl=50 time=984.155 ms
64 bytes from 172.217.21.227: seq=260 ttl=50 time=882.529 ms
64 bytes from 172.217.21.227: seq=261 ttl=50 time=1043.189 ms
64 bytes from 172.217.21.227: seq=262 ttl=50 time=181.711 ms
64 bytes from 172.217.21.227: seq=263 ttl=50 time=101.490 ms
64 bytes from 172.217.21.227: seq=264 ttl=50 time=100.592 ms
64 bytes from 172.217.21.227: seq=265 ttl=50 time=759.776 ms
64 bytes from 172.217.21.227: seq=266 ttl=50 time=99.043 ms
64 bytes from 172.217.21.227: seq=267 ttl=50 time=1380.838 ms
64 bytes from 172.217.21.227: seq=268 ttl=50 time=380.731 ms
64 bytes from 172.217.21.227: seq=269 ttl=50 time=157.121 ms
64 bytes from 172.217.21.227: seq=270 ttl=50 time=196.596 ms
64 bytes from 172.217.21.227: seq=271 ttl=50 time=216.199 ms
64 bytes from 172.217.21.227: seq=272 ttl=50 time=2274.461 ms
64 bytes from 172.217.21.227: seq=273 ttl=50 time=2073.983 ms
64 bytes from 172.217.21.227: seq=274 ttl=50 time=1194.157 ms
64 bytes from 172.217.21.227: seq=275 ttl=50 time=313.281 ms
64 bytes from 172.217.21.227: seq=276 ttl=50 time=192.951 ms
64 bytes from 172.217.21.227: seq=277 ttl=50 time=192.091 ms
64 bytes from 172.217.21.227: seq=278 ttl=50 time=191.590 ms
64 bytes from 172.217.21.227: seq=279 ttl=50 time=190.969 ms
64 bytes from 172.217.21.227: seq=280 ttl=50 time=190.230 ms
64 bytes from 172.217.21.227: seq=281 ttl=50 time=252.170 ms
64 bytes from 172.217.21.227: seq=282 ttl=50 time=508.850 ms
64 bytes from 172.217.21.227: seq=283 ttl=50 time=188.663 ms
64 bytes from 172.217.21.227: seq=284 ttl=50 time=187.793 ms
64 bytes from 172.217.21.227: seq=285 ttl=50 time=187.182 ms
64 bytes from 172.217.21.227: seq=286 ttl=50 time=186.583 ms
64 bytes from 172.217.21.227: seq=287 ttl=50 time=185.974 ms
64 bytes from 172.217.21.227: seq=288 ttl=50 time=185.373 ms
64 bytes from 172.217.21.227: seq=289 ttl=50 time=184.775 ms
64 bytes from 172.217.21.227: seq=290 ttl=50 time=424.055 ms
64 bytes from 172.217.21.227: seq=291 ttl=50 time=223.807 ms
64 bytes from 172.217.21.227: seq=292 ttl=50 time=2423.830 ms
64 bytes from 172.217.21.227: seq=293 ttl=50 time=4660.603 ms
64 bytes from 172.217.21.227: seq=294 ttl=50 time=5021.846 ms
64 bytes from 172.217.21.227: seq=295 ttl=50 time=4099.605 ms
64 bytes from 172.217.21.227: seq=296 ttl=50 time=4018.930 ms
64 bytes from 172.217.21.227: seq=297 ttl=50 time=3378.632 ms
64 bytes from 172.217.21.227: seq=298 ttl=50 time=2498.382 ms
64 bytes from 172.217.21.227: seq=299 ttl=50 time=1578.832 ms
64 bytes from 172.217.21.227: seq=300 ttl=50 time=938.345 ms
64 bytes from 172.217.21.227: seq=301 ttl=50 time=1337.220 ms
64 bytes from 172.217.21.227: seq=302 ttl=50 time=776.764 ms
64 bytes from 172.217.21.227: seq=303 ttl=50 time=2095.795 ms
64 bytes from 172.217.21.227: seq=304 ttl=50 time=1136.191 ms
64 bytes from 172.217.21.227: seq=305 ttl=50 time=2534.483 ms
64 bytes from 172.217.21.227: seq=306 ttl=50 time=4093.217 ms
64 bytes from 172.217.21.227: seq=307 ttl=50 time=4992.935 ms

I am glad you got it up and running!

Most likely yes. I don't remember the procedure I followed exactly. Maybe @bmork can help us here?

You can see it as Signal Quality in the gcom command or comgt -d /dev/ttyUSB3 sig for one line. Mine is at 21,99 and connects with LTE.

Most likely it is some kind of alias. Mine is also working for both 0 and 1.

1 Like

21,99 is what ? Is there i list which explane the numbers ? I read in documentation "1 is the lowest detectable signal and 31 a very good signal"

i have 13,99 it is only a UMTS stick, but what means this egde oder 3G ?

Thanks at all for helping me, some times it is enought to discuss about problems to finde a solution