@heavymetal, I think it would be helpful to the community if you would please include a detailed config setup along with your carrier data (less passwords if any). Did you do anything other than enter config in the 3G menu? What service type options show for you?
I am struggling with ATT (USA) and can not get to “type”: “lte” mode on my device. Stuck at 'wcdma". Executing uqmi -d /dev/cdc-wdm0 --get-signal-info returns:
“type”: “hdr”,
“rssi”: -125,
“ecio”: 5,
“io”: -106,
“type”: “wcdma”,
“rssi”: -80,
“ecio”: 7
Are you using an EC20-A board?
Second, about the config. Now in Internet settings, you can choose 3G tab, then choose country, service provider, ttyUSB3, UMTS and then click submit.
In firmware v2.23-6, the Mifi will use QMI mode, that is to say, the ttyUSB3 is actually not useful. You also can get information using “uqmi -d /dev/cdc-wdm0 –get-signal-info” to get signal information. But there is still no information about how the modem uses 3G or 4G mode to connect.
In early firmwares, the Mifi will use serial mode, that is to say, using ttyUSB3 to communicate. “umqi” actually cannot work. You have to use AT command to get information.
How the modem choose serial or qmi? Openwrt does the work if you use “wwan” as the protocol. We added EC20’s QMI driver and configuration to the firmware so firmware v2.23-6 can choose QMI mode automatically.
Why not let users choose QMI or serial, or adjust the UI depends on the protocol? Two reasons: (1) difficult to change the UI; (2) This even confuse the users more. We are thinking how to make this simper. Actually these things can be fully automatically. But this programming is more difficult.
Why @RangerZ has slower Internet connections and how to correct this? I actually have no idea now.
Hi @alzhao I am testing the new 2.23-6 firmware and I can see that now it is trying to get dual-stack but WAN interface does not come up using this config:
I have also try proto ‘wwan’ too but they get this error:
Thu Oct 27 15:22:17 2016 daemon.notice netifd: Interface ‘wan’ is setting up now
Thu Oct 27 15:22:17 2016 daemon.notice netifd: wan (2934): Waiting for network registration
Thu Oct 27 15:22:17 2016 daemon.notice netifd: wan (2934): Starting network ltedata.apn
Thu Oct 27 15:22:17 2016 daemon.notice netifd: wan (2934): Unable to connect IPv4
Thu Oct 27 15:22:17 2016 daemon.notice netifd: wan (2934): Unable to connect IPv6
Thu Oct 27 15:22:18 2016 daemon.notice netifd: wan (2934): Unable to connect
Thu Oct 27 15:22:18 2016 daemon.notice netifd: wan (2957): Stopping network
Thu Oct 27 15:22:18 2016 daemon.notice netifd: wan (2957): Command failed: Permission denied
Thu Oct 27 15:22:18 2016 daemon.notice netifd: Interface ‘wan’ is now down
@RangerZ what settings are you using for your modem config? I just used the config here How To use LTE modem in QMI mode for WAN connection [Old OpenWrt Wiki] to get the IPv4 connection working. You may also need set the mode for your modem using “uqmi -d /dev/cdc-wdm0 --set-network-modes all” or can force it to LTE using “uqmi -d /dev/cdc-wdm0 --set-network-modes lte”
config interface ‘modem’
option proto ‘qmi’
option country ‘country73’
option sp ‘isp0’
option modes ‘lte’
option dialnum ‘*99#’
option apn ‘broadband’
option username ‘WAP@CINGULAR.COM’
option password ‘CINGULAR1’
option metric ‘40’
option device ‘/dev/cdc-wdm0’
Why are you having the above in the section for ‘wan’, should this not be ‘modem’?
Hi @alzhao, I just tried the above config and now I get this in the log:
Sat Oct 29 11:57:53 2016 daemon.notice netifd: Interface ‘wan’ is setting up now
Sat Oct 29 11:57:54 2016 daemon.notice netifd: wan (1699): No control device specified
Sat Oct 29 11:57:54 2016 daemon.notice netifd: wan (1744): Stopping network
Sat Oct 29 11:57:55 2016 daemon.notice netifd: wan (1744): Command failed: Permission denied
Sat Oct 29 11:57:55 2016 daemon.notice netifd: Interface ‘wan’ is now down
@heavymetal. I am not a script genie, but it appears I would need to substitute my apn value for ltedata.apn. Any idea if I would also need to pass the dial number, user and password I have in my script? If so are you able to help with the correct paramaters?