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

Document how to change MAC addresses #3

Open
mavam opened this issue Jun 18, 2013 · 3 comments
Open

Document how to change MAC addresses #3

mavam opened this issue Jun 18, 2013 · 3 comments

Comments

@mavam
Copy link
Member

mavam commented Jun 18, 2013

This article points out how to change MAC addresses on all major platforms. It's a common procedure, specifically in the WiFi world, and thus needs get incorporated into the hacksheet.

@mavam
Copy link
Member Author

mavam commented Apr 24, 2014

Also relevant:

# ifconfig eth0 down
# ifconfig eth0 hw ether 00:01:02:03:04:05      # Linux
# ifconfig fxp0 link 00:01:02:03:04:05          # FreeBSD
# ifconfig hme0 ether 00:01:02:03:04:05         # Solaris
# sudo ifconfig en0 ether 00:01:02:03:04:05     # OS X Tiger, Snow Leopard LAN*
# sudo ifconfig en0 lladdr 00:01:02:03:04:05    # OS X Leopard

Source: http://cb.vu/unixtoolbox.xhtml

@jethrogb
Copy link
Member

iproute version:

ip link set eth0 down
ip link set eth0 address 00:01:02:03:04:05

I don't believe this part: "Normally you have to bring the interface down before the change."

@mavam
Copy link
Member Author

mavam commented Apr 24, 2014

I don't believe this part: "Normally you have to bring the interface down before the change."

When I was doing a lot of WiFi stuff in the past (5+ years ago), at least on Linux, it was necessary to bring down the interface for the change to be effective. Maybe that has changed since?!

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

No branches or pull requests

2 participants