PDA

View Full Version : [ubuntu] How do I change MAC address



napsterved
July 9th, 2009, 12:21 PM
I'm using Ubuntu 9.04..
My ISP has MAC bounded my service on my Laptop's MAC Address (Physical Address), in windows I used to change (mask) the MAC address using an application called MAC Address Changer.
Is there any solution in Ubuntu for chaging the MAC Address temporarily. And to connect net I have to type "sudo pon dsl-provider"..
How can I create a dialer of it?

vikrant82
July 9th, 2009, 01:20 PM
How about:


sudo ifconfig eth1 down hw ether aa:aa:aa:aa:aa:aa
sudo ifconfig eth1 up

eth1 depends upon interface you are using. For wired network, it would be eth0

napsterved
July 9th, 2009, 08:26 PM
It gives me an error

sudo: ipconfig: command not found

vikrant82
July 9th, 2009, 08:30 PM
ifconfig

napsterved
July 9th, 2009, 08:49 PM
Thanx a ton..
it worked 4 me..

martcharb
December 9th, 2010, 01:34 AM
How about:



eth1 depends upon interface you are using. For wired network, it would be eth0

when i try:
sudo ifconfig ra0 down hw ether D8:5D:4C:8E:58:ED

is say:
SIOCSIFHWADDR: Invalid argument