OpenWrt Forum Archive

Topic: How to setup 3G modem?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

OpenWrt Chaos Calmer 15.05.1. USB dongle ZTE MF190. Router Tp-link TL-WR 1043 ND.
The problem is in absence of any of '/dev/ttyUSBX' files.

dmesg | grep usb:

[    4.150000] usbcore: registered new interface driver usbfs
[    4.160000] usbcore: registered new interface driver hub
[    4.160000] usbcore: registered new device driver usb
[    4.560000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   12.520000] usbcore: registered new interface driver usbserial
[   12.530000] usbcore: registered new interface driver usbserial_generic
[   12.530000] usbserial: USB Serial support registered for generic
[   12.800000] usbcore: registered new interface driver option
[   12.800000] usbserial: USB Serial support registered for GSM modem (1-port)

As I understand, the modem is detected by OS and corresponding kernel module was loaded and the modem is in serial mode (not in storage mode). The modules 'comgt kmod-usb-serial kmod-usb-serial-option' was installed.
Also, I tried to install 'usb-modeswitch' but got this: 'opkg_install_cmd: Cannot install package usb-modeswitch'.
Also, I tried to remove module 'usbserial' to reload it, but got this:

rmmod usbserial
unloading the module failed.

(Last edited by user5 on 3 Mar 2018, 17:40)

I haven't managed to connect another USB-modem with Stick firmware to OpenWRT-running router. Try LEDE-built ROOter (http://ofmodemsandmen.com) instead.

(Last edited by ulmwind on 3 Mar 2018, 17:54)

Dialing up is a trivial task for GNU/Linux. Why it should be impossible or extremely difficult  in OpenWRT?

(Last edited by user5 on 3 Mar 2018, 21:50)

It says:

usb_modeswitch -c /etc/usb_modeswitch.d/<file>
where <file> represents the modem's combined vendor/product id, e.g. 19d2:0083 for a ZTE MF190.

But: 'opkg_install_cmd: Cannot install package usb-modeswitch'.

Have you done "opkg update" before "opkg install"?

Yep. I have read that manual first.

ulmwind wrote:

I haven't managed to connect another USB-modem with Stick firmware to OpenWRT-running router. Try LEDE-built ROOter () instead.

Thanx for this link! ROOter 'Golden Orb' works pretty good! It setup 3G connection 'out of box'. Also it allowed me to setup burned out WAN port to LAN port what is VERY GOOD!! Wish they had a big 'DONATE' button with support of cryptocurrency!

(Last edited by user5 on 4 Mar 2018, 12:29)

The discussion might have continued from here.