Created
November 29, 2018 14:41
-
-
Save danitool/2cedb083ff11ee841aeb3722ff893964 to your computer and use it in GitHub Desktop.
commands to configure the broadcom propietary driver in WDS pure bridge mode (no stations allowed)
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
-- remove the driver to clean up -- | |
wlctl -i wl0 down | |
rmmod wl | |
insmod wl | |
-- set WPA2-AES encryption -- | |
wlctl -i wl0 wsec 4 | |
wlctl -i wl0 wpa_auth 128 | |
wlctl -i wl0 wsec_restrict 1 | |
wlctl -i wl0 eap 0 | |
wlctl -i wl0 ssid HungryCat | |
wlctl -i wl0 ap 1 | |
wlctl -i wl0 ap_isolate 0 | |
killall nas | |
nas -i wl0 -A -m 64 -w 4 -s HungryCat -g 3600 -k supersecret321 | |
ifconfig wl0 up | |
brctl addif br0 wl0 | |
-- configure WDS, use the remote MAC -- | |
wlctl -i wl0 wds 00:22:22:22:22:22 | |
ifconfig wds0.1 up | |
brctl addif br0 wds0.1 | |
-- use only WDS, no AP, pure bridge -- | |
wlctl -i wl0 bss -C 0 down | |
wlctl -i wl0 channel 8 | |
wlctl -i wl0 up | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment