Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Change Ethernet MAC address from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Change Ethernet MAC address from the Terminal
Authored by: thetatorment on Oct 15, '04 01:08:03PM

i'm on 10.3.5 and am trying to do this hack on my old g4. but everytime i try i get a : ifconfig: ioctl (SIOCAIFADDR): permission denied
message returned to me. i AM indeed the administrator on my machine so i don't know why i wouldn't have permission. does anyone know how i can get around this? like is there some special preference or permission i have to set up for terminal commands or something??? any help/input would be GREATLY appreciated! thanks to all of you in advance!
CHEERS!!!



[ Reply to This | # ]
you must type SUDO
Authored by: t3hl33t on Oct 22, '04 04:12:41AM

If you don't type the sudo it gives you that. You need to type sudo before it or you will get
ioctl (SIOCAIFADDR):permission denied

Also, this does work, the ip in the GUI will not change because it doesn't refresh.

Try this and see if it works
Open a terminal window and run these commands

sudo ifconfig en0 ether
(write down the number after ether, this is your mac address)
sudo ifconfig en0 ether <enter a new mac address here>
sudo ifconfig en0 ether
(compare the number with the written down one)



[ Reply to This | # ]