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

Solving MAC address duplicate with Macchanger #1

Open
noibla74 opened this issue Jul 17, 2023 · 1 comment
Open

Solving MAC address duplicate with Macchanger #1

noibla74 opened this issue Jul 17, 2023 · 1 comment

Comments

@noibla74
Copy link

noibla74 commented Jul 17, 2023

To solve the same MAC address on nodes a possible solution is to:

install macchanger

Apt install macchanger

Create Bash script
for example vi setmac.sh with content
#!/bin/bash
ifconfig eth0 down
macchanger --mac=<mac address seperated by colon> eth0
ifconfig eth0 up

Make Bash script executable
chmod +x setmac.sh

Run Bash script
sudo setmac.sh

Note , the script helps to change the MAC address while the interface is not in use

@nerocide
Copy link
Owner

I did try macchanger with sinovoip provided armbian image few months ago.

Since bpi-cm4 official support on armbian I didn't encounter this issue again after writing distro on emmc.

I guess my testing array is a bit outdated now.

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

2 participants