jucas_lo Posted August 7, 2007 Share Posted August 7, 2007 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 More sharing options...
Headrush69 Posted August 7, 2007 Share Posted August 7, 2007 You mean IP address, not MAC address right? You can add commands to /etc/rc to run at boot time. (Just make sure to load the kext needed for that driver if it doesn't autoload.) Link to comment Share on other sites More sharing options...
NeSuKuN Posted August 7, 2007 Share Posted August 7, 2007 he clearly states that he want to set the MAC address, why would be otherwise? anyway, the solution you provided probably works for him. Link to comment Share on other sites More sharing options...
jucas_lo Posted August 7, 2007 Author Share Posted August 7, 2007 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 More sharing options...
Headrush69 Posted August 7, 2007 Share Posted August 7, 2007 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 More sharing options...
Recommended Posts