extremeflash-0.1.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | extremeflash-0.1.1 |
| نام | extremeflash |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Grische |
| ایمیل نویسنده | 2787581+grische@users.noreply.github.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/extremeflash/ |
| مجوز | GPL-3.0-only |
# Extreme Flash
This tool allows flashing Enterasys / Extreme Networks access points fully automatically, using OpenWRT's initramfs image.
## Installation
Install the tool:
```commandline
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 Enterasys initramfs-kernel image](https://openwrt.org/toh/enterasys/ws-ap3710i#installation)
4. download
an [OpenWRT-based Enterasys squashfs-sysupgrade image](https://openwrt.org/toh/enterasys/ws-ap3710i#installation)
### Run the tool
1. Make sure that the serial cable is connected to the access point, but it is not powered on yet
1. Run the tool
* let it autodetect the serial port:
```commandline
extremeflash --local-ip 192.168.1.70/24 \
-i ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin \
-j ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-enterasys_ws-ap3710i-squashfs-sysupgrade.bin
```
* or manually specify the serial port:
```commandline
extremeflash --port /dev/ttyUSB0 --local-ip 192.168.1.70/24 \
-i ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin \
-j ~/Downloads/openwrt-22.03.3-mpc85xx-p1020-enterasys_ws-ap3710i-squashfs-sysupgrade.bin
```
* For more information run:
```commandline
extremeflash --help
```
1. Power the access point and connect the LAN cable.
1. 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:
```commandline
python3 -m extremeflash --help
```
نیازمندی
| مقدار | نام |
|---|---|
| >=3.0.0,<4.0.0 | paramiko |
| >=3.5,<4.0 | pyserial |
| >=0.14.5,<0.15.0 | scp |
| >=0.8.2,<0.9.0 | tftpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl extremeflash-0.1.1:
pip install extremeflash-0.1.1.whl
نصب پکیج tar.gz extremeflash-0.1.1:
pip install extremeflash-0.1.1.tar.gz