Installation issues with zyxel lte5398-m904

I tried to install openwrt on my router but after restart and connect via ssh I can do nothing. I see the following screen:

> ############:~$ sudo ssh root@192.168.1.1
> [sudo] password di giuseppe:         
> 
> 
> BusyBox v1.37.0 (2025-01-21 22:41:40 UTC) built-in shell (ash)
> 
>   _______                     ________        __
>  |       |.-----.-----.-----.|  |  |  |.----.|  |_
>  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
>  |_______||   __|_____|__|__||________||__|  |____|
>           |__| W I R E L E S S   F R E E D O M
>  -----------------------------------------------------
>  OpenWrt SNAPSHOT, r28656-761b244964
>  -----------------------------------------------------
> === WARNING! =====================================
> There is no root password defined on this device!
> Use the "passwd" command to set up a new password
> in order to prevent unauthorized SSH logins.
> --------------------------------------------------
> 
>  OpenWrt recently switched to the "apk" package manager!
> 
>  OPKG Command           APK Equivalent      Description
>  ------------------------------------------------------------------
>  opkg install <pkg>     apk add <pkg>       Install a package
>  opkg remove <pkg>      apk del <pkg>       Remove a package
>  opkg upgrade           apk upgrade         Upgrade all packages
>  opkg files <pkg>       apk info -L <pkg>   List package contents
>  opkg list-installed    apk info            List installed packages
>  opkg update            apk update          Update package lists
>  opkg search <pkg>      apk search <pkg>    Search for packages
>  ------------------------------------------------------------------
> 
> For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
> 
> root@OpenWrt:~#

I tried to complete the installation via scp, sysupgrade, tftp, UAR serial port, etc...
Anybody can help me? Tanks.

Sysupgrade using https://firmware-selector.openwrt.org/?version=24.10.0&target=ramips%2Fmt7621&id=zyxel_lte5398-m904 or read and understand what you just pasted - The future is now: opkg vs apk.

1 Like

What's wrong with that screen? What are you doing after that screen, and what are the results?

I can connect my laptop to the router using a static IP address 192.168.1.10 but I can't connect to the web page https://192.168.1.1 to administer the router. I tried to upgrade using "apk upgrade" command but I got only WARNING, and using the "apk info" command I got these information that I report below. I don't know how to continue.

root@OpenWrt:~# apk info
WARNING: opening from cache https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/6.6.73-1-eeb037a5360ff5c249ad2ca718654150/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/video/packages.adb: No such file or directory
apk-mbedtls
base-files
busybox
ca-bundle
dnsmasq
dropbear
firewall4
fstools
fwtool
getrandom
hostapd-common
iw
iwinfo
jansson4
jshn
jsonfilter
kernel
kmod-cfg80211
kmod-crypto-acompress
kmod-crypto-aead
kmod-crypto-authenc
kmod-crypto-ccm
kmod-crypto-cmac
kmod-crypto-crc32c
kmod-crypto-ctr
kmod-crypto-des
kmod-crypto-gcm
kmod-crypto-geniv
kmod-crypto-gf128
kmod-crypto-ghash
kmod-crypto-hash
kmod-crypto-hmac
kmod-crypto-hw-eip93
kmod-crypto-manager
kmod-crypto-md5
kmod-crypto-null
kmod-crypto-rng
kmod-crypto-seqiv
kmod-crypto-sha1
kmod-crypto-sha256
kmod-crypto-sha3
kmod-crypto-sha512
kmod-gpio-button-hotplug
kmod-hwmon-core
kmod-leds-gpio
kmod-lib-crc-ccitt
kmod-lib-crc32c
kmod-lib-lzo
kmod-mac80211
kmod-mii
kmod-mt76-connac
kmod-mt76-core
kmod-mt7603
kmod-mt7615-common
kmod-mt7615-firmware
kmod-mt7615e
kmod-nf-conntrack
kmod-nf-conntrack6
kmod-nf-flow
kmod-nf-log
kmod-nf-log6
kmod-nf-nat
kmod-nf-reject
kmod-nf-reject6
kmod-nfnetlink
kmod-nft-core
kmod-nft-fib
kmod-nft-nat
kmod-nft-offload
kmod-nls-base
kmod-ppp
kmod-pppoe
kmod-pppox
kmod-slhc
kmod-usb-core
kmod-usb-ledtrig-usbport
kmod-usb-net
kmod-usb-net-qmi-wwan
kmod-usb-serial
kmod-usb-serial-option
kmod-usb-serial-wwan
kmod-usb-wdm
kmod-usb-xhci-hcd
kmod-usb-xhci-mtk
kmod-usb3
libblobmsg-json20240329
libc
libgcc1
libiwinfo-data
libiwinfo20230701
libjson-c5
libjson-script20240329
libmbedtls21
libmnl0
libnftnl11
libnl-tiny1
libubox20240329
libubus20250102
libuci20250120
libuclient20201210
libucode20230711
libudebug
libustream-mbedtls20201210
logd
mtd
netifd
nftables-json
odhcp6c
odhcpd-ipv6only
openwrt-keyring
ppp
ppp-mod-pppoe
procd
procd-seccomp
procd-ujail
ubi-utils
uboot-envtools
ubox
ubus
ubusd
uci
uclient-fetch
ucode
ucode-mod-digest
ucode-mod-fs
ucode-mod-nl80211
ucode-mod-rtnl
ucode-mod-ubus
ucode-mod-uci
ucode-mod-uloop
uqmi
urandom-seed
urngd
usign
wifi-scripts
wireless-regdb
wpad-basic-mbedtls
wwan
zlib
root@OpenWrt:~# 

That's why you were told to reflash it.

If not, https://openwrt.org/docs/guide-user/luci/luci.essentials

1 Like

if you don't have any particular needs I suggest you install version 24.10, not the snapshot as advised to you by @frollic

I also recommend you add the following packages:

at htop wget-ssl sed curl diffutils lsof usbutils procps-ng-watch coreutils-base64 flock lslocks picocom sms-tool qmi-utils luci-proto-qmi kmod-usb-net-cdc-mbim umbim luci-proto-mbim owut tcpdump kmod-button-hotplug openssh-client openssh-client-utils openssh-keygen block-mount e2fsprogs fdisk kmod-fs-ext4 kmod-usb-storage-uas mount-utils smartmontools
luci luci-ssl luci-app-uhttpd luci-app-firewall luci-app-https-dns-proxy pingcheck

show:

You have installed a snapshot image. Read the link for instructions how to install Luci, which is not installed by default in snapshots.

1 Like

Thank you so much for the correct suggestions. I have never installed OpenWRT on any router and I have definitely made some mistakes and wrong choices.
I successfully installed "openwrt-24.10.0-ramips-mt7621-zyxel_lte5398-m904-initramfs-recovery.bin" via TFTP Recovery over Ethernet using the instruction in "Installation from Z-Loader (vendor U-Boot application)" from "https://openwrt.org/toh/zyxel/lte5398-m904", and after rebooting I could connect to LUCI via browser and upgrade the system using "openwrt-24.10.0-ramips-mt7621-zyxel_lte5398-m904-squashfs-sysupgrade.bin".
Now I'm tring to configured the wifi connections but the WAN (LTE/3G) connection seems to be down. In "Network/Interfaces" the WAN is red and "unsupported protocol type" and "Install protocol extension" appear. How can I activate the LTE connection?

Please refer to https://openwrt.org/toh/zyxel/lte5398-m904#modem and start a separate topic if you need any help with the modem configuration.

1 Like