I have connected a EC200A-CN Module (mpci) VIA USB with RPi
Wanted to test the internet in Raspberry Pi,
I am getting the Interface as USB0 but no internet;
I am able to access internet via AT commands
I have connected a EC200A-CN Module (mpci) VIA USB with RPi
Wanted to test the internet in Raspberry Pi,
I am getting the Interface as USB0 but no internet;
I am able to access internet via AT commands
It requires “dialing” with AT+QNETDEVCTL
Please avoid using pictures.
at
OK
AT+QNETDEVCTL
ERROR
Getting error for the command
Do you mean I need to enable ppp and stuf??
here are the USB ports in my list:
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 2: Dev 14, If 3, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 14, If 1, Class=CDC Data, Driver=rndis_host, 480M
|__ Port 2: Dev 14, If 6, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 14, If 4, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 14, If 2, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 14, If 0, Class=Wireless, Driver=rndis_host, 480M
|__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
|__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
Is it possible to use the LAN port because PPP via 115200 will be very slow, and since its a CAT4 module, I was expecting some plug and play kind of thing.
Obviously, as you need to use it in a certain way. Please read the command description in the manual or search the forum.
USB Serial driver not matched.
sudo modprobe option
echo 2C7C 6005 FF | sudo tee /sys/bus/usb-serial/drivers/option1/new_id
Then send the AT command via /dev/ttyUSB1
AT+QNETDEVCTL=1,1,1
and now the usb0 is possible to access to the Internet.
Thanks Bean,
It worked like a charm.
Exactly what i was looking for.
Just one last query, is there a way to make
AT+QNETDEVCTL=1,1,1
permanent?
<type>
Integer type. Operation mode.
0 Do not connect to network
1 Connect to network for once
3 Connect to network automatically