feross / SpoofMAC

:briefcase: Change your MAC address for debugging
https://feross.org/spoofmac/
3.02k stars 271 forks source link

"Connection Timeout" #21

Closed niklassemmler closed 10 years ago

niklassemmler commented 10 years ago

Whenever I change the MAC address I am unable to connect to any access point. I get a "Connection Timeout" message.

The changed ethernet address appears in the "ifconfig" output, but not in the output of "networksetup -listallhardwareports".

OSX Lion on a MBP from 2007 using my wi-fi en1 adapter.

feross commented 10 years ago

Are you setting the address manually or using the "randomize" function. If you try to set the address manually to something that's invalid then you'll get weird behavior. Lots of MAC addresses in the right format are actually invalid -- so don't assume that you're fine just because you followed the 00:00:00:00:00:00 format.

niklassemmler commented 10 years ago

I do use the randomize function both from the terminal and via your startup script. I also tried the commands manually on the command line, there I used MAC addresses that differed in only one digit from my original.

Could it be that my old MBP (early 2007) checks for spoofing and discards those packets?

On Dec 8, 2013, at 6:40 AM, Feross Aboukhadijeh wrote:

Are you setting the address manually or using the "randomize" function. If you try to set the address manually to something that's invalid then you'll get weird behavior. Lots of MAC addresses in the right format are actually invalid -- so don't assume that you're fine if you follow the 00:00:00:00:00:00 format.


Reply to this email directly or view it on GitHub: https://github.com/feross/SpoofMAC/issues/21#issuecomment-30075588

feross commented 10 years ago

there I used MAC addresses that differed in only one digit from my original

What digit did you change? The last one?

Could it be that my old MBP (early 2007) checks for spoofing and discards those packets?

Very unlikely. More likely that SpoofMAC has a bug.

TkTech commented 10 years ago

Closing, since there hasn't been a reply in 3 months and I'm unable to reproduce on 10.8 or 10.9.

frace commented 10 years ago

I'd like to add myself to the list of users not being able to connect to networks (instant timeout) after randomizing the mac address on the terminal. I do use an early 2007 MBP with OS X Lion, too. If you need any input then just let me know please.

feross commented 10 years ago

I think somewhere along the line we probably changed something that broke compatibility on older hardware. Or perhaps it never worked on Lion with older hardware. Unfortunately, I don't have an old Mac to debug this on.

Out of curiosity, could you give spoof a try and see if that works?

frace commented 10 years ago

I found out it's a limitation of the driver (rtl8192 usb dongle). The only way that worked to change its mac address is to add a parameter before loading the kernel module (linux). I don't know how to do something similar on OS X.

feross commented 10 years ago

Ah, okay. Thanks for updating.