Back to Quectel.com

EC200S Linux Help

Hey I am looking for the Linux User Guide, how to handle the EC200S.

I added the kernel support so lsusb show the correct device.
Bus 002 Device 004: ID 2c7c:6002 Quectel Wireless Solutions Co., Ltd.

I can bring it to CDC Ethernet mode via this AT Command: AT+QCFG=“usbnet”,1

[ 1698.836297] usb 2-1.2: new high-speed USB device number 4 using ehci-platform
[ 1699.009140] cdc_ether 2-1.2:1.0 usb1: register ‘cdc_ether’ at usb-5800d000.usbh-ehci-1.2, CDC Ethernet Device, ae:0c:29:a3:9b:6d
[ 1699.386288] usbcore: registered new interface driver option
[ 1699.390610] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1699.401621] option 2-1.2:1.2: GSM modem (1-port) converter detected
[ 1699.418599] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1699.425892] option 2-1.2:1.3: GSM modem (1-port) converter detected
[ 1699.463305] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB1

Or with this AT Command: AT+QCFG=“usbnet”,3
To a rndis device

[ 6517.031151] usb 2-1.2: USB disconnect, device number 5
[ 6520.906282] usb 2-1.2: new high-speed USB device number 6 using ehci-platform
[ 6521.076251] rndis_host 2-1.2:1.0 usb1: register ‘rndis_host’ at usb-5800d000.usbh-ehci-1.2, RNDIS device, 7a:4c:b8:c5:5f:a0
[ 6521.089584] option 2-1.2:1.2: GSM modem (1-port) converter detected
[ 6521.096048] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 6521.109826] option 2-1.2:1.3: GSM modem (1-port) converter detected
[ 6521.118530] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB1

WIth busybox udhcpc -i usb1 I can setup a IP Address for USB1

6: usb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 8a:fd:f5:0f:2d:fa brd ff:ff:ff:ff:ff:ff
inet 192.168.43.100/24 brd 192.168.43.255 scope global usb1
valid_lft forever preferred_lft forever
inet6 fe80::88fd:f5ff:fe0f:2dfa/64 scope link
valid_lft forever preferred_lft forever

But I can not reach the mobile internet via this device.

If it test the internet connection via an AT Command like

AT+QPING=1,“www.google.de
it works.

Quectel_EC200S_Linux_USB_Driver_User_Guide_V1.0.pdf (785.5 KB)

Hi Sir,

Please follow the guide to add the driver and set up datacall for your Linux.
image

You need set up datacall by using AT cmd “AT+QNETDEVCTL=1,1,1”

btw, the number of serial port is not correct. There should be 3 ttyUSB port.
ttyUSB0 are for upgrading and debuging, ttyUSB1 and ttyUSB2 could be used for sending AT commands.
You can upload the option.c and I can modify it for you.

Hi Bean,

with the correct documentation for the EC200S I setup the option.c file correctly.
Now I get the three ttyUSB devices.

[ 378.068291] cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device
[ 378.612577] usb 2-1.3: USB disconnect, device number 5
[ 382.595144] usb 2-1.3: new high-speed USB device number 6 using ehci-platform
[ 382.757930] cdc_ether 2-1.3:1.0 usb1: register ‘cdc_ether’ at usb-5800d000.usbh-ehci-1.3, CDC Ethernet Device, ae:0c:29:a3:9b:6d
[ 382.770843] option 2-1.3:1.2: GSM modem (1-port) converter detected
[ 382.776875] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 382.784226] option 2-1.3:1.3: GSM modem (1-port) converter detected
[ 382.790217] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 382.797877] option 2-1.3:1.4: GSM modem (1-port) converter detected
[ 382.803450] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB2

But I can not use the modem. I get some error messages.

at+cpin?
+CPIN: READY

OK
at+csq
+CSQ: 21,0

OK
at+qicsgp=1,1,“cmnet”
OK
at+cops?
+COPS: 0,0,“Telekom.de”,3

OK
at+qlact=1
ERROR
at+qnetdevctl=1,1,1
ERROR

I used a different sim card and it worked.
Thanks for your support.