Hardware -------- - SOC: MediaTek MT7981 - ram: 256MB DDR3 - FLASH: 16MB SPI-NOR - Ethernet: 2x1Gb Lan 1x1Gb Wan - WIFI: MediaTek MT7981 2x2 DBDC 802.11ax 2T2R (2.4/5) - LEDs: 2xLan 1x Wan 1x WIFI 1xSTATUS MAC table, same as stock firmware: LAN: 80:3F:5D:xx:xx:x1 partition "hw" at 0x44e (ASCII) WAN: 80:3F:5D:xx:xx:x2 partition "hw" at 0x460 (ASCII) 2G: 80:3F:5D:xx:xx:x3 partition "factory" at 0x4 (binary), on label 5G: 80:3F:5D:xx:xx:x3 Same as 2G Installation Method 1: ssh -------------------------- 1. Connect PC to the lan port. Set the PC IP to 192.168.10.100 if required. 2. Navigate to http://192.168.10.1/ 3. Log into the Wavlink WebGUI. Default username/password is admin/admin. 4. Use WebGUI to upgrade the firmware to WAVLINK_WN586X3-A_M86X3A_V240113_WO-GDBYFM-modified.bin downloaded from https://github.com/themaverickdm/firmware-misc/tree/main/wavlink/wl-wn586x3 Warning: All settings will be lost! 5. Wait about 5 minutes, and after flashing is completed, log into the router using (with admin123 as password): ssh root@192.168.10.1 6. scp the openwrt image file onto the router, usually under /tmp somewhere. openwrt-mediatek-filogic-wavlink_wl-wn586x3-squashfs-sysupgrade.bin 7. Flash openwrt image file like so: mtd write \ openwrt-mediatek-filogic-wavlink_wl-wn586x3-squashfs-sysupgrade.bin \ firmware Warning: Previous firmware will be overwritten! 8. Wait about 5 minutes, and after the flashing is completed, set the PC IP to 192.168.1.100 if required and log into the router like so: ssh root@192.168.1.1 Installation Method 2: u-boot ----------------------------- 1. Connect UART: TX-> 586X3 RX, RX-> 586X3 TX, GND-> 586 GND. 2. Connect PC to the wan (not lan!) port. 3. Setup the tftp server on PC, set IP to 192.168.10.100, 4. Power on the device. Select '2' to upgrade firmware in Uboot. 5. Input the image name and start to upgrade. Uboot console log: CPU: MediaTek MT7981 Model: mt7981-rfb DRAM: 256 MiB Core: 34 devices, 13 uclasses, devicetree: embed Loading Environment from nowhere... OK In: serial@11002000 Out: serial@11002000 Err: serial@11002000 Net: Warning: ethernet@15100000 (eth0) using random MAC address - 02:47:fb:b2:53:2d eth0: ethernet@15100000 UBOOT WN586X3A gpio: pin 9 (gpio 9) value is 0 gpio: pin 10 (gpio 10) value is 0 gpio: pin 5 (gpio 5) value is 0 gpio: pin 12 (gpio 12) value is 0 gpio: pin 13 (gpio 13) value is 0 *** U-Boot Boot Menu *** 1. Startup system (Default) 2. Upgrade firmware 3. Upgrade ATF BL2 4. Upgrade ATF FIP 5. Upgrade single image 6. Load image 0. U-Boot console Co-authored-by: R Maru <deviantmaru@gmail.com> Signed-off-by: R Maru <deviantmaru@gmail.com> Signed-off-by: Sijia Huang <engineer31@win-star.com>
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
Sunshine!
Download
Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.
If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.
An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
Development
To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.
Requirements
You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which
Quickstart
-
Run
./scripts/feeds update -a
to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -a
to install symlinks for all obtained packages into package/feeds/ -
Run
make menuconfig
to select your preferred configuration for the toolchain, target system & firmware packages. -
Run
make
to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.
Related Repositories
The main repository uses multiple sub-repositories to manage packages of
different categories. All packages are installed via the OpenWrt package
manager called opkg
. If you're looking to develop the web interface or port
packages to OpenWrt, please find the fitting repository below.
-
LuCI Web Interface: Modern and modular interface to control the device via a web browser.
-
OpenWrt Packages: Community repository of ported packages.
-
OpenWrt Routing: Packages specifically focused on (mesh) routing.
-
OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).
Support Information
For a list of supported devices see the OpenWrt Hardware Database
Documentation
Support Community
- Forum: For usage, projects, discussions and hardware advise.
- Support Chat: Channel
#openwrt
on oftc.net.
Developer Community
- Bug Reports: Report bugs in OpenWrt
- Dev Mailing List: Send patches
- Dev Chat: Channel
#openwrt-devel
on oftc.net.
License
OpenWrt is licensed under GPL-2.0