PDA

View Full Version : help me get BIOCSHDRCMPLT ioctl working (etherspoof)




admiraldennis
Apr 9, 2004, 06:35 PM
So I want to software-spoof my airport MAC address on my iBook G4, for a variety of (non illegal) reasons. A lot of it is for internal testing on my home LAN and majorly at the office.

Now, I can compile mach_kernal fine, and it boots. I used Jeff Nathan's BIOCSHDRCMPLT-10.3.3 (http://cerberus.sourcefire.com/~jeff/archives/patches/macosx/BIOCSHDRCMPLT-10.3.3.patch) patch and a RAW4ALL (http://slagheap.net/etherspoof/517/RAW4ALL.patch) patch so non-root users can create raw sockets.

So, I figured I'd be able to ifconfig en1 ether 00:11:22:33:44:ff and that'd be that. It tells me, however, "ifconfig: ioctl (SIOCAIFADDR): Operation not supported" when I try to do this. To be honest, I'm not totally sure what BIOCSHDRCMPLT and SIOCAIFADDR mean. Am I entering the wrong commands? What should I be doing now to spoof my MAC? Is there any relation to libnet or nemesis?

Thanks.



realityisterror
Apr 9, 2004, 07:21 PM
call me stupid, but shouldn't it be ipconfig??
that makes more sense to me...

reality

Rincewind42
Apr 9, 2004, 07:31 PM
call me stupid, but shouldn't it be ipconfig??
that makes more sense to me...

reality

You would think so (and it is so on Windows) but it really is ifconfig...