Mofi 4500 command for signal information

Questions and Support related to Antennas & Cables
Forum rules
Use the SEARCH function for related issues PRIOR to posting for assistance.
Post Reply
farberm
Posts: 38
Joined: Wed Mar 14, 2018 6:32 am
Has thanked: 0
Been thanked: 1 time

Mofi 4500 command for signal information

Post 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”
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

Re: Mofi 4500 command for signal information

Post 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?
farberm
Posts: 38
Joined: Wed Mar 14, 2018 6:32 am
Has thanked: 0
Been thanked: 1 time

Re: Mofi 4500 command for signal information

Post by farberm »

tried that also. Same response "bad address specified?
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

Re: Mofi 4500 command for signal information

Post 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.
farberm
Posts: 38
Joined: Wed Mar 14, 2018 6:32 am
Has thanked: 0
Been thanked: 1 time

Re: Mofi 4500 command for signal information

Post by farberm »

Here is a screenshot
You do not have the required permissions to view the files attached to this post.
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

Re: Mofi 4500 command for signal information

Post by swwifty »

what options are in that dropdown that says "Default" ?

maybe also try removing the exclamation point?
farberm
Posts: 38
Joined: Wed Mar 14, 2018 6:32 am
Has thanked: 0
Been thanked: 1 time

Re: Mofi 4500 command for signal information

Post by farberm »

Default
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3

I tried them all same response?
swwifty
Posts: 565
Joined: Thu Aug 30, 2018 8:21 pm
Location: NE GA Mountains
Has thanked: 1 time
Been thanked: 68 times

Re: Mofi 4500 command for signal information

Post 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?
User avatar
JimHelms
Site Admin
Posts: 1362
Joined: Tue Dec 19, 2017 8:59 pm
Location: DFW Texas
Has thanked: 79 times
Been thanked: 194 times
Contact:

Re: Mofi 4500 command for signal information

Post by JimHelms »

Can you use putty to access the modem?
tiredoldwhisler
Posts: 1
Joined: Mon Jul 15, 2019 7:31 pm
Has thanked: 0
Been thanked: 1 time

Re: Mofi 4500 command for signal information

Post 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
xdavidx
Posts: 303
Joined: Tue May 28, 2019 4:04 pm
Has thanked: 24 times
Been thanked: 14 times

Re: Mofi 4500 command for signal information

Post 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.
tokenluis
Posts: 1
Joined: Tue Aug 20, 2019 2:09 am
Has thanked: 1 time
Been thanked: 0

Re: Mofi 4500 command for signal information

Post 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?
Post Reply

Return to “Questions and Support”