GL-MiFi info?!

Hi xiaoxin,

Sorry for the late reply.
Here are my results (maybe Jan-Willem can test this also)?

My /etc/config/network

config interface '3G' option proto '3g' option service 'umts' option apn 'basic.internet.spmb.data' option device '/dev/ttyUSB2'
1.Request International Mobile Equipment Identity
root@domino:~# echo -e "AT+GSN \r\n" > /dev/ttyUSB2 root@domino:~# cat /dev/ttyUSB2 AT+GSN 861075021949474 OK AT+GSN 861075021949474 OK
2. Show SIM‘S ICCID
root@domino:~# echo -e "AT+QCCID \r\n" > /dev/ttyUSB2 root@domino:~# cat /dev/ttyUSB2 AT+QCCID +CME ERROR: 3
3.Check Network Registration
root@domino:~# echo -e "AT+ CREG? \r\n" > /dev/ttyUSB2 root@domino:~# cat /dev/ttyUSB2 ^G^GAT+ CREG? ERROR AT+ ERROR
4.Signal Quality Report
root@domino:~# echo -e "AT+CSQ \r\n" > /dev/ttyUSB2 root@domino:~# cat /dev/ttyUSB2 AT+CSQ +CSQ: 11,99 OK AT+CSQ +CSQ: 12,99 OK
 

 

Made some small changes… Better results (I think)
Request International Mobile Equipment Identity, Check Network Registration and Signal Quality Report are showing okay!

My NEW /etc/config/network
config interface ‘3G’
option proto ‘3g’
option service ‘umts’
option apn ‘basic.internet.spmb.data’
option delegate ‘0’
option peerdns ‘0’
option dns ‘8.8.8.8’
option auto ‘0’
option device ‘/dev/ttyUSB2’
option username ‘’
option password ‘’

1: Request International Mobile Equipment Identity
root@domino:/etc/config# echo -e “AT+GSN \r\n” > /dev/ttyUSB2
root@domino:/etc/config# cat /dev/ttyUSB2
AT+GSN
861075021949474
OK
AT+GSN
861075021949474
OK

2: Show SIM‘S ICCID
root@domino:~# echo -e “AT+QCCID \r\n” > /dev/ttyUSB2
root@domino:~# cat /dev/ttyUSB2
AT+QCCID
+CME ERROR: 3

3: Check Network Registration
root@domino:/etc/config# echo -e “AT+CREG? \r\n” > /dev/ttyUSB2
root@domino:/etc/config# cat /dev/ttyUSB2
AT+CREG?
+CREG: 0,2
OK
AT+CREG?
+CREG: 0,2
OK

4: Signal Quality Report
root@domino:~# echo -e “AT+CSQ \r\n” > /dev/ttyUSB2
root@domino:~# cat /dev/ttyUSB2
AT+CSQ
+CSQ: 11,99
OK
AT+CSQ
+CSQ: 12,99
OK

Yes but AT+QCCID still gives you an error.

For me it gives me it returns positive. But as said still no connection after that.

I will create a new thread on my PPP connection errors now.

 

Hi @Guest

I’m sorry to hear news.From your results,we make sure your UC20 is OK,and it has connected to MiFI.

And I have try your command againt,I find my fault,because the AT command have same format error.I’m very very sorry for that.

When I write double quotation on this.My computer’s input tools is in chinese form,so it make " " become “”.

The correct format is :

echo -e “AT+GNS \r\n” > /dev/ttyUSB2

echo -e “AT+QCCID \r\n” > /dev/ttyUSB2

echo -e “AT+CREG? \r\n” > /dev/ttyUSB2

echo -e “AT+CSQ \r\n” > /dev/ttyUSB2

We have witer a instruction in english,alzhao will upload later.

 

Hi @Guset @Jan-Willem

OK!!!when I submit my relay,I find same fault,I don’t know this is why.

When is before submit,I have try AT command,it is ok,but when I after submitm,it become.

So don’t direct copy them from my sentence,please iuput them by youself.

@Guest

Let us go back to your problem.

When you Request SIM’S ICCID,you get +CMD ERROR:3,from Quectel_UC20_AT_Commands_Manual_V1.5.pdf,the error 3 is Operation not allowed,I don’t this is why.If you can make sure you iuput command is right,I think the SIM-crad is not connect to MiFi,this is only suspect.From you next command result,I can confirm something.

When you Check Network Registration,you get +CREG:0,2,the number 2 is not we want,we want number is 1,from Quectel_UC20_AT_

Commands_Manual_V1.5.pdf,the number 2 mean Not registered, but ME is currently searching a new operator to register to.

So I think your SIM-card have problem connect to MiFi.

 

Hi xiaoxin,

Thank you for taking the time to help us.
I will try to clean the SIM slot with some alcohol, and re-run the tests later.
If still no success I will order a new MiFi, (without the UC20) and test again.

