How to change mac adress via SSH?


Recommended Posts

So i finally upgraded my server, everthing seems to work just fine, besides that i need to change mac adress in order to get access again...

 

How can i change the mac adress via ssh?

 

/boot/config/network.cfg ? What to add?

 



# Generated settings:
IFNAME[0]="br0"
BRNAME[0]="br0"
BRSTP[0]="no"
BRFD[0]="0"
BRNICS[0]="eth0"
DESCRIPTION[0]="LAN1"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="yes"
DHCP_KEEPRESOLV="yes"
DNS_SERVER1="8.8.8.8"
DNS_SERVER2="8.8.4.4"
DNS_SERVER3="1.1.1.1"
USE_DHCP6[0]="yes"
DHCP6_KEEPRESOLV="no"
MTU[0]="1436"
SYSNICS="1"

Edited by nuhll
Link to comment
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.