Restoring Networking after Setting Up a new OS drive

Follow

Scope

This article explains the steps to get your device to check in after installing a new OS drive.

  • Be sure to contact Datto Tech Support before you begin this process since the complete process might require additional steps to be taken from Datto's side.

  • These steps also require on-site access to the device, as well as a connected monitor and keyboard.

For steps to swap the OS drive itself, see:

Process

  1. Once the new drive is in place, power on the device and let it boot.

  2. Once booted, access the command line and enter sudo su root. When prompted, enter the temporary root password, as provided by Technical Support.

  3. Once you have root access, enter ifconfig and verify that the MAC address - also listed under HWaddr -  matches your device serial number.



    If it does not match, you will need to perform a NIC reorder.

  4. Depending on the network settings, you have two options to restart networking:
    • To get a DHCP address, run the command dhclient <address of primary NIC, such as eth0> followed by /etc/init.d/networking restart

    • To set up a Static IP address, enter nano /etc/network/interfaces to edit the interfaces file and fill in the necessary details:

      auto <address of primary NIC, such as eth0>
      iface <address of primary NIC, such as eth0> inet static
      address x.x.x.x
      netmask 255.255.255.0
      gateway x.x.x.x
    • dns-nameservers x.x.x.x x.x.x.x

      To save: CTRL+O

      To exit: CTRL+X

  5. Restart networking by entering /etc/init.d/networking restart

  6. Finally, enter checkin; checkin; checkin; checkin; checkin; checkin;

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Head on over to our Community Forum!