NEX6QGO AT commands via terminal/ssh
Posted: Thu Feb 03, 2022 3:16 pm
On my GL-iNet MiFi, I'm able to SSH in to the router and enter something like this:
And it will return the information I requested (in this case, the set band). Note that the above is copy/pasted from android code and I actually lost the *exact* stuff I used to be able to send in terminal via ssh. But I do know that it a) worked, and b) didn't hang anything - as in after it replied, I could enter another command.
I moved my EC25-AF modem from the MiFi to the new NEX6QGO and ssh'd in the same as before. But I can't get my AT commands to execute, and I cannot enter another command - like it's still waiting for me to complete entering the command... no cursor returned to be able to type more. So my syntax is incorrect or it's expecting something else at the end (maybe a line break) to signify the end of the command?
IN SHORT
Can anyone tell me exactly what they enter in to terminal while SSH'd in to this router to get back some basic data?
AT+CSQ would probably be a good one as it doesn't involve escaping quotation marks and stuff, very vanilla.
Once I can figure out how to make it happy and give me data back while ssh'd, I can work on some other crap (sending AT commands over NEX serial pins, parsing response)
Thanks!
Code: Select all
echo -e \"AT+QCFG=\\\"band\\\"\r\n\" > /dev/ttyUSB2 | cat /dev/ttyUSB2
I moved my EC25-AF modem from the MiFi to the new NEX6QGO and ssh'd in the same as before. But I can't get my AT commands to execute, and I cannot enter another command - like it's still waiting for me to complete entering the command... no cursor returned to be able to type more. So my syntax is incorrect or it's expecting something else at the end (maybe a line break) to signify the end of the command?
IN SHORT
Can anyone tell me exactly what they enter in to terminal while SSH'd in to this router to get back some basic data?
AT+CSQ would probably be a good one as it doesn't involve escaping quotation marks and stuff, very vanilla.
Once I can figure out how to make it happy and give me data back while ssh'd, I can work on some other crap (sending AT commands over NEX serial pins, parsing response)
Thanks!