EAP225-Outdoor

Aus Freifunk Dresden - Anwender-Wiki
Version vom 13. November 2021, 23:28 Uhr von Stephan (Diskussion | Beiträge) (EAP225-Outdoor update instructions)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

EAP225-Outdoor v1 - Installation from original Firmware to Freifunk Firmware

Original Version: 5.0.4 Build 20210520 Rel. 67983(4555)
Upgraded to: 5.0.5
Tested with Freifunk Firmware: 7.1.4

 ATTENTION: Upgrade the firmware to version v5.0.3 or higher!!!!!!

(fixes a bug that may cause the EAP to reboot abnormally during firmware upgrading and cause the device to brick)

Steps

  • Connect router's LAN port to existing internet router (with dhcp).
    Lookup the IP address of EAP225 in internet router devices list.
    (There may be a way to access the router directly when a PC/Laptop is connected directly to the EAP225. Use the data printed onto the device.
    Fallback IP: 192.168.0.254)
  • Open firefox-webbrowser (chromebrowser does not work correctly with router's website) and connect to routers website (http://<ip>/)
    and login with user 'admin' password 'admin'
  • Follow minimal install process on router
  • optional: enable ssh access, if you want to backup flash partitions. (https://openwrt.org/toh/tp-link/eap225)
$ mkdir /tmp/logdump/fw-backup
$ cd /dev; for part in mtdblock*; do dd bs=1 if=$part of=/tmp/logdump/fw-backup/$part.bin; done
$ dmesg >/tmp/logdump/fw-backup/kernel-log.txt
$ cat /proc/mtd >/tmp/logdump/fw-backup/mtd-partitions.txt
$ tar -cf /tmp/logdump/eap225-outdoor.tar /tmp/logdump/fw-backup/*
$ md5sum /tmp/logdump/eap225-outdoor.tar

# copy out (scp is not present in router)
$ ssh admin@<ip> "dd if=/tmp/logdump/eap225-outdoor.tar" > eap225-outdoor.tar

# compare md5sum
$ md5sum eap225-outdoor.tar
  • optional: upgrade firmware to latest orignal firmware (tested 5.0.5)
  • check that ssh still is accessible
  • ssh into the target device and run following command. it stops something that avoids accepting firmware image
$ cliclientd stopcs
  • Upgrade to freifunk firmware via router's website, needs a file name shorter than 63 characters.
    Rename openwrt-ath79-generic-tplink_eap225-outdoor-v1-squashfs-factory.bin
mv openwrt-ath79-generic-tplink_eap225-outdoor-v1-squashfs-factory.bin factory.bin
  • LED is blinking, when device reboots LED is static. device reboots three times.
    Use ping command to check if device is ready. During reboots successful pings are displayed and stopped again (reboot).
    Wait until ping is not stopped anymore.
$ ping 192.168.222.1