Last active
August 27, 2019 08:29
-
-
Save tf0054/5c2aacbe3a6ee3799991b3fb87ab25c3 to your computer and use it in GitHub Desktop.
openwrt wrt1900acs dfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to make your router's Wifi(5GHz) channel changes stopped | |
- - - - | |
0. Download the os image. | |
http://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/mvebu/cortexa9/ | |
1. Install the image to your router. | |
sysupgrade -V xxxx.bin | |
2. Prepare the sdk environment for your router. | |
https://openwrt.org/docs/guide-developer/using_the_sdk | |
docker pull tf0054/openwrt-wrt1900acs:sdk | |
3. Know the modification for disabling DFS | |
https://github.com/burton1982/mwlwifi/commit/849420b2c158bf5a43a2e0d82b6b04552dd047d3 | |
4. Make the mwlwifi module by yourself for the specified kernel. | |
``` | |
sudo apt update | |
sudo apt-install vim procps | |
./scripts/feeds update -a c | |
./scripts/feeds install mwlwifi | |
make package/feeds/base/mwlwifi/download | |
make package/feeds/base/mwlwifi/prepare | |
vi target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2019-03-02-31d93860/hif/pcie/pcie.c | |
make package/feeds/base/mwlwifi/compile | |
cp ~/openwrt/bin/targets/mvebu/cortexa9/packages/kmod-mwlwifi_4.14.138+2019-03-02-31d93860-1_arm_cortex-a9_vfpv3.ipk /tmp | |
``` | |
5. Get the newly compiled package to your pc. | |
scp sdk:/tmp/kmod-mwlwifi_4.14.138+2019-03-02-31d93860-1_arm_cortex-a9_vfpv3.ipk . | |
6. Login to your router. | |
ssh [email protected] | |
7. Overwrite the package with the new one. | |
opkg install --force-reinstall kmod-mwlwifi_4.14.138+2019-03-02-31d93860-1_arm_cortex-a9_vfpv3.ipk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment