Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have to change the MAC address of my Macbook due to ISP issues. I changed it using:

sudo ifconfig en1 ether my_new_mac_address

And it is changed successfully when I check it through:

ifconfig en1 | grep ether

It returns

ether my_new_mac_address

But when I ping google, It can't resolve that, which means it is not connecting to the Internet. Am I missing something?

The IP and gateway was set perfectly.

N.B:The spoofing worked in the same way in Ubuntu, it is connected to internet.

share|improve this question
Try ping If it works, then your DNS settings are not okay. –  jweyrich Feb 22 '12 at 1:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.