The Zyxel LTE7490-M904 is an 802.3at PoE powered LTE outdoor (IP68) CPE with integrated directional antennas. Specifications: - SoC: MediaTek MT7621AT - RAM: 256 MB - Flash: 128 MB MB NAND (MX30LF1G18AC) - WiFi: MediaTek MT7603E 802.11b/g/n - Switch: 1 LAN port (1 Gbps) - LTE/3G/2G: Quectel EG18-EA LTE-A Cat. 18 connected by USB3 to SoC - SIM: 1 micro-SIM slots under transparent cover - Buttons: Reset, WLAN under same cover - LEDs: Multicolour green/red/amber under same cover (visible) - Power: 802.3at PoE via LAN port The device is built as an outdoor ethernet to LTE bridge or router. The wifi interface is intended for installation and/or temporary management purposes only. UART Serial: 57600N1, located on populated 5 pin header J5: [o] GND [ ] key - no pin [o] RX [o] TX [o] 3.3V Vcc Remove the SIM/button/LED cover and 12 screws holding the back plate and antenna cover together. Be careful with the cables. Installation from OEM web GUI: - Log in as "admin" on OEM web GUI - Upload OpenWrt initramfs-recovery.bin image on the Maintenance -> Firmware page - Wait for OpenWrt to boot and ssh to root@192.168.1.1 - Sysupgrade to the OpenWrt sysupgrade image and reboot For more details about flashing see: 2449a63208 (ramips: mt7621: Add support for ZyXEL NR7101, 2021-04-19) Main porting work done by Ernesto Castellotti <ernesto@castellotti.net>: bf1c12f68b (ramips: add support for ZyXEL LTE7490-M904, 2023-12-20) Signed-off-by: Eric Schäfer <eric@es86.de> Link: https://github.com/openwrt/openwrt/pull/17485 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
54 lines
1.5 KiB
Bash
Executable File
54 lines
1.5 KiB
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
|
|
boot() {
|
|
case $(board_name) in
|
|
alfa-network,quad-e4g)
|
|
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
|
|
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
|
|
;;
|
|
beeline,smartbox-turbo|\
|
|
beeline,smartbox-turbo-plus|\
|
|
rostelecom,rt-sf-1)
|
|
[[ $(hexdump -n 1 -e '/1 "%1d"' -s $((0x20001)) /dev/mtd3) == \
|
|
$((0xff)) ]] || printf '\xff' | dd of=/dev/mtdblock3 \
|
|
count=1 bs=1 seek=$((0x20001))
|
|
;;
|
|
jdcloud,re-cp-02)
|
|
echo -e "bootcount 0\nbootlimit 5\nupgrade_available 1" | /usr/sbin/fw_setenv -s -
|
|
;;
|
|
linksys,e5600|\
|
|
linksys,ea6350-v4|\
|
|
linksys,ea7300-v1|\
|
|
linksys,ea7300-v2|\
|
|
linksys,ea7500-v2|\
|
|
linksys,ea8100-v1|\
|
|
linksys,ea8100-v2)
|
|
mtd resetbc s_env || true
|
|
;;
|
|
belkin,rt1800|\
|
|
linksys,e7350|\
|
|
samknows,whitebox-v8)
|
|
fw_setenv bootcount 0
|
|
;;
|
|
dna,valokuitu-plus-ex400|\
|
|
genexis,pulse-ex400)
|
|
fw_setenv boot_cnt_primary 0
|
|
fw_setenv boot_cnt_alt 0
|
|
;;
|
|
zyxel,lte3301-plus)
|
|
[ $(printf %d $(fw_printenv -n DebugFlag)) -gt 0 ] || fw_setenv DebugFlag 1
|
|
[ $(printf %d $(fw_printenv -n Image1Stable)) -gt 0 ] || fw_setenv Image1Stable 1
|
|
[ $(printf %d $(fw_printenv -n Image1Try)) -gt 0 ] && fw_setenv Image1Try 0
|
|
;;
|
|
zyxel,lte5398-m904|\
|
|
zyxel,lte7490-m904|\
|
|
zyxel,nr7101)
|
|
[ $(printf %d $(fw_printenv -n DebugFlag)) -gt 0 ] || fw_setenv DebugFlag 0x1
|
|
[ $(printf %d $(fw_printenv -n Image1Stable)) -gt 0 ] || fw_setenv Image1Stable 1
|
|
[ $(printf %d $(fw_printenv -n Image1Try)) -gt 0 ] && fw_setenv Image1Try 0
|
|
;;
|
|
esac
|
|
}
|