Computing.Net > Forums > Linux > change MAC address

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

change MAC address

Reply to Message Icon

Name: lambousa
Date: August 14, 2005 at 18:54:37 Pacific
OS: suse 9.3
CPU/Ram: amd2400/512MB
Comment:

I understand that it not possible to change the physical MAC address of a network adapter but is it possible to change its MAC address at the software level. I have tried via:

"ifconfig eth0 hw ether 00:4F:49:1D:8B:5E" (for example)

but I get the response "device or resource busy" and the MAC address remains the same.

Does anybody know of an alternative method?

The problem is that the ethernet facility on my motherboard seems to think that its MAC address is: 00:00:00:00:00:00 and in linux I can't get internet!



Sponsored Link
Ads by Google

Response Number 1
Name: Jake2
Date: August 14, 2005 at 19:03:17 Pacific
Reply:

You need to "ifconfig eth0 down" first, then change the MAC, and "ifconfig eth0 up" to use it.


0

Response Number 2
Name: lambousa
Date: August 14, 2005 at 22:08:24 Pacific
Reply:

Thanks Jake for the tip. However, after up-ing the eth0 after the MAC switch, I can't seem to get the connection at all....

Anymore advice would be really appreciated,
Dave


0

Response Number 3
Name: Jake2
Date: August 14, 2005 at 22:56:48 Pacific
Reply:

Did you reconfigure the IP address after up-ing it? If you use DHCP, you'll probably want to kill and relaunch dhcpcd or possibly dhclient. For static IPs, use ifconfig.


0

Response Number 4
Name: lambousa
Date: August 15, 2005 at 07:14:14 Pacific
Reply:

You are absolutely right - I did not. Could you tell me what I would type to kill and relaunch the DHCP facility? Sorry to be so high maintenance, but I'm learning linux piece by piece!
Dave


0

Response Number 5
Name: Jake2
Date: August 15, 2005 at 07:21:11 Pacific
Reply:

killall dhcpcd
dhcpcd

or if you use dhclient (you can use "ps ax" to list running processes and find out)

killall dhclient
dhclient


0

Related Posts

See More



Response Number 6
Name: lambousa
Date: August 16, 2005 at 05:17:32 Pacific
Reply:

Thanks Jake - that worked perfectly!
Dave


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: change MAC address

I want to change MAC address in Linux www.computing.net/answers/linux/i-want-to-change-mac-address-in-linux/8256.html

I want to change MAC address in Linux www.computing.net/answers/linux/i-want-to-change-mac-address-in-linux/8168.html

MAC Address www.computing.net/answers/linux/mac-address/19083.html