Restart networking services on Mac OSX
There is no /etc/init.d/networking at Mac OSX like in Ubuntu.
sudo ifconfig en0 down
sudo ifconfig en0 up
Disabling and enabling the network interface will do the job.
If you have to do it via SSH use this command:
sudo ifconfig en0 down;sleep 1;sudo ifconfig en0 up
Recent Comments