immortalwrt-mt798x icon indicating copy to clipboard operation
immortalwrt-mt798x copied to clipboard

Cannot modify BSSID

Open xichuanxc opened this issue 10 months ago • 3 comments

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

xichuanxc avatar Apr 12 '24 04:04 xichuanxc

Not supported yet, wait.....

benboguan avatar Apr 12 '24 05:04 benboguan

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

reboot router

padavanonly avatar Apr 12 '24 08:04 padavanonly

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

xichuanxc avatar Apr 13 '24 03:04 xichuanxc