Good afternoon, I'm new to the forum and first of all I wanted to thank you for the great community behind this beautiful project.
I have bought this router head weblink hdrm200 that has two integrated sim card slots but I cannot configure the router to get the internet from the sim cards.I have tried with two protocols and it does not work:
-UMTS/GPRS/EV-DO with de modem device /dev/cdc-wdrm0
I am configuring via putty or interface, the first problem I detect is that I cannot find the command to see if it detects me or not the sim, or in which port it is.
My version of OpenWrt is 19.07.8 r with kernel version 4.14.241.
It uses a MediaTek MT7620A so the qmi protocol is not correct, can someone help me?
It looks like your router is equipped with SIMCOM SIM7100E LTE modem (thanks, google)
In order to check its capabilities access your router via ssh and run cat /sys/kernel/debug/usb/devices
You need to post the complete output.
Thanks for your quick answer, when I enter that command I can see that it is on port 1, if I'm right, but how do I know what protocol to use?
I am noob to this software, sorry for the simple questions.
See if you have the necessary GPIO configured and try to switch the slots (source):
You control which SIM slot to use by writing 0/1 to
/sys/class/gpio/sim_switch/value. In order for the change to take
effect, you can either use AT-commands (AT+CFUN) or power-cycle the
modem (write 0/1 to /sys/class/gpio/power_mpcie/value)
root@OpenWrt:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-23, parent: platform/10000600.gpio, 10000600.gpio:
gpio-0 ( |sysfs ) out lo
gpio-1 ( |sysfs ) out lo
gpio-2 ( |sysfs ) out lo
gpio-11 ( |sysfs ) out lo
gpio-12 ( |wps ) in hi
gpio-13 ( |reset ) in hi
gpio-14 ( |sysfs ) out lo
gpio-19 ( |hdrm200:red:rssi ) out hi
gpio-21 ( |sysfs ) out hi
gpiochip1: GPIOs 24-39, parent: platform/10000638.gpio, 10000638.gpio:
gpio-38 ( |hdrm200:green:system) out lo
gpiochip2: GPIOs 72-72, parent: platform/10000688.gpio, 10000688.gpio:
gpio-72 ( |hdrm200:green:wifi ) out lo
so you do not have sim_switch that was proposed in the commit message and you will need to use gpio0 instead: echo 1 > /sys/class/gpio/gpio0/value (to set 1) echo 0 > /sys/class/gpio/gpio0/value (to set 0)
Well it didn't come up and connect to the Internet, but there are a lot of other things besides not finding the SIM that would cause that. The OP needs to first confirm that the modem sees the SIM at all then continue to troubleshoot from there. Is the PIN locked, is the modem carrier locked, is the LTE band compatible, etc.
That is the problem I have, I cannot detect the sim, it seems that the module does not communicate with the router, what commands do you use to see if it detects the sim? I have put back in case it was a possible cause, the company is simyo and if it is compatible