Will report back later. Need to go to a party 1st :frowning:

PS: As seen in my previous posts I did already correct the commands.

I think that the forum software in converting the "

This is looking better I think!
I did the test on USB3 and USB2
Still not able to make a working connection over 3g/umts!
Part of the logread at the end of this post.

/etc/config/network

config interface '3g' option proto '3g' option service 'umts' option apn 'basic.internet.spmb.data' option device '/dev/ttyUSB3'
1: Request International Mobile Equipment Identity
root@domino:/etc/config# echo -e "AT+GNS \r\n" > /dev/ttyUSB3 root@domino:/etc/config# cat /dev/ttyUSB3 AT+GNS ERROR ATI Quectel UC20 Revision: UC20EQAR03A08E1G

OK
AT&F
OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G


2: Show SIM‘S ICCID

root@domino:/etc/config# echo -e "AT+QCCID \r\n" > /dev/ttyUSB3 root@domino:/etc/config# cat /dev/ttyUSB3 AT+QCCID +CME ERROR: 3 ATI Quectel UC20 Revision: UC20EQAR03A08E1G

OK
AT&F
OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK


3: Check Network Registration

root@domino:/etc/config# echo -e "AT+CREG? \r\n" > /dev/ttyUSB3 root@domino:/etc/config# cat /dev/ttyUSB3 AT+CREG? +CREG: 0,2

OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK


4: Signal Quality Report

root@domino:/etc/config# echo -e "AT+CSQ \r\n" > /dev/ttyUSB3 root@domino:/etc/config# cat /dev/ttyUSB3 AT&F OK ATI Quectel UC20 Revision: UC20EQAR03A08E1G

OK
AT&F
OK


/etc/config/network

config interface '3g' option proto '3g' option service 'umts' option apn 'basic.internet.spmb.data' option device '/dev/ttyUSB2'
1: Request International Mobile Equipment Identity
root@domino:/etc/config# echo -e "AT+GNS \r\n" > /dev/ttyUSB2 root@domino:/etc/config# cat /dev/ttyUSB2 AT+GNS ERROR ATI Quectel UC20 Revision: UC20EQAR03A08E1G

OK
AT&F
OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK


2: Show SIM‘S ICCID

root@domino:/etc/config# echo -e "AT+QCCID \r\n" > /dev/ttyUSB2 root@domino:/etc/config# cat /dev/ttyUSB2 AT&F OK ATI Quectel UC20 Revision: UC20EQAR03A08E1G

OK
AT&F
OK


3: Check Network Registration

root@domino:/etc/config# echo -e "AT+CREG? \r\n" > /dev/ttyUSB2 root@domino:/etc/config# cat /dev/ttyUSB2 AT+CREG? +CREG: 0,2

OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK


4: Signal Quality Report

root@domino:/etc/config# echo -e "AT+CSQ \r\n" > /dev/ttyUSB2 root@domino:/etc/config# cat /dev/ttyUSB2 AT+CSQ +CSQ: 10,99

OK
AT&F
OK
ATI
Quectel
UC20
Revision: UC20EQAR03A08E1G

OK
AT&F
OK


Here is part of the logread

Mon Jan 25 00:14:54 2016 daemon.notice netifd: Interface '3g' is setting up now Mon Jan 25 00:14:56 2016 daemon.notice pppd[13835]: pppd 2.4.7 started by root, uid 0 Mon Jan 25 00:14:57 2016 local2.info chat[13837]: abort on (BUSY) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: abort on (NO CARRIER) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: abort on (ERROR) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: report (CONNECT) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: timeout set to 10 seconds Mon Jan 25 00:14:57 2016 local2.info chat[13837]: send (AT&F^M) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: expect (OK) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: AT&F^M^M Mon Jan 25 00:14:57 2016 local2.info chat[13837]: OK Mon Jan 25 00:14:57 2016 local2.info chat[13837]: -- got it Mon Jan 25 00:14:57 2016 local2.info chat[13837]: send (ATE1^M) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: expect (OK) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: ^M Mon Jan 25 00:14:57 2016 local2.info chat[13837]: ATE1^M^M Mon Jan 25 00:14:57 2016 local2.info chat[13837]: OK Mon Jan 25 00:14:57 2016 local2.info chat[13837]: -- got it Mon Jan 25 00:14:57 2016 local2.info chat[13837]: send (AT+CGDCONT=1,"IP","basic.internet.spmb.data"^M) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: timeout set to 30 seconds Mon Jan 25 00:14:57 2016 local2.info chat[13837]: expect (OK) Mon Jan 25 00:14:57 2016 local2.info chat[13837]: ^M Mon Jan 25 00:14:57 2016 local2.info chat[13837]: AT+CGDCONT=1,"IP","basic.internet.spmb.data"^M^M Mon Jan 25 00:14:57 2016 local2.info chat[13837]: ERROR Mon Jan 25 00:14:57 2016 local2.info chat[13837]: -- failed Mon Jan 25 00:14:57 2016 local2.info chat[13837]: Failed (ERROR) Mon Jan 25 00:14:57 2016 daemon.debug pppd[13835]: Script USE_APN=basic.internet.spmb.data DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat finished (pid 13836), status = 0x6 Mon Jan 25 00:14:57 2016 daemon.err pppd[13835]: Connect script failed Mon Jan 25 00:14:58 2016 daemon.info pppd[13835]: Exit. Mon Jan 25 00:14:58 2016 daemon.notice netifd: Interface '3g' is now down

