July 17, 2024, 03:14:56 PM

USB-glink

Started by viel, June 05, 2024, 11:49:13 PM

Previous topic - Next topic

viel

Hi,

After some problems with registration, your forum deleted my user 2 times.



I don't have your response, but can resend mi question, next time I will copy paste the responses too.

I resend mi question:

Hi,

I have a olimex USB-gLINK connected to an openwrt router. Works and connect to internet but the performance is not good, the speed test with iperf3 is realy low.

Olimex USB-glink iperf3 test.

Code:

root@ohm:~# iperf3 -c iperf3.moji.fr -p 5200
Connecting to host iperf3.moji.fr, port 5200
[  5] local 10.2.0.2 port 57620 connected to 45.147.210.189 port 5200
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   768 KBytes  6.29 Mbits/sec   10   64.5 KBytes
[  5]   1.00-2.00   sec   384 KBytes  3.15 Mbits/sec    9   48.7 KBytes
[  5]   2.00-3.00   sec   384 KBytes  3.15 Mbits/sec    4   43.4 KBytes
[  5]   3.00-4.00   sec   384 KBytes  3.15 Mbits/sec    7   35.5 KBytes
[  5]   4.00-5.00   sec   256 KBytes  2.10 Mbits/sec    7   21.1 KBytes
[  5]   5.00-6.00   sec   128 KBytes  1.05 Mbits/sec    4   15.8 KBytes
[  5]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec    6   11.8 KBytes
[  5]   7.00-8.00   sec   256 KBytes  2.10 Mbits/sec    2   9.21 KBytes
[  5]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec    1   9.21 KBytes
[  5]   9.00-10.00  sec   128 KBytes  1.05 Mbits/sec    0   13.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  2.62 MBytes  2.20 Mbits/sec   50     sender
[  5]   0.00-10.16  sec  2.29 MBytes  1.89 Mbits/sec          receiver

iperf Done.

The specs for that olimex USB-glink say that modem is capable of Speed - up to 150Mbps downlink and up to 50Mbps uplink. https://www.olimex.com/Products/IoT/...ource-hardware

When I test the same openwrt with an external router huawei-B310s that have same speed specs LTE FDD DL 150 Mbps, UL 50 Mbps https://www.manualslib.com/manual/13...?page=8#manual I have higher speeds.

External router iperf3 test.

Code:

iperf3 -c iperf3.moji.fr -p 5200                                                                             
Connecting to host iperf3.moji.fr, port 5200
[  5] local 192.168.167.178 port 38890 connected to 45.147.210.189 port 5200
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  1.12 MBytes  9.43 Mbits/sec    0    212 KBytes
[  5]   1.00-2.00   sec  1.75 MBytes  14.7 Mbits/sec    2    192 KBytes
[  5]   2.00-3.00   sec  1.75 MBytes  14.7 Mbits/sec    0    228 KBytes
[  5]   3.00-4.00   sec  1.50 MBytes  12.6 Mbits/sec    0    247 KBytes
[  5]   4.00-5.00   sec  1.50 MBytes  12.6 Mbits/sec    9    191 KBytes
[  5]   5.00-6.00   sec  1.88 MBytes  15.7 Mbits/sec    0    207 KBytes
[  5]   6.00-7.00   sec  1.50 MBytes  12.6 Mbits/sec    8    190 KBytes
[  5]   7.00-8.00   sec  1.25 MBytes  10.5 Mbits/sec    0    166 KBytes
[  5]   8.00-9.00   sec  1.00 MBytes  8.39 Mbits/sec    7   97.4 KBytes
[  5]   9.00-10.00  sec   896 KBytes  7.34 Mbits/sec    8   69.8 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  14.1 MBytes  11.8 Mbits/sec   34             sender
[  5]   0.00-10.14  sec  13.5 MBytes  11.1 Mbits/sec                  receiver

iperf Done.

The first thing I thought would be some configuration related to LTE-TDD and LTE-FDD.

I have checked the olimex USB-glink config but my knowledge is poor and seems all correct.

Code:

root@ohm:~# socat - /dev/ttyUSB2,crnl
AT+QNWINFO
+QNWINFO: "FDD LTE","21404","LTE BAND 3",1675

AT+QCFG="band"
+QCFG: "band",0xbff,0x4,0x0

I upload an image that shows the bandwidth used in openwrt, first part is the Olimex USB-glink then I disconnect it and connect the external router.



With that olimex I am not capable of get more than 1.4 Mbps sustained downloading files.

