Page 1 of 1

SSH AT COMMANDS MOFI 4500

Posted: Sun Oct 18, 2020 10:29 am
by samsil
Need help: I have used telnet on my MOFI in the past now its not connecting after firmware upgrade to Firmware4_2_9.

I am able to ssh in on port 22.

Is there a SSH command to allow AT commands?
I searched the internet and found this one but it gives me the following:
root@MOFI4500:~# gsmctl -H
-ash: gsmctl: not found

Re: SSH AT COMMANDS MOFI 4500

Posted: Sat Dec 26, 2020 8:18 am
by BillA
Set up PUTTY as in this link (scroll down to the PUTTY section):
http://ofmodemsandmen.com/winscp.html

Once connected, enter these commands:
You can use several terminal apps:
minicom --help
picocom --help
screen --help

Once connected, enter these commands:

lsusb
OR
dmesg | grep tty
<VID> <PID> are the modem values you need to plug into the "echo" command below.

modprobe option
echo <VID> <PID> /sys/bus/usb-serial/drivers/option1/new_id

For "minicom" help enter:
minicom --help
To exit Ctrl-A, Z, X (or Ctrl-C a couple if times)

minicom -D /dev/ttyUSB2 (or try /dev/ttyUSB1 or /dev/cdc-wdm1)
OR through the setup menu:
minicom -s

Enter AT-commands
If unable to see the output, try enabling "echo" via ATE1 (or try it off ATE0)

If unable to send AT-commands, check out this post:
http://wirelessjoint.com/viewtopic.php?p=7330#p7330

You can find more info on these commands on DanielWood's page.
https://github.com/danielewood/sierra-wireless-modems
https://www.ttl.one/2018/07/sierra-wire ... m74xx.html