@Guest

I have seen your replay,I find some problems.

I’m sorry for I am not express what I mean clearly.

For UC20,you must use /dev/ttyUSB2 to transmit data,and use /dev/ttyUSB3 to send AT command.

You can’t use the same drivers device file to transmit data and send AT command.

If you have any further questions,please let me know.

I am in China,so I can’t help you to test you SIM-card and telecom operators.I sorry for this.

 

Sorry Xiaoxin, I do not really understand your answer.

Does the data shown above for /dev/ttyUSB2 not look okay?

@guest, I think it is like this: you have to choose ttyUSB2 to send AT commands and use ttyUSB3 for data. Or you can do it reversely, i.e. use ttyUSB3 to send command and use ttyUSB2 for data. But don’t combine it. In your code, you are using both ttyUSB2 and ttyUSB3 to send AT command.

I am not sure if this is the reason, but pls try.

Sorry for the silence. I’m a bit busy at the moment and have no time to research this. Will pick it up later.

We have multiple issues going on here it seems.

  1. First off your your QCCID command gives an error but in my case it reports success. I will post my output later when I have a chance to look at it.

  2. Once you get beyond that stage you will run into PPP issues like I have. Upon studying the Quectel Linux USB Driver Guide in the downloads section a bit further it would see Quectel says it has specific dial scripts and PPP negotiation scripts like “quectel-chat-connect” and more that I cannot find anywhere on the internet nor in the downloads. This is from the manual:

Three scripts named as "quectel-ppp", "quectel-chat-connect" and "quectel-chat-disconnect". They are provided by Quectel in directory "linux-ppp-scripts". Depending on your product, you may need to make some changes. More information please refer to "linux-ppp-scripts\readme". You should copy "quectel-ppp", "quectel-chat-connect" and "quectel-chat-disconnect" to the directory "/etc/ppp/peers". Then you can start to set up PPP call by below command: pppd call quectel-ppp The process of dialing is shown as below (example of UC20): root@joe-OptiPlex-790:~# pppd call quectel-ppp pppd options in effect: debug # (from /etc/ppp/peers/quectel-ppp) …… user test # (from /etc/ppp/peers/quectel-ppp) password ?????? # (from /etc/ppp/peers/quectel-ppp) remotename 3gppp # (from /etc/ppp/peers/quectel-ppp) /dev/ttyUSB3 # (from /etc/ppp/peers/quectel-ppp) 115200 # (from /etc/ppp/peers/quectel-ppp) lock # (from /etc/ppp/peers/quectel-ppp) connect /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect # (from /etc/ppp/peers/quectel-ppp) disconnect /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect # (from Quectel Confidenti
3) This whole PPP route seems much too cumbersome for me and I have had much more success in the past using a manufacturer's higher level driver and connection manager (NCM for Huawei) and in this case QMI for Qualcomm.

As soon as I have time I am going to dive into this. It is explained in “5.4. Test GobiNet or QMI WWAN With Connect Manager” section of the same manual.

 

 

I’m still not having any luck.
Will try another sim later this week and report back.

Hi All,

I am finishing the Start Guide and testing the driver/firmware now. I hope to send it to you once I finish it. Hopefully in one or two weeks because of the Chinese New Year delay.

could i also get a copy of the start guide , just bought myself a mifi board

 

thanks

Mifi instructions are downloadable now. http://www.gl-inet.com/download/mifi/

@Guest, I just tested mine SIM card today. I have the same problem: every settings are correct but cannot connect. By unplug the power and power it again, it works.

Also you can try “comgt” to check the output.

Thank you for the MiFi instructions!

I’m going to give it a go again…

Hmmmm I’m afraind that I broke the MiFi!

I updated as there was an update available, and rebooted. When done it could not find the modem, so I rebooted again!
Now I have 2 green light (power and ??) and 1 red light! (see attached image).

I also see no WiFi signal from the MiFi, and when using a network cable I get no IP.
When setting IP manually (192.168.1.10) I’m also not able to access the MiFi on 192.168.1.1

Is there a way to reset the MiFi? (I’ve tried the reset button with no luck)

Oops, you should not update. But it is our fault

this is based on Domino so it finds the domino firmware for update. So all drivers are gone. We will send you a firmware so that you can re flash it back.