How to change the MAC Address every start?

Issues related to configuring your network
Post Reply
CNoob
Posts: 28
Joined: 2018/03/17 15:43:08

How to change the MAC Address every start?

Post by CNoob » 2018/03/17 17:13:10

How to change the MAC Address every start of centos?

Edit: now i have installed macchanger-1.7.0-6.fc24.x86_64 this changes the mac easy. But how can i run this at startup?

Thank you for help.

User avatar
fdisk
Posts: 42
Joined: 2017/11/04 00:59:56

Re: How to change the MAC Address every start?

Post by fdisk » 2018/03/18 00:27:41

Centos 7 uses systemd instead of initd so you need to create systemd unit to execute any given bash script like described here:
https://access.redhat.com/documentation ... unit_files

CNoob
Posts: 28
Joined: 2018/03/17 15:43:08

Re: How to change the MAC Address every start?

Post by CNoob » 2018/03/20 19:50:04

Thank you!

Post Reply