How to send AT commands to modem usb mf190 zte

hi community, my quiestion is how to send AT commands to modem usg 3g mf190 zte from my tplink mr3420?
i try install minicom but is not possible

root@OpenWrt:~# opkg install minicom
Unknown package 'minicom'.
Collected errors:

    • opkg_install_cmd: Cannot install package minicom.*

i try test AT command in 3g.chat but is not possible get response in system log

3g.chat :
"" "AT+CSQ"
"" "AT+COPS?"
"" "AT+COPS=?"
root@OpenWrt:~#

system log

Sat Jul 13 19:12:27 2019 local2.info chat[1685]: -- got it
Sat Jul 13 19:12:27 2019 local2.info chat[1685]: send ( ^M)
Sat Jul 13 19:12:27 2019 local2.info chat[1685]: send (AT+CSQ^M)
Sat Jul 13 19:12:27 2019 local2.info chat[1685]: send (AT+COPS?^M)
Sat Jul 13 19:12:27 2019 local2.info chat[1685]: send (AT+COPS=?^M)
Sat Jul 13 19:12:27 2019 daemon.info pppd[1668]: Serial connection established.
Sat Jul 13 19:12:27 2019 kern.info kernel: [ 33.113847] 3g-wan: renamed from ppp0
Sat Jul 13 19:12:27 2019 daemon.info pppd[1668]: Using interface 3g-wan
Sat Jul 13 19:12:27 2019 daemon.notice pppd[1668]: Connect: 3g-wan <--> /dev/ttyUSB2
Sat Jul 13 19:12:28 2019 daemon.info pppd[1668]: CHAP authentication succeeded

Picocom, same concept as minicom.

i system update again and now install minicom :slight_smile:

root@OpenWrt:~# opkg install minicom
Installing minicom (2.7.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.4/packages/mipsel_24kc/packages/minicom_2.7.1-1_mipsel_24kc.ipk
Configuring minicom.

my solutions is minicom open ttyUSB1

Welcome to minicom 2.7.1

OPTIONS:
Port /dev/ttyUSB1, 23:58:08

Press CTRL-A Z for help on special keys

aatt

OK
AT
OK
AT+COPS?
+COPS: 1,0,"movistar",2

OK

OK
AT+CSQ
+CSQ: 6,99

OK

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.