Help with ECM mode and usbnet, with EG25-G

Hello,

I spent several days trying to understand how to provide network to my Windows or Linux system, I have been trying both with my EG25-G.
I have been told that if I use the following AT command I will have connection:
AT+QCFG=“usbnet”, 1

I really do not understand the ECM mode.

As you can see in the image, the AT command shows no error, but I still have no connection.
What is the issue? Does it need further configuration, more AT commands? I do not understand, please, help.

If you want using this modem with Windows, switch it to MBIM with AT+QCFG="usbnet",2
Alternatively you can probably try RNDIS with AT+QCFG="usbnet",3

Because that you need the ECM driver for Windows OS.
Please check the Windows Device Manager.

Quectel_Windows_USB_Driver(Q)_ECM_V1.0.17.zip (12.6 MB)

1 Like

On Windows, it is not recommended to try RNDIS for EG25G.
Because the RNDIS driver is not compatible with NDIS/ECM/MBIM.
The usb interface for RNDIS is quite different with the others.

1 Like

Okay, but how can I use in Linux (Raspberry Pi)? I tried the same AT command and it did not work.
I did the following on minicom.

AT+QCFG=“usbnet”, 1

And I still got no connection

I just switched to windows to test because after I sent AT+CPIN? On Raspberry Pi I received the following error: CME error 10

This error did not happen on Qnavigator for windows, it showed the Card was ready.

That was perfect, I just managed to get connection on windows with the driver
This popped up
FUNCIONA CON EL ECM DRIVER

I still need to find out how to provide connection to Raspberry Pi

For Raspberry Pi, please check

lsusb -t

dmesg | grep cdc_ether

1 Like

Ok, I checked what you sent me and the SIM is available:


Now, I think I should install the drivers.
I am following LTE&5G Linux USB Driver User Guide and I see I need to modify some .c files for my version which is 5.1.

image

How can I install them? I should use the makefile?

Or where should I place the drivers folder after I modify the files?
Thanks again

You don’t need to touch drivers. Do you see the interface without a driver?

You already have a new network interface usb0, so use your connection manager app (Network Manager ?) to configure this interface.
You can check the current state of the interface with ifconfig usb0
Please do not post images if you only need to show text.

1 Like