Jump to content

How to set MAC address automatically


jucas_lo
 Share

5 posts in this topic

Recommended Posts

Hi there...a quick question....

 

how can i set the mac address of my laptop automatically at start up?...

 

This is because I use a Broadcom 57xx that works perfectly with a *Modified* driver the only thing is that I have to do 

 

sudo ifconfig en0 ether [MAC ADDRESS] 

 

everytime I wanna connect to internet....which is pretty much always :) ...

 

so anyone knows how to do it?

Link to comment
Share on other sites

Yeah, I meant MAC address!!!!, because extrangely it is always set to 00:00:00.. by the OS..... anyway...I tried adding that line at the end of /etc/rc but it didn't work it said that en0 didn't exist or something I guess is because I have to load the kext before ..!!! as you said Headrush69...but exactly how do I add it??

Link to comment
Share on other sites

he clearly states that he want to set the MAC address, why would be otherwise?

Because I forgot ether was an alias for the lladdr option to ifconfig.

(It's was late and I haven't needed to use ifconfig in a while. :) )

 

jucas_lo, you can also add kextload drivername.kext to /etc/rc

Link to comment
Share on other sites

 Share

×
×
  • Create New...