PC Engines APU3b4 LTE - 2 Simcard failover - switch

Hi, I have an engines Apu3b4 installed with Openwrt, and I would like to support the failover over the two SIMCARDS using only one LTE modem (Huawei ME909S)

Based on the official website description (https://www.pcengines.ch/apu3b4.htm):
"This board version is targeted at applications that require 2 3G / LTE modems. SIM sockets can be swapped under GPIO control, enabling failover between two different networks even when only one modem is used. Another feature is the build option for a regular PCI express slot on the side."

Anyone with this setup can help me with some documentation or scripts that helps doing that.

Best regards
Diogo

See user manual:

SIM switch is controlled by G33, 0 = swap, 1 = normal connection.

export gpio33 (https://openwrt.org/docs/techref/hardware/port.gpio), switch sim by

echo "1" > /sys/class/gpio/gpio33/value

or

echo "0" > /sys/class/gpio/gpio33/value

2 Likes

Can I install the WAN and APN configurations using openwrt luci (web interface), or do I need always go to the terminal or install any packages? Where I can find a good docs for this Huawei lte modem?

Can I install the WAN and APN configurations using openwrt luci (web interface), or do I need always go to the terminal or install any packages? Where I can find a good docs for this Huawei lte modem?

Install via luci, luci-proto-ncm. Search for a PDF file with AT commands for this huawei device.