Jump to content
1 post in this topic

Recommended Posts

I would like to run the following commands from a startup script:

 

# set MAC address

ifconfig en0 ether 12:34:56:78:90:AB

# renew IP

ipconfig set en0 BOOTP

ipconfig set en0 DHCP

 

 

So far I already tried to add them to /etc/rc, but it appears that the network isn't initialized when the script gets executed.

 

Is there another startup script I could use? Any other suggestions?

 

Thanks,

JST

Link to comment
https://www.insanelymac.com/forum/topic/17647-ifconfig-from-startup-script/
Share on other sites

×
×
  • Create New...