RKsOW
September 6, 2023, 6:53am
1
i want to use the SIM only if needed (no wifi, no hotspot), cause i've a vodafone flex tarif , i only must pay if the sim is activatet and than for a month.
If starting my gl-x750 router the SIM is always activated.
My workaround put the SIM out and only in if needed.
Please copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
cat /etc/config/network
RKsOW
September 6, 2023, 7:41am
3
ncompact:
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd04:eac0:d537::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option multicast_to_unicast '0'
option hostname 'GL-X750-326'
option ipaddr '192.168.8.1'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option hostname 'GL-X750-326'
option ipv6 '0'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
option disabled '1'
config interface 'guest'
option ifname 'guest'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.9.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wwan'
option proto 'dhcp'
option metric '20'
config interface 'modem_1_1_2'
option ifname 'wwan0'
option service 'fdd_lte'
option apn 'internet'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option node '1-1.2:1.4'
option metric '40'
option disabled '1'
do you have the possibility to execute AT commands towards the modem?
opkg update
opkg install minicom
view:
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…
How to send AT commands to device AT commands (“attention commands” formally, the Hayes command set), are used to communicate directly with a modem device and configure it. From OpenWrt To send AT commands directly from OpenWrt, you can simply use
AndrewZ
September 6, 2023, 8:24am
7
Are you using the official OpenWrt image?
1 Like
RKsOW
September 6, 2023, 8:24am
8
ok, i think i can do that.
But why? i need the possibility to switch off the SIM Port, with a switch or something like this.
RKsOW
September 6, 2023, 8:25am
9
yes, i think so, it is build in as default
RKsOW
September 6, 2023, 8:26am
10
Are you using the official OpenWrt image?
OpenWrt 19.07.8 r11364-ef56c85848 / LuCI openwrt-19.07 branch git-21.189.23240-7b931da
AndrewZ
September 6, 2023, 8:30am
11
Please make sure you're using the current official version downloaded from openwrt.org
"it is build in as default" sounds like it was pre-installed by Gl.Inet, if this is the case and you want to keep their version please contact them for support.
2 Likes
system
Closed
September 16, 2023, 8:31am
12
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.