Last active
December 4, 2020 14:19
-
-
Save danitool/f17a059bd8e9746face710a7f26dcced to your computer and use it in GitHub Desktop.
Configure manually WDS with the proprietary rt5390 driver, found in routers like Tplink TD-W8968 v2
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
************************************************************************* | |
First router | |
************************************************************************* | |
Configure WDS on the first router (MAC address=00:11:11:11:11:11): | |
ifconfig ra0 down | |
ifconfig apcli0 down | |
ifconfig wds0 down | |
rmmod rt5390ap | |
(add some lines to the RT2860AP.dat file) | |
nano /var/Wireless/RT2860AP/RT2860AP.dat | |
WdsEnable=1 | |
WdsList=00:22:22:22:22:22; | |
WdsEncrypType=AES | |
WdsKey=supersecret321 | |
insmod /lib/modules/rt5390ap.ko | |
ifconfig ra0 up | |
ifconfig wds0 up | |
brctl addif br0 ra0 | |
brctl addif br0 wds0 | |
iwpriv ra0 set Channel=1 | |
iwpriv ra0 show wdsinfo | |
************************************************************************* | |
************************************************************************* | |
Second router | |
************************************************************************* | |
Configure WDS on the second router (MAC address=00:22:22:22:22:22) | |
All the same except the MAC address: | |
WdsList=00:11:11:11:11:11; | |
************************************************************************* | |
************************************************************************* | |
Misc | |
************************************************************************* | |
Use the channel 14 (b/g) | |
~ # iwpriv ra0 set CountryRegion=5 | |
~ # iwpriv ra0 set Channel=14 | |
Site survey | |
~ # iwpriv ra0 set SiteSurvey= | |
~ # iwpriv ra0 get_site_survey | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment