I had recently tried to flash a TP-Link TL-WR902AC v4.6 via TFTP Recovery using the "TFTP-RECOVERY" image at: https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ramips%2Fmt76x8&id=tplink_tl-wr902ac-v4
I'm obviously operating under the assumption that the v4 images should work for the v4.6 device, so hopefully that holds true. This is my first time trying this so I think I did it right as the tp_recovery.bin seems to have been transferred in full to the device, but I very well could be wrong. I am able to get an assigned IP from the WR902AC, but get a connection refused error when trying to access the web interface while connected to its only ethernet port.
I'm able to successfully PuTTY into the WR902AC as root, but it only seems to be listening on ports 22 and 53. I ran some of the commands from a troubleshooting post for a different device, and I think uhttp might not have been installed?
Any help would be appreciated. Command dumps below:
root@OpenWrt:~# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1105/dropbear
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN 1934/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1934/dnsmasq
tcp 0 160 192.168.1.1:22 192.168.1.223:49945 ESTABLISHED 2031/dropbear
tcp 0 0 :::22 :::* LISTEN 1105/dropbear
tcp 0 0 ::1:53 :::* LISTEN 1934/dnsmasq
tcp 0 0 fd6d:675a:72d4::1:53 :::* LISTEN 1934/dnsmasq
tcp 0 0 fe80::f2a7:31ff:fe63:dc4c:53 :::* LISTEN 1934/dnsmasq
root@OpenWrt:~# ubus call system board
{
"kernel": "5.15.148",
"hostname": "OpenWrt",
"system": "MediaTek MT7628AN ver:1 eco:2",
"model": "TP-Link TL-WR902AC v4",
"board_name": "tplink,tl-wr902ac-v4",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r25309-c378927ef8",
"target": "ramips/mt76x8",
"description": "OpenWrt SNAPSHOT r25309-c378927ef8"
}
}
root@OpenWrt:~# opkg list-installed
base-files - 1578-r25309-c378927ef8
busybox - 1.36.1-1
ca-bundle - 20240203-1
dnsmasq - 2.89-8
dropbear - 2022.83-1
firewall4 - 2023-11-03-698a5335-1
fstools - 2024-01-22-08cd7083-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2024-01-24-2c5887cb-1
hostapd-common - 2023-09-08-e5ccbfc6-6
iw - 5.19-1
iwinfo - 2023-11-19-a34977c0-1
jansson4 - 2.14-3
jshn - 2024-01-26-c1be5057-1
jsonfilter - 2024-01-23-594cfa86-1
kernel - 5.15.148-1-e98ab66513ecb6f2482fcc080ca46951
kmod-cfg80211 - 5.15.148+6.6.15-1
kmod-crypto-acompress - 5.15.148-1
kmod-crypto-aead - 5.15.148-1
kmod-crypto-ccm - 5.15.148-1
kmod-crypto-cmac - 5.15.148-1
kmod-crypto-crc32c - 5.15.148-1
kmod-crypto-ctr - 5.15.148-1
kmod-crypto-gcm - 5.15.148-1
kmod-crypto-gf128 - 5.15.148-1
kmod-crypto-ghash - 5.15.148-1
kmod-crypto-hash - 5.15.148-1
kmod-crypto-hmac - 5.15.148-1
kmod-crypto-manager - 5.15.148-1
kmod-crypto-null - 5.15.148-1
kmod-crypto-rng - 5.15.148-1
kmod-crypto-seqiv - 5.15.148-1
kmod-crypto-sha512 - 5.15.148-1
kmod-gpio-button-hotplug - 5.15.148-3
kmod-hwmon-core - 5.15.148-1
kmod-leds-gpio - 5.15.148-1
kmod-lib-crc-ccitt - 5.15.148-1
kmod-lib-crc32c - 5.15.148-1
kmod-lib-lzo - 5.15.148-1
kmod-mac80211 - 5.15.148+6.6.15-1
kmod-mt76-connac - 5.15.148+2024-02-03-6124ea91-1
kmod-mt76-core - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7603 - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7615-common - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7615e - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7663-firmware-ap - 5.15.148+2024-02-03-6124ea91-1
kmod-nf-conntrack - 5.15.148-1
kmod-nf-conntrack6 - 5.15.148-1
kmod-nf-flow - 5.15.148-1
kmod-nf-log - 5.15.148-1
kmod-nf-log6 - 5.15.148-1
kmod-nf-nat - 5.15.148-1
kmod-nf-reject - 5.15.148-1
kmod-nf-reject6 - 5.15.148-1
kmod-nfnetlink - 5.15.148-1
kmod-nft-core - 5.15.148-1
kmod-nft-fib - 5.15.148-1
kmod-nft-nat - 5.15.148-1
kmod-nft-offload - 5.15.148-1
kmod-nls-base - 5.15.148-1
kmod-ppp - 5.15.148-1
kmod-pppoe - 5.15.148-1
kmod-pppox - 5.15.148-1
kmod-slhc - 5.15.148-1
kmod-usb-core - 5.15.148-1
kmod-usb-ehci - 5.15.148-1
kmod-usb-ledtrig-usbport - 5.15.148-1
kmod-usb-ohci - 5.15.148-1
kmod-usb2 - 5.15.148-1
libblobmsg-json20240126 - 2024-01-26-c1be5057-1
libc - 1.2.4-4
libgcc1 - 12.3.0-4
libiwinfo-data - 2023-11-19-a34977c0-1
libiwinfo20230701 - 2023-11-19-a34977c0-1
libjson-c5 - 0.17-1
libjson-script20240126 - 2024-01-26-c1be5057-1
libmbedtls12 - 2.28.7-2
libmnl0 - 1.0.5-1
libnftnl11 - 1.2.6-1
libnl-tiny1 - 2023-12-05-965c4bf4-1
libpthread - 1.2.4-4
libubox20240126 - 2024-01-26-c1be5057-1
libubus20231128 - 2023-11-28-f84eb599-1
libuci20130104 - 2023-08-10-5781664d-1
libuclient20201210 - 2023-04-13-007d9454-1
libucode20230711 - 2024-02-21-ba3855ae-1
libudebug - 2023-12-06-6d3f51f9
libustream-mbedtls20201210 - 2023-11-26-263b9a97-1
logd - 2024-01-24-2c5887cb-1
mtd - 26
netifd - 2024-01-04-f01345ec-1
nftables-json - 1.0.9-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-10-24-d8118f6e-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
ppp - 2.4.9.git-2021-01-04-5
ppp-mod-pppoe - 2.4.9.git-2021-01-04-5
procd - 2024-02-24-1901aba9-1
procd-seccomp - 2024-02-24-1901aba9-1
swconfig - 12
ubox - 2024-01-24-2c5887cb-1
ubus - 2023-11-28-f84eb599-1
ubusd - 2023-11-28-f84eb599-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2024-02-21-ba3855ae-1
ucode-mod-fs - 2024-02-21-ba3855ae-1
ucode-mod-nl80211 - 2024-02-21-ba3855ae-1
ucode-mod-rtnl - 2024-02-21-ba3855ae-1
ucode-mod-ubus - 2024-02-21-ba3855ae-1
ucode-mod-uci - 2024-02-21-ba3855ae-1
ucode-mod-uloop - 2024-02-21-ba3855ae-1
urandom-seed - 3
urngd - 2023-11-01-44365eb1-1
usign - 2020-05-23-f1f65026-1
wifi-scripts - 1.0-1
wireless-regdb - 2024.01.23-1
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-6
root@OpenWrt:~# ls -l /etc/init.d
-rwxr-xr-x 1 root root 1408 Feb 24 04:00 boot
-rwxr-xr-x 1 root root 316 Feb 24 04:00 bootcount
-rwxr-xr-x 1 root root 846 Feb 24 04:00 cron
-rwxr-xr-x 1 root root 35336 Feb 24 04:00 dnsmasq
-rwxr-xr-x 1 root root 263 Feb 24 04:00 done
-rwxr-xr-x 1 root root 12301 Feb 24 04:00 dropbear
-rwxr-xr-x 1 root root 378 Feb 24 04:00 firewall
-rwxr-xr-x 1 root root 1379 Feb 24 04:00 gpio_switch
-rwxr-xr-x 1 root root 4934 Feb 24 04:00 led
-rwxr-xr-x 1 root root 2665 Feb 24 04:00 log
-rwxr-xr-x 1 root root 2706 Feb 24 04:00 network
-rwxr-xr-x 1 root root 292 Feb 24 04:00 odhcpd
-rwxr-xr-x 1 root root 321 Feb 24 04:00 packet_steering
-rwxr-xr-x 1 root root 1212 Feb 24 04:00 sysctl
-rwxr-xr-x 1 root root 764 Feb 24 04:00 sysfixtime
-rwxr-xr-x 1 root root 3226 Feb 24 04:00 sysntpd
-rwxr-xr-x 1 root root 1007 Feb 24 04:00 system
-rwxr-xr-x 1 root root 125 Feb 24 04:00 umount
-rwxr-xr-x 1 root root 239 Feb 24 04:00 urandom_seed
-rwxr-xr-x 1 root root 220 Feb 24 04:00 urngd
-rwxr-xr-x 1 root root 1262 Feb 24 04:00 wpad