Access point eap225 after installing OpenWRT not coming up

Hello,

I tried to put openWRT on one of my AP. I did that for 4 of 5 AP's now, last one is broken now :frowning: It is a plink eap225v4 (others are v3).

The AP is booting somehow, but there is no ethernet connection possible. Through serial connector I am able to see what's going on. Log attached.

So it is kind in a loop?!

[    0.311252] printk: console [ttyS0] enabled
[    0.311252] printk: console [ttyS0] enabled
[    0.320323] printk: bootconsole [early0] disabled
[    0.320323] printk: bootconsole [early0] disabled
[    0.348219] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[    0.353451] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.360112] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.367002] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.374434] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.381369] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.388495] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.395367] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.402710] Creating 7 MTD partitions on "spi0.0":
[    0.407721] 0x000000000000-0x000000020000 : "u-boot"
[    0.419171] 0x000000020000-0x000000030000 : "partition-table"
[    0.426246] 0x000000030000-0x000000040000 : "info"
[    0.433730] 0x000000040000-0x000000dc0000 : "firmware"
[    0.440222] 2 elf-loader-fw partitions found on MTD device firmware
[    0.446767] Creating 2 MTD partitions on "firmware":
[    0.451904] 0x000000000000-0x000000240000 : "kernel"
[    0.459525] 0x000000240000-0x000000d80000 : "rootfs"
[    0.465622] mtd: setting mtd5 (rootfs) as root device
[    0.471711] 1 squashfs-split partitions found on MTD device rootfs
[    0.478178] 0x000000650000-0x000000d80000 : "rootfs_data"
[    0.485604] 0x000000dc0000-0x000000df0000 : "config"
[    0.491758] 0x000000f30000-0x000000ff0000 : "log"
[    0.499187] 0x000000ff0000-0x000001000000 : "art"
[    1.536353] mdio_bus mdio.0: MDIO device at address 4 is missing.
[    1.542989] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.551166] i2c_dev: i2c /dev entries driver
[    1.557796] NET: Registered PF_INET6 protocol family
[    1.571846] Segment Routing with IPv6
[    1.575779] In-situ OAM (IOAM) with IPv6
[    1.579942] NET: Registered PF_PACKET protocol family
[    1.585230] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.598955] 8021q: 802.1Q VLAN Support v1.8
[    1.604494] PCI host bridge to bus 0000:00
[    1.608791] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.615912] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.621671] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.629912] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[    1.636167] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.643304] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.650223] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.657141] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.296568] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    2.936554] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    2.944653] clk: Disabling unused clocks
[    2.957665] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.971716] Freeing unused kernel image (initmem) memory: 1212K
[    2.977900] This architecture does not have kernel memory protection.
[    2.984577] Run /sbin/init as init process
[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716] F[    2.977900] T[    2.984577] R[    2.957665] V[    2.971716[    3.662960] init: Console is alive
] F[    2.977900[    3.667997] init: - watchdog -
...
665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[    5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   [    7.361196] random: jshn: uninitialized urandom read (4 bytes read)
 5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[    2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[  Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[  Press the [f] key and hit [enter] to enter failsafe mode

Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level

  2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[  Press the [f] key and hit [enter] to enter failsafe mode



Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level



  2[   5..[    6.97[    5.171][    5 F[   2.97900] T[    2.98457] R[    2.95665] V[  Press the [f] key and hit [enter] to enter failsafe mode







- failsafe button reset was pressed -
- failsafe -
Waiting for kernel randomness to be initialised...
[   11.135498] random: crng init done
[   11.139058] random: 2 urandom warning(s) missed due to ratelimiting
Generating 1024 bit rsa key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC2X/wXh+GwENyaxYnPV4ydQo/ck2s3HRvHmc0FYm+iIPXos4wNLpyQLVI6VwbAZJjF6iawspcC7h4zE8L1scEOPzTszqaI9GYCg6yHtNJuFSa3a635rZLNOa2jXB2Gche6xfwDFkJH8x6g0B2+fiu28PTi6yBJT1PY5AX2W6RacQ== root@(none)
Fingerprint: SHA256:VL5JA12WmowdvYpERxrudeXmQm849gbJho7Re9KHxV0
Generating 256 bit ed25519 key, this may take a while...
Public key portion is:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOhjoCFRwBJzuZ5353CzY07nbo8xdQP0XmfYhcBweGDx root@(none)
Fingerprint: SHA256:S7Uqysgl+krTNi/Hzw4cMcbI1xa1nS6baGjdX2wRG0k


BusyBox v1.36.1 (2024-09-23 12:34:46 UTC) built-in shell (ash)

ash: can't access tty; job control turned off
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.5, r24106-10cc5fcd00
 -----------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot	     reset settings to factory defaults
* mount_root	 mount root-partition with config files

after mount_root:
* passwd			 change root's password
* /etc/config		    directory with config files

for more help see:
https://openwrt.org/docs/guide-user/troubleshooting/
- failsafe_and_factory_reset
- root_password_reset
=======================================================

root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# Press the [1], [2], [3] or [4] key and hit [enter] to select the 
debug level
ash: Press: not found
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 

root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")
root@(none):/# 
root@(none):/# root@(none):/# 
/bin/ash: syntax error: unexpected word (expecting ")")

Ok, I solved my first issue. The serial connector wasn‘t connected properly. Rx was bridged with Tx facepalm

After resolving this I was able to use the console and enable lan and wifi. I realized that I flashed with firmware for v3. So I uploaded via Luci the firmware for v4. But now the device is stuck. Not able to connect to serial. Led goes green-orange-green and that’s it.

Any idea how to get it working again? I was happy to see it working again…