Does anyone know the correct commands to configure non DHCP Ethernet connection that I can use in Recovery Mode?
I was only able to set the IP Address and subnet mask using the ipconfig command:
How do I enter the IP address for the router?
Edit:
The following suggestion provided by bogdanw worked:
Example:
I was only able to set the IP Address and subnet mask using the ipconfig command:
Code:
ipconfig set en0 manual ip-address subnet-mask
How do I enter the IP address for the router?
Edit:
The following suggestion provided by bogdanw worked:
/Volumes/Macintosh\ HD/usr/sbin/networksetup -setmanual networkservice ip subnet router
Example:
/Volumes/Macintosh\ HD/usr/sbin/networksetup -setmanual ethernet 10.20.30.25 255.255.255.0 10.20.30.10
Last edited: