Difference between revisions of "Manual:Netinstall"

From MikroTik Wiki
Jump to: navigation, search
(Interface)
Line 1: Line 1:
== NetInstall Description ==
+
=Introduction=
  
NetInstall is a program that runs on Windows computer that allows you to install, reinstall or reset MikroTiK RouterOS onto a PC or onto a RouterBOARD via Ethernet cable.  
+
Netinstall is a tool designed for Windows operating systems to reinstall MikroTik devices running RouterOS (except x86 devices). Netinstall re-formats the device's disk and copies over fresh files on to the system's disk, this can solve multiple issues when your device is not working properly. Always try using Netinstall if you suspect that your device is not working properly.
  
You can download Netinstall on [http://www.mikrotik.com/download.html our download page].
+
{{ Warning | Netinstall re-formats the system's drive, all configuration and saved files will be lost. Netinstall does not reset RouterBOOT related settings, for example, CPU frequency is not changed after reinstalling the device. }}
  
* Your device must support booting from ethernet, and there must be a direct ethernet link from the Netinstall computer to the target device. All RouterBOARDs support network booting from Ether1 port. Exceptions are RB1100 / RB1200 and CCR devices which support network booting from the last ethernet port.
+
=How to use Netinstall=
  
* Netinstall can also directly install RouterOS on a disk (USB/CF/IDE/SATA (might require Legacy settings)) that is connected to the Netinstall Windows machine. After installation just move the disk to the Router machine and boot from it.
+
* Download '''Netinstall''' from [[ https://mikrotik.com/download our downloads]] page.
  
{{Warning| All files stored on built in storage will be erased during Netinstall process. }}
+
{{ Note | You must choose a version for the Netinstall. If you are not sure, then you can always select the version that is marked as '''Current'''. }}
  
== Interface ==
+
* Download RouterOS '''Main package''' from [[ https://mikrotik.com/download our downloads]] page.
  
The following options are available in the Netinstall window:
+
{{ Note | You must choose a RouterOS version. You can always select the version that is marked as '''Current'''. You must also select the architecture (ARM, MIPS, SMIPS, TILE, etc...), but if you are not sure, then you can download the ROuterOS package for '''ALL''' architectures, Netinstall will choose the right architecture for you. }}
  
* '''Routers/Drives''' - list of PC drives, and in the routers that were detected near the Netinstall PC
+
* Disconnect your computer from WiFi, Ethernet, LTE or any other type of connections!
* '''Make floppy''' - used to create a bootable 1.44" floppy disk for PCs which don't have Etherboot support
 
* '''Net booting''' - used to enable PXE booting over network (your default choice)
 
* '''Install/Cancel''' - after selecting the router and selecting the RouterOS packages below, use this to start install
 
* '''SoftID''' - the SoftID that was generated on the router. Use this to purchase your key
 
* '''Key''' / '''Browse''' - apply the purchased key here, or leave blank to install a 24h trial
 
* '''Get key''' - get the key from your mikrotik.com account directly
 
* '''Flashfig''' - launch [[Flashfig]] - the mass config utility which works on brand new devices
 
* '''Keep old configuration''' - keeps the configuration that was on the router, just reinstalls software (no reset)
 
* '''IP address''' / "Netmask''' - enter IP address and netmask in CIDR notation to preconfigure in the router
 
* '''Gateway''' - default gateway to preconfigure in the router
 
* '''Baud rate''' - default serial port baud-rate to preconfigure in the router
 
* '''Configure script''' RouterOS export file [[Manual:Configuration_Management#Exporting_Configuration|produced by the export command]]. Any file supplied here will become the default configuration of the reinstalled router.
 
  
== Screenshot ==
+
{{ Warning | Netinstall will only work on one active interface on your computer, it is highly recommended that you disconnect any other network interfaces in order to be sure that Netinstall will select the right network interface. }}
  
[[File:2009-01-27 1224.jpg]]
+
* Configure a static IP address for your Ethernet interface, open '''Start''' and select '''Settings''':
  
* for installation over network, don't forget to enable the PXE server, and make sure Netinstall is not blocked by your firewall or antivirus. The connection should be directly from your Windows PC to the Router PC (or RouterBOARD), or at least through a switch/hub.
+
[[File:Netinstall_Win10_4.png | center]]
  
 +
{{ Note | Netinstall can run also on a local network, in such case you could skip setting a static IP address, but it is highly recommended that you set a static IP address if you are not familiar with Netinstall. }}
  
 +
* Open '''Network & Internet'''
  
== NetInstall Example ==
+
[[File:Netinstall_Win10_5.png | center]]
 
This is a step by step example of how to install RouterOS on a RouterBOARD from a typical notebook computer.  
 
  
====Requirements====
+
* Select '''Change adapter options'''
  
* Ethernet port.  
+
[[File:Netinstall_Win10_6.png | center]]
* The .npk RouterOS file(s) (not .zip file) of the RouterOS version that you wish to install onto the Routerboard.
 
* The NetInstall program available from the Downloads page at www.mikrotik.com
 
* It is recommended to disable any other Network interfaces in your PC, leave only the one which is connected to your router
 
* If your OS asks to run the program in administrator mode, try renaming it from netinstall.exe to mikrotik.exe (Windows 10 doesn't seem to like applications with "install" in their filename)
 
  
====Connection process====
+
* '''Right click''' on your Ethernet interface and select '''Properties'''
  
#Connect the RouterBOARD to a switch, a hub or directly to the computer via Ethernet. The computer Ethernet port will need to be configured with a usable IP address and subnet. For example: 10.1.1.10/24 (In Windows devices when static IP is being used, then you might require default gateway specified).
+
[[File:Netinstall_Win10_7.png | center]]
#Make sure that there are not other bootp servers running in your layer 2 network.
 
#Make sure that the firewall on the computer is disabled.
 
#Make sure that the computer network interface which is used for installation process is the only one enabled (for example, if computer has Ethernet and wireless interfaces available, then disable the one which is not connected to Netinstall subnet). Make sure that interfaces are disabled before you open Netinstall tool.
 
#Run the Netinstall program on your computer as an administrator.
 
#Press the Netinstall "Net booting" button, enable "Boot Server enabled"  and enter a valid, usable IP address (within the same subnet of the computer IP address) that the Netinstall program will assign to the RouterBOARD to enable communication with the computer. For example: 10.1.1.5/24.
 
#Start the RouterBOARD device with the [[Manual: Reset button | RESET button]] pushed, until you see the device in the Netinstall program interface.
 
  
{{Note| It is possible to run Netinstall tool also on macOS and Linux using Wine.}}
+
* Select '''Internet Protocol Version 4 (TCP/IPv4)''' and click '''Properties'''
{{Note| Netinstall process is not in any way affected by the RouterOS version installed on the router. Netinstall must work if it is properly configured, computer is not blocking it and up-to-date Netinstall version is used for each and every RouterBOARD as long as proper [[Manual: RouterBOOT | RouterBOOT]] is installed on the device.}}
 
  
==OPTIONAL: Configuring RouterBOARD with COM port==
+
[[File:Netinstall_Win10_8.png | center]]
  
All RouterBOARD devices can be reinstalled by using the above "RESET" button method, but there is an alternative. '''Optionally''', it is also possible to enable Network booting from the RouterBOARD "RouterBOOT" menu, which can be accessed with a serial cable.
+
* Check '''Use the following IP address''' and fill out the fields as shown in the image below
  
Default baud rate in Routerboard BIOS is 115200, to access  the configuration menu: reboot the Routerboard while observing the activity on the Serial Console. You will see the following prompt on the Serial Console “Press any key within 2 seconds to enter setup” indicating that you have a 1 or 2 second window of time when pressing any key will give you access to Routerboard BIOS configuration options.  
+
[[File:Netinstall_Win10_9.png | center]]
  
(press any key when prompted):
+
* Open your '''Downloads''' folder (or wherever you saved the downloaded files) and extract the Netinstall '''.zip''' file to a convenient place
  
You will see the following list of available BIOS Configuration commands. To set up the boot device, press the 'o' key:
+
[[File:Netinstall_Win10_1.png | center]]
 
What do you want to configure?
 
  d - boot delay
 
  k - boot key
 
  s - serial console
 
  l - debug level
 
  o - boot device
 
  b - beep on boot
 
  v - vga to serial
 
  t - ata translation
 
  p - memory settings
 
  m - memory test
 
  u - cpu mode
 
  f - pci back-off
 
  r - reset configuration
 
  g - bios upgrade through serial port
 
  c - bios license information
 
  x - exit setup
 
  
Next Selection: Press the 'e' key to make the RouterBoard to boot from Ethernet interface:
+
* Extract the files
  
Select boot device:
+
[[File:Netinstall_Win10_2.png | center]]
* i - IDE
 
  e - Etherboot
 
  1 - Etherboot (timeout 15s), IDE
 
  2 - Etherboot (timeout  1m), IDE
 
  3 - Etherboot (timeout  5m), IDE
 
  4 - Etherboot (timeout 30m), IDE
 
  5 - IDE, try Etherboot first on next boot (15s)
 
  6 - IDE, try Etherboot first on next boot (1m)
 
  7 - IDE, try Etherboot first on next boot (5m)
 
  8 - IDE, try Etherboot first on next boot (30m)
 
  
 +
* Run '''Netinstall.exe'''
  
The RouterBoard BIOS will return to the first menu. Press the 'x' key to exit from BIOS. The router will reboot.
+
[[File:Netinstall_Win10_3.png | center]]
* Make sure boot-protocol is '''bootp'''.
 
  
====Installation====
+
{{ Note | If you followed the guide precisely, then you should not have any Internet connection on your computer, Windows 10 wants to verify all apps that it runs, but will not be able to do it since of the lack of the Internet connection, for this reason a warning might pop up, you should click '''Run'''. }}
  
Watch the serial console as the RouterBoard reboots, it will indicate that the RouterBoard is attempting to boot to the NetInstall program.
+
[[File:Netinstall_Win10_10.png | center]]
The NetInstall program will give the RouterBoard the IP address you entered at Step 4 (above), and the RouterBoard will be ready for software installation. Now you should see the MAC Address of the RouterBoard appear in the Routers/Drives list of the NetInstall program.  
 
  
[[Image:NetinstallStart.png]]
+
{{ Warning | Netinstall requires administrator rights, there should be a window asking for permissions to run Netinstall, you must accept these permissions in order for Netinstall to work properly. }}
  
Click on the desired Router/Drive entry and you will be able to configure various installation parameters associated with that Router/Drive entry.
+
* Allow access for Netinstall in '''Public''' networks
  
[[Image:Nconfig.PNG]]
+
[[File:Netinstall_Win10_11.png | center]]
  
'''For most Re-Installations of RouterOS on RouterBoards you will only need to set the following parameter:'''  
+
* Configure '''Ņet booting''' settings and fill out the required fields as shown in the image below
  
Press the "Browse" button on the NetInstall program screen. Browse to the folder containing the .npk RouterOS file(s) of the RouterOS version that you wish to install onto the Routerboard.  
+
[[File:Netinstall_Win10_12.png | center]]
  
[[Image:NConfig3.png]]
+
* Connect your device to your computer using an '''Ethernet''' cable directly (without any other devices in-between)
  
When you have finalized the installation parameters, press the "Install" button to install RouterOS.  
+
[[File:Netinstall_Win10_18.png | center]]
  
[[Image:NetinstallC4.png]]
+
* Power up your device and put it into [[Manual:Etherboot | Etherboot]] mode
  
When the installation process has finished, press 'Enter' on the console or 'Reboot' button in the NetInstall program.
+
{{ Note | There are multiple ways how to put your device into Etherboot mode. Make sure you read [[Manual:Etherboot | Etherboot]] manual before trying to put the device into this mode. Methods vary between different MikroTik devices. }}
  
[[Image:NetinstallC5.png]]
+
* Wait for the device to show up in Netinstall, select it and press '''Browse...'''
  
====Cleanup====
+
[[File:Netinstall_Win10_13.png | center]]
  
1. Reset the BIOS Configuration of the RouterBoard to boot from its own memory.  
+
{{ Note | If the device does not show up in this window, then you can try closing the Netinstall application and opening it up again or try to put the device into [[Manual:Etherboot | Etherboot]] mode again. }}
  
[[Image:NetinstallC6.png]]
+
* Navigate to your '''Downloads''' folder (or wherever you saved your RouterOS packages) and press '''OK'''
  
2. Reboot the RouterBoard.
+
[[File:Netinstall_Win10_14.png | center]]
  
 +
* Select your desired RouterOS version and press '''Install'''
  
====Reset RouterOS Password====
+
{{ Note | If you downloaded RouterOS packages for multiple architectures, then Netinstall will only show the appropriate architecture packages for your device after you have selected it. All unsupported packages will not show up in this window after you have selected a device. }}
  
Netinstall can be used to reset password of RouterOS by erasing all configuration from the router. Uncheck 'Keep Old Configuration' during Netinstall and proceed with standard procedure,
+
[[File:Netinstall_Win10_15.png | center]]
  
[[Image:PasswordReset.png]]
+
* Wait for the installation to finish and press "Reboot"
  
{{Cont}}
+
[[File:Netinstall_Win10_17.png | center]]
  
[[Category:Manual|N]]
+
{{ Note | If the installation does not start (progress bar is not moving or no status is shown), then you can try closing the Netinstall application and opening it up again or try to put the device into [[Manual:Etherboot | Etherboot]] mode again.
[[Category:Routerboard|n]]
+
 
[[Category:Basic|N]]
+
* You are done! Remove the device from power, remove the Ethernet cable, place the device back in your network and your device should be running properly now!
[[Category:Install|N]]
+
 
 +
{{ Note | After using Netinstall the device will be reset to defaults (unless specified not to apply default configuration). Some devices are not accessible through '''ether1''' port with the default configuration for security reasons. Read more about [[Manual:Default_Configurations | Default configuration]]. }}

Revision as of 18:34, 31 May 2018

Introduction

Netinstall is a tool designed for Windows operating systems to reinstall MikroTik devices running RouterOS (except x86 devices). Netinstall re-formats the device's disk and copies over fresh files on to the system's disk, this can solve multiple issues when your device is not working properly. Always try using Netinstall if you suspect that your device is not working properly.

Icon-warn.png

Warning: Netinstall re-formats the system's drive, all configuration and saved files will be lost. Netinstall does not reset RouterBOOT related settings, for example, CPU frequency is not changed after reinstalling the device.


How to use Netinstall

Icon-note.png

Note: You must choose a version for the Netinstall. If you are not sure, then you can always select the version that is marked as Current.


Icon-note.png

Note: You must choose a RouterOS version. You can always select the version that is marked as Current. You must also select the architecture (ARM, MIPS, SMIPS, TILE, etc...), but if you are not sure, then you can download the ROuterOS package for ALL architectures, Netinstall will choose the right architecture for you.


  • Disconnect your computer from WiFi, Ethernet, LTE or any other type of connections!
Icon-warn.png

Warning: Netinstall will only work on one active interface on your computer, it is highly recommended that you disconnect any other network interfaces in order to be sure that Netinstall will select the right network interface.


  • Configure a static IP address for your Ethernet interface, open Start and select Settings:
Netinstall Win10 4.png
Icon-note.png

Note: Netinstall can run also on a local network, in such case you could skip setting a static IP address, but it is highly recommended that you set a static IP address if you are not familiar with Netinstall.


  • Open Network & Internet
Netinstall Win10 5.png
  • Select Change adapter options
Netinstall Win10 6.png
  • Right click on your Ethernet interface and select Properties
Netinstall Win10 7.png
  • Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
Netinstall Win10 8.png
  • Check Use the following IP address and fill out the fields as shown in the image below
Netinstall Win10 9.png
  • Open your Downloads folder (or wherever you saved the downloaded files) and extract the Netinstall .zip file to a convenient place
Netinstall Win10 1.png
  • Extract the files
Netinstall Win10 2.png
  • Run Netinstall.exe
Netinstall Win10 3.png
Icon-note.png

Note: If you followed the guide precisely, then you should not have any Internet connection on your computer, Windows 10 wants to verify all apps that it runs, but will not be able to do it since of the lack of the Internet connection, for this reason a warning might pop up, you should click Run.


Netinstall Win10 10.png
Icon-warn.png

Warning: Netinstall requires administrator rights, there should be a window asking for permissions to run Netinstall, you must accept these permissions in order for Netinstall to work properly.


  • Allow access for Netinstall in Public networks
Netinstall Win10 11.png
  • Configure Ņet booting settings and fill out the required fields as shown in the image below
Netinstall Win10 12.png
  • Connect your device to your computer using an Ethernet cable directly (without any other devices in-between)
Netinstall Win10 18.png
  • Power up your device and put it into Etherboot mode
Icon-note.png

Note: There are multiple ways how to put your device into Etherboot mode. Make sure you read Etherboot manual before trying to put the device into this mode. Methods vary between different MikroTik devices.


  • Wait for the device to show up in Netinstall, select it and press Browse...
Netinstall Win10 13.png
Icon-note.png

Note: If the device does not show up in this window, then you can try closing the Netinstall application and opening it up again or try to put the device into Etherboot mode again.


  • Navigate to your Downloads folder (or wherever you saved your RouterOS packages) and press OK
Netinstall Win10 14.png
  • Select your desired RouterOS version and press Install
Icon-note.png

Note: If you downloaded RouterOS packages for multiple architectures, then Netinstall will only show the appropriate architecture packages for your device after you have selected it. All unsupported packages will not show up in this window after you have selected a device.


Netinstall Win10 15.png
  • Wait for the installation to finish and press "Reboot"
Netinstall Win10 17.png

{{ Note | If the installation does not start (progress bar is not moving or no status is shown), then you can try closing the Netinstall application and opening it up again or try to put the device into Etherboot mode again.

  • You are done! Remove the device from power, remove the Ethernet cable, place the device back in your network and your device should be running properly now!
Icon-note.png

Note: After using Netinstall the device will be reset to defaults (unless specified not to apply default configuration). Some devices are not accessible through ether1 port with the default configuration for security reasons. Read more about Default configuration.