Alpha
April 16, 2022, 3:37am
1
Hi I would like to ask what other Quectel modems are compatible with GL-AP1300-LTE(Cirrus) I want to try a Cat 12 or better. Would it work with a Quectel RM500Q-GL with the correct adapter?
Iām also interested to know if RM500 could work with any GL router?
Alpha
April 18, 2022, 1:39am
3
Well no one has had any answers, I did try an em160r-gl and it did not work, so an rm500q-gl will not either.
Hoping someone can confirm if a em12 would work?
1 Like
alzhao
April 18, 2022, 3:32am
4
It need software driver for the modem. Seems that the driver is not installed.
alzhao
April 19, 2022, 2:24am
6
Basically Quectel provide the software driver. Then need to compare the code to what openwrt provided. If not there, need to add. So it is not easy.
But one thing you can try is to use openwrt snapshot firmware OpenWrt Firmware Selector
Hopefully all the software drivers has been there. Just need to configure using luci.
1 Like
Alpha
April 21, 2022, 11:03pm
7
If I flash that firmware, will the GL.iNET firmware GUI be erased?
alzhao
April 22, 2022, 8:37am
8
Yes you are right. It is OpenWrt vanilla firmware. No our UI.
Alpha
April 22, 2022, 9:40pm
9
Do you know when will there be a GL.iNET based on OpenWRT version 21.x.x for the GL-AP1300 Cirrus?
It would be good to have a known list of modems that work.
alzhao
April 25, 2022, 2:57am
10
Yes, we are working on this. Because we are going to firmware 4.x, this could be a little slow because too many software pacakges to port.
1 Like
Alpha
April 25, 2022, 11:19pm
11
Thank you, I will be waiting patiently for firmware 4.x for my GL-AP1300 LTE (Cirrus)
I was able to run my 160 in qmi Gl-E750 , need to edit the file qmi.sh
opened 02:38PM - 02 Jan 18 UTC
flyspray
*johnfzc:*
I'm attempting to use QMI on a GL.Inet MiFi equipped with a Quectel ⦠EC-25A cellular modem.
When I configure the interface using qmi I am able to connect to the cellular network at the radio layer, however my wwan0 interface is not assigned an IP address. Here's my configuration from /etc/config/network:
config interface 'modem'
option proto 'qmi'
option ifname 'wwan0'
option device '/dev/cdc-wdm0'
option country 'country11'
option apn 'inet.bell.ca'
And some commands showing the device behaviour. You'll note that raw_ip needs to be set to Y. I've integrated this [patch](https://github.com/bmork/LEDE/commit/10aed12fa587e818e4dc5d0db54545623fbe9b5f) to have qmi.sh set the raw_ip mode when required.
root@OpenWrt:~# cat /sys/class/net/wwan0/qmi/raw_ip
Y
root@OpenWrt:~# ifup modem
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-data-status
"connected"
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
{
"pdp-type": "ipv4",
"ip-family": "ipv4",
"mtu": 1500,
"ipv4": {
"ip": "100.105.180.51",
"dns1": "206.47.201.246",
"dns2": "207.231.231.254",
"gateway": "100.105.180.52",
"subnet": "255.255.255.248"
},
"ipv6": {
},
"domain-names": {
}
}
root@OpenWrt:~# ifconfig wwan0
wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5129 (5.0 KiB) TX bytes:768 (768.0 B)
If I manually use the uqmi command to connect to the cellular network I can then drive the wwan0 interface using dhcp successfully. Here's my /etc/config/network.
config interface 'modem'
option proto 'dhcp'
option ifname 'wwan0'
And the resulting successful network connection:
root@OpenWrt:~# ifup modem
root@OpenWrt:~# ifconfig wwan0
wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:100.105.180.51 P-t-P:100.105.180.51 Mask:255.255.255.248
inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24102 (23.5 KiB) TX bytes:16842 (16.4 KiB)
root@OpenWrt:~# ping -c 1 google.ca
PING google.ca (172.217.1.163): 56 data bytes
64 bytes from 172.217.1.163: seq=0 ttl=51 time=29.792 ms
--- google.ca ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 29.792/29.792/29.792 ms
I believe that for some reason the dhcp client isn't being run on the wwan0 interface by qmi.sh once it's online but I'm not able to determine how this is supposed to work. I'm eager to address this issue and submit the resulting patches. Please let me know if you can help.
root@OpenWrt:~# ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=54 time=31.805 ms
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 31.805/31.805/31.805 ms