Skip to main content

No project description provided

Project description

Extreme Flash

This tool allows flashing Enterasys / Extreme Networks access points fully automatically, using OpenWRT's initramfs image.

Installation

Install the tool:

pipx install extremeflash

or

pip install extremeflash

Usage

Prerequisites

  1. connect a USB serial device to the local machine and to the serial port of the Enterasys AP
  2. identify the IP configured on the local machine that will be used to connect to the Enterasys AP
  3. download an OpenWRT initramfs-kernel image, e.g. for the WS-AP3710i
  4. download an OpenWRT-based squashfs-sysupgrade, e.g. for the WS-AP3710i

Note: While it is generally recommended to use the same version for initramfs-kernel and squashfs-sysupgrade, the process can work with different versions. This is especially important if a downstream OpenWRT firmware (e.g. Gluon) with a different version should be installed on the router.

Run the tool

  1. Make sure that the serial cable is connected to the access point, but it is not powered on yet

  2. Run the tool

    • let it autodetect the serial port:

      extremeflash --local-ip 192.168.1.70/24 \
      --model AP3710 \
      -i ~/Downloads/openwrt-23.05.0-mpc85xx-p1020-enterasys_ws-ap3710i-initramfs-kernel.bin \
      -j ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-enterasys_ws-ap3710i-squashfs-sysupgrade.bin
      
    • or manually specify the serial port:

      extremeflash  --port /dev/ttyUSB0 --local-ip 192.168.1.70/24 \
      --model AP3710 \
      -i ~/Downloads/openwrt-23.05.0-mpc85xx-p1020-enterasys_ws-ap3710i-initramfs-kernel.bin \
      -j ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-enterasys_ws-ap3710i-squashfs-sysupgrade.bin
      
    • For more information run:

      extremeflash --help
      
  3. Power the access point and connect the LAN cable to power the AP.
    Note: for APs with two or more LAN ports, make sure the local machine is connected to port 2, not port 1.

  4. The tool will flash the access point automatically. When it finishes, the access point can be reached via 192.168.1.1 (OpenWRT's default IP).

Contributing

Install dependencies

If the dependencies are not already installed, run poetry install followed by a poetry shell to get an environment with all necessary dependencies.

Running modified code

After modifying the code, run the tool by executing python -m extremeflash inside the repository's folder. For example:

python3 -m extremeflash --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extremeflash-0.5.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extremeflash-0.5.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file extremeflash-0.5.0.tar.gz.

File metadata

  • Download URL: extremeflash-0.5.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for extremeflash-0.5.0.tar.gz
Algorithm Hash digest
SHA256 391b8bf1536184f38eb384c6897c4111ba8516c0f9856dd17dd6cd1ac52e103e
MD5 9a9bab21d9777d747b2588946b21548b
BLAKE2b-256 98ea3129402545247a4ddb5f3453afc6d6b1f8b8f5c0aa095bd21c4340889a19

See more details on using hashes here.

File details

Details for the file extremeflash-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: extremeflash-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for extremeflash-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0e3866c62600d5c9ec9a6265dd7a64d78cb4ed14fde3261f7a9b06c837f43f3
MD5 e79d6a9fc0c78f521a74c4f18fefc0f7
BLAKE2b-256 66fc42ea6b286a03688319aae0fc7a244a3fb2abfefed8889ae4ffe0cd344bc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page