Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify BSSID #277

Open
xichuanxc opened this issue Apr 12, 2024 · 3 comments
Open

Cannot modify BSSID #277

xichuanxc opened this issue Apr 12, 2024 · 3 comments

Comments

@xichuanxc
Copy link

I have tried adding option macaddr and option bssid in both config wifi-device and wifi-iface section of /etc/config/wireless file. But it didn't work.

ImmortalWrt 21.02-SNAPSHOT r20511-9a211f4270

@benboguan
Copy link
Contributor

Not supported yet, wait.....

@padavanonly
Copy link
Contributor

2gdat="$(l1dat if2dat ra0)"
5gdat="$(l1dat if2dat rax0)"
2gmac="xx:xx"
5gmac="xx:xx"
echo "MacAddress=$2gmac" >> ${2gdat}
echo "MacAddress=$5gmac" >> ${5gdat}

reboot router

@xichuanxc
Copy link
Author

2gdat="$(l1dat if2dat ra0)" 5gdat="$(l1dat if2dat rax0)" 2gmac="xx:xx" 5gmac="xx:xx" echo "MacAddress=$2gmac" >> ${2gdat} echo "MacAddress=$5gmac" >> ${5gdat}

reboot router

It didn't work, I only need to change the BSSID of 5G hotspot, and I got the result:

root@Easy:~# bash /root/change_5g_bssid.sh
/root/change_5g_bssid.sh: line 2: l1dat: command not found
/root/change_5g_bssid.sh: line 6: ${dat5g}: ambiguous redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants