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

unable to change AP mac #499

Open
danio0701 opened this issue Jul 8, 2022 · 9 comments
Open

unable to change AP mac #499

danio0701 opened this issue Jul 8, 2022 · 9 comments

Comments

@danio0701
Copy link

Hi, I want to change every reboot AP mac. I used command set sta_mac random but every reboot device have same AP Mac.
of course I tried use command like set ap_mac random but it not exist and return "Invalid argument".

I also tried set ap_mac 01:0:5e:00:03:fb but it gives also "Invalid argument".

Any advice?

@danio0701
Copy link
Author

danio0701 commented Jul 8, 2022

I see that if I send set ap_mac 01:0a:5e:00:03:fe it return "AP MAC set" but when I run command from mac terminal I see still same mac address
`(192.168.4.1) at ee:fa:bc:28:28:c on en0 ifscope [ethernet]

(224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]

(239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]`

I want to change this wifi mac address ee:fa:bc:28:28:c

@martin-ger
Copy link
Owner

Did you do a "save" after changing the parameters and resetting?

@danio0701
Copy link
Author

no

@danio0701
Copy link
Author

let me check then. I had no idea need to save

@danio0701
Copy link
Author

danio0701 commented Jul 8, 2022

Did you do a "save" after changing the parameters and resetting?

Trying 192.168.4.1...
Connected to 192.168.4.1.
Escape character is '^]'.
CMD>set ap_mac ee:ff:ff:ff:ff:0f
AP MAC set
CMD>save
Config saved
CMD>

when I use on my mac /usr/sbin/arp -a I still got same mac address "ee:fa:bc:28:28:c"

? (192.168.4.1) at ee:fa:bc:28:28:c on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]

I tried also with random but same result

@danio0701
Copy link
Author

Sorry for answers. After all I had to run also command: reset

@danio0701
Copy link
Author

danio0701 commented Jul 8, 2022

I get one problem more. Now ap mac change but after it there is new value ff:ff:ff:ff:ff:ff

? (192.168.4.1) at 0:7f:1c:a0:6c:b5 on en0 ifscope [ethernet]
? (192.168.4.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]

how to remove or set the normal value for this 192.168.4.255?

I also noticed that random not works for ap mac

@danio0701 danio0701 reopened this Jul 8, 2022
@RolandDaum
Copy link

How did you changed the wifi mac address? Can you explain

@martin-ger
Copy link
Owner

set [ap_mac|sta_mac] xx:xx:xx:xx:xx:xx
save
reset

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