Add Extreme Networks WS-AP3825I - How to flash with OpenWRT

steeb 2024-10-30 20:41:41 -07:00
parent 703fd894fc
commit 7f6c816c02

@ -0,0 +1,54 @@
# OpenWRT Access Points
These units are compatible with OpenWRT and therefore a much better solution than the Ruckus R700 units I have that are extremely out of date. Currently, this guide is primarily just copy-pasted from a Reddit post, as I do not yet have the access points, but from what I've read it seems like it should work just fine.
## Flashing process
### Before you begin
First, we'll need a Cisco-compatible serial cable (RJ45 to USB). For simplicity's sake, go ahead and perform a factory reset on these before starting. **However, let it boot up once normally before beginning!**
### The process
1. Plug in the USB end of the serial cable. We want to open a terminal on ttyUSB0, (or whichever ttyUSB* device is available.
```<sh>
sudo picocom -b 115200 /dev/ttyUSB0
```
2. Once we know that we can see the cable, go ahead and power up the AP and connect the RJ45 end of the serial cable to the LAN1 port (**NOT** LAN2).
3. At this point, the `picocom` terminal should prompt for a login. Use `admin` for the username and `new2day` for the password.
4. In a new terminal window, create a temporary directory and move into it with
```<sh>
cd $(mktemp -d)
```
5. Still in the new terminal window, download the firmware image,
```
curl https://downloads.openwrt.org/releases/23.05.5/targets/mpc85xx/p1020/openwrt-23.05.5-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin -o ws-ap3825i-initramfs.bin
```
6. Finally, in that same new terminal window, start a TFTP server using
```
sudo dnsmasq -d --enable-tftp --port 0 --tftp-root $(pwd)
```
7. In the original TTYUSB0 terminal, run the following commands, being sure to enter the correct IP address for the TFTP server (the computer you're using) and the AP.
```
setenv ramboot_openwrt "setenv ipaddr <server_ip>; setenv serverip <access_point_ip>; tftpboot 0x2000000 ws-ap3825i-initramfs.bin; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt resize; fdt boardsetup; fdt chosen; fdt resize; fdt chosen; bootm prep; bootm go;"
```
```
setenv boot_openwrt "cp.b 0xEC000000 0x2000000 0x2000000; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt resize; fdt boardsetup; fdt chosen; fdt resize; fdt chosen; bootm prep; bootm go;"
```
```
setenv bootcmd "run boot_openwrt";
```
```
saveenv
````
```
run ramboot_openwrt
```