Change network card MAC address
- Category: Servers
- Published: Monday, 21 January 2019 13:45
- Written by Super User
- Hits: 1806
Some ISPs provide get access to the Internet only for a specific MAC address.
You can manually change the MAC address and do not communicate with the provider for the change settings.
To do this, perform these steps:
1.When you first connect, write the network card MAC address on the phone, in a text file, or elsewhere, just do not forget in the future
2. If you change the network card executes the command
sudo ifconfig eth0 hw ether xx:xx:хx:xx:xx:хx
where eth0 is the name of our network card, and xx: xx: xx: xx: xx: xx - the MAC address of the old network card
Check that everything is working and the internet has started
3. Now make this MAC address permanent. To do this, add the line in /etc/network/interfaces to the network card configuration:
hwaddress ether xx:xx:хx:xx:xx:хx
That's actually all. Internet is working again.