A simple method to change the MAC address in Ubuntu

Source: Internet
Author: User
To share the simple method of changing the MAC address in Ubuntu, first drop the NIC device. Otherwise, the system will be reported to be busy and cannot be changed. Sudoifconfigeth0down and then modify the MAC address. This step is much simpler than the graphical modification in Windows. Sudoifconfigeth0hwether00: AA: BB: CC: DD: EE (your MAC address, casually, XXOO, anyway, it is 0-9, A-F on

The following is a simple way to change the MAC address in Ubuntu:

First, remove the NIC device. Otherwise, the system is reported to be busy and cannot be changed.

Sudo ifconfig eth0 down

Then modify the MAC address. This step is much simpler than the graphical modification in Windows.

Sudo ifconfig eth0 hw ether 00: AA: BB: CC: DD: EE (your MAC address, whatever it is, XXOO, anyway is 0-9, A-F on the line)

After the change, the NIC device should be up, and then the network service can be restarted for the sake of insurance, so proceed to F1.

Sudo ifconfig eth0 up

Sudo/etc/init. d/networking restart

Tip: the MAC address will be restored after the restart, which is only a temporary modification solution.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.