What more can I try? Thanks in advance.

Viel.

After that you say that it is possible to a signal because antennas

echo -e AT+CSQ | atinout - /dev/ttyUSB2 -

+CSQ: 18,99

Don't know if this is low or high i will try to extend the antenna or try outside. Will update the info.

You talk about kernel drivers, I tested it on openwrt and on mi Slackware laptop and seems kernel find and all ok.

From openwrt

[297639.816346] usb 3-1: new high-speed USB device number 12 using ehci-platform
[297644.588119] usb 3-1: USB disconnect, device number 12
[297661.972285] usb 3-1: new high-speed USB device number 13 using ehci-platform
[297662.121876] option 3-1:1.0: GSM modem (1-port) converter detected
[297662.122652] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[297662.123592] option 3-1:1.1: GSM modem (1-port) converter detected
[297662.124305] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[297662.125269] option 3-1:1.2: GSM modem (1-port) converter detected
[297662.126014] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[297662.126995] option 3-1:1.3: GSM modem (1-port) converter detected
[297662.127720] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
[297662.129097] qmi_wwan 3-1:1.4: cdc-wdm0: USB WDM device
[297662.130297] qmi_wwan 3-1:1.4 wwan0: register 'qmi_wwan' at usb-fc800000.usb-1, WWAN/QMI device, f6:29:6f:xx:xx:xx


From Slackware

Jun  5 22:20:50 arcadia kernel: usb 1-5: new high-speed USB device number 56 using xhci_hcd
Jun  5 22:20:50 arcadia kernel: usb 1-5: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
Jun  5 22:20:50 arcadia kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun  5 22:20:50 arcadia kernel: usb 1-5: Product: LTE Module
Jun  5 22:20:50 arcadia kernel: usb 1-5: Manufacturer: Quectel, Incorporated
Jun  5 22:20:50 arcadia kernel: usb 1-5: SerialNumber: community_fw
Jun  5 22:20:50 arcadia kernel: option 1-5:1.0: GSM modem (1-port) converter detected
Jun  5 22:20:50 arcadia kernel: usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
Jun  5 22:20:50 arcadia kernel: option 1-5:1.1: GSM modem (1-port) converter detected
Jun  5 22:20:50 arcadia kernel: usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
Jun  5 22:20:50 arcadia kernel: option 1-5:1.2: GSM modem (1-port) converter detected
Jun  5 22:20:50 arcadia kernel: usb 1-5: GSM modem (1-port) converter now attached to ttyUSB2
Jun  5 22:20:50 arcadia kernel: option 1-5:1.3: GSM modem (1-port) converter detected
Jun  5 22:20:50 arcadia kernel: usb 1-5: GSM modem (1-port) converter now attached to ttyUSB3
Jun  5 22:20:50 arcadia kernel: qmi_wwan 1-5:1.4: cdc-wdm0: USB WDM device
Jun  5 22:20:50 arcadia kernel: qmi_wwan 1-5:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-5, WWAN/QMI device, ca:bf:23:xx:xx:xx
Jun  5 22:20:50 arcadia mtp-probe: checking bus 1, device 56: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jun  5 22:20:50 arcadia mtp-probe: bus: 1, device: 56 was not an MTP device
Jun  5 22:20:58 arcadia ModemManager[9056]: <info>  [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5] creating modem with plugin 'quectel' and '6' ports
Jun  5 22:20:58 arcadia ModemManager[9056]: <info>  [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5' successfully created
Jun  5 22:21:12 arcadia ModemManager[9056]: <info>  [modem11] state changed (unknown -> locked)
Jun  5 22:21:12 arcadia ModemManager[9056]: <info>  [modem11] state changed (locked -> failed)


Is the signal strength +CSQ: 18,99 correct for you?

Can you resend on the reponse the usb driver pdf plz? Did you look some strange on kernel logs?

Regarding to ask at quectel forum, I will try too.

Thanks in advance.

Viel.

LubOlimex

Hello,

About the registration issues - I deleted your posts and account since the second post had many links and your IP is listed as suspicious. Please refrain from posting many links soon after approval.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

LubOlimex

About the document I believe latest one is called "Quectel_UMTS_LTE_5G_Linux_USB_Driver_User_Guide_V3.1.pdf" but requires registration. You can find previous version online, just search for:

Quectel_UMTS_LTE_5G_Linux_USB_Driver_User_Guide_V3.0.pdf
Technical support and documentation manager at Olimex