Page 1 of 1

Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 7:02 am
by farberm
How do I send a command on the mofi4500 to view signal data.

I tried !gstatus? In the at command diagnostic sections and it returns ‘bad address”

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 7:41 am
by swwifty
farberm wrote: Sun Mar 03, 2019 7:02 am How do I send a command on the mofi4500 to view signal data.

I tried !gstatus? In the at command diagnostic sections and it returns ‘bad address”
try at!gstatus?

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 8:07 am
by farberm
tried that also. Same response "bad address specified?

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 2:58 pm
by swwifty
farberm wrote: Sun Mar 03, 2019 8:07 am tried that also. Same response "bad address specified?
hmm, can you provide a screenshot of where you are trying to enter this? I'm not super familiar with the Mofi 4500 firmware.

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 3:14 pm
by farberm
Here is a screenshot

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 7:14 pm
by swwifty
what options are in that dropdown that says "Default" ?

maybe also try removing the exclamation point?

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 7:46 pm
by farberm
Default
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3

I tried them all same response?

Re: Mofi 4500 command for signal information

Posted: Sun Mar 03, 2019 8:21 pm
by swwifty
farberm wrote: Sun Mar 03, 2019 7:46 pm Default
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3

I tried them all same response?
hmm, that's odd, the modem should be on one of those ttys.

did you try and remove the exclamation point?

Re: Mofi 4500 command for signal information

Posted: Mon Mar 04, 2019 7:46 am
by JimHelms
Can you use putty to access the modem?

Re: Mofi 4500 command for signal information

Posted: Mon Jul 15, 2019 8:34 pm
by tiredoldwhisler
i've just begun my journey trying to figure out what my signal problems are, and what to do about them.

i happen to have a mofi 4500, and am using this method to execute the "hayes" commands to the modem. i believe you can get the router's webpage to specifically tell you how the modem is connected, but in truth i simply poked around until i got something.

i apologize for the messy nature of my post - i've never used a forum (if that's what this is) before; not familiar with best practices for appearances. don't know how to specify monospaced computery looking font for example.

1) login using the ssh interface rather that trying to understand the gui, or getting the diagnostics page to work. ie: putty from a pc in your network to mofi's address, default seems to be 192.168.10.1 - obviously any ssh client on any platform is fine. pc-o-centric not necessary.

2) execute this command at the shell prompt -> ls /dev/tty*

Code: Select all

root@MOFI4500:~# ls /dev/tty*
/dev/tty      /dev/ttyS0    /dev/ttyS1    /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
... in order to list the devices. i figured my modem was likely connected to one of the usb ports, or possibly the hardwired serial ports.

3) use some installed software to connect to serial ports. the only installed program i spotted (not a linux guru) was "screen"

4) use screen to connect to each serial device until you get one that understands you

5) for example, i did this

Code: Select all

root@MOFI:~# screen /dev/ttyUSB2 9600
and then issued the AT command to the modem. when i got an "OK" response i knew i found the right port.
btw, ttyUSB2 wasn't the 1st one i tried! the others just did nothing. amazingly doing this didn't seem to interrupt the internet connection.

Code: Select all

at
OK
at!gstatus?
!GSTATUS:
Current Time:  483762           Temperature: 45
Reset Counter: 2                Mode:        ONLINE
System mode:   LTE              PS state:    Attached
LTE band:      B12              LTE bw:      5 MHz
LTE Rx chan:   5035             LTE Tx chan: 23035
LTE CA state:  ACTIVE                   LTE Scell band:B2
LTE Scell bw:15 MHz             LTE Scell chan:1125
EMM state:     Registered       Normal Service
RRC state:     RRC Connected
IMS reg state: No Srv

PCC RxM RSSI:  -82              RSRP (dBm):  -110
PCC RxD RSSI:  -80              RSRP (dBm):  -107
SCC RxM RSSI:  -94              RSRP (dBm):  -129
SCC RxD RSSI:  -94              RSRP (dBm):  -128
Tx Power:      23               TAC:         A6FF (42751)
RSRQ (dB):     -12.9            Cell ID:     006F9F15 (7315221)
SINR (dB):      6.8

-jfg

Re: Mofi 4500 command for signal information

Posted: Mon Jul 15, 2019 9:59 pm
by xdavidx
@tiredoldwhistler: Nice first post! Congrats! :D

Feel free to post another topic if you are having issues and I'm sure others will be happy to provide feedback. You mentioned signal issues.

Re: Mofi 4500 command for signal information

Posted: Tue Aug 20, 2019 2:15 am
by tokenluis
@tiredoldwhistler: Yess, finally a place to start in the command-line.

I couldn't find many resources to assist me on how to configure the MoFi via the shell. I want to write a script I could execute from PuTTY so I don't have to use the GUI for an initial config after factory reset; how feasible is this?