Root slow at startup when NOT connected to the internet

The problem is sorted (for me at least).

I had to change the name of the computer. If you go to System Preference -> Sharing and type the same name on the Computer Name as for example,
tesla

then match it with command via terminal:
sudo scutil --set HostName tesla.local

when these two are different, root hangs at startup.

I hope this helps.