Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| fr:toh:mikrotik:common [2020/11/30 20:33] – created bikepunk | fr:toh:mikrotik:common [2022/11/12 19:20] – [Downloading OpenWrt images for Mikrotik RouterBoards] remove outdated info f00b4r0 | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| The latest OpenWrt images can be downloaded from [[https:// | The latest OpenWrt images can be downloaded from [[https:// | ||
| - | Most OpenWrt supported RouterBoards are Atheros-based hardware: in that case, after selecting a release, go to the targets/ | ||
| - | For example, to download the 19.07.4 OpenWrt images for the (Atheros-based) RB450G, download from [[https:// | ||
| - | |||
| - | |||
| - | After the commit of [[https:// | ||
| - | This page has been updated to reflect this simplifying change used in OpenWrt Version 18 for the Mikrotik RouterBoards. | ||
| - | |||
| There will be just two images needed to install OpenWrt for any particular Mikrotik RouterBoard hardware platform: | There will be just two images needed to install OpenWrt for any particular Mikrotik RouterBoard hardware platform: | ||
| - The specific initramfs image to be downloaded into RAM during an initial netboot of the RouterBoard. | - The specific initramfs image to be downloaded into RAM during an initial netboot of the RouterBoard. | ||
| - | - The specific sysupgrade .bin image to be flashed into the Mikrotik router using the LuCI web interface. The correct | + | - The specific sysupgrade .bin image to be flashed into the Mikrotik router using the LuCI web interface |
| - | * Type of WiFi (AC vs. non-AC) installed on the RouterBoard. The 802.11 a/b/g/n WiFi products are ' | + | |
| - | * Size and type (NAND vs. NOR) of flash on the RouterBoard | + | |
| <WRAP leftalign round info 60%> | <WRAP leftalign round info 60%> | ||
| Line 66: | Line 57: | ||
| </ | </ | ||
| </ | </ | ||
| - | |||
| - | The following table explains the general convention of initramfs and sysupgrade file names, but does have exceptions. For example, for the nand-large images, it is quite model-specific whether you use the initramfs.elf or initramfs-lzma.elf image.\\ | ||
| - | The above [[toh: | ||
| - | ^ Flash Size | ||
| - | ^ ::: | ||
| - | | 16 MB NOR | rb-nor-flash-16M | ||
| - | | ::: | ::: | ||
| - | | 64 MB NAND | nand-64m | ||
| - | |128 MB NAND (or larger) | nand-large | ||
| - | |::: | ::: | ||
| - | |||
| - | Refer to the OpenWrt [[toh: | ||
| - | |||
| - | <WRAP leftalign round important 60%> | ||
| - | If you add packages to your installed version of OpenWrt (via opkg or LuCI), be careful to use the packages that are compiled specifically for the version of sysupgrade .bin you have running on your RouterBoard. | ||
| - | For example, if you decide to run nightly snapshots, be aware you'll want to also install and run the packages from that specific snapshot - each time you update the snapshot, you'll want to update both the sysupgrade .bin AND the packages you are using. | ||
| - | </ | ||
| - | |||
| - | <WRAP leftalign round important 60%> | ||
| - | If you are using a snapshot (e.g. for the RB750Gr3), there is no LuCI contained. The flashing can still be done using SSH as outlined in [[docs: | ||
| - | </ | ||
| ===== Netboot of OpenWrt Uses DHCP/ | ===== Netboot of OpenWrt Uses DHCP/ | ||
| Line 340: | Line 310: | ||
| ===== Step-By-Step OpenWrt Installation Processes on Routerboard ===== | ===== Step-By-Step OpenWrt Installation Processes on Routerboard ===== | ||
| - | ==== With a Linux and other unix-like | + | ==== Avec un système d' |
| - | * [[# | + | * [[# |
| - | * Download | + | * [[# |
| - | * Connect to web interface | + | * Dans un navigateur |
| - | * Go to " | + | * Aller dans " |
| - | * Go to " | + | * Aller dans " |
| - | * Unplug power. | + | * Débrancher l' |
| - | * Create the following | + | * Avec un éditeur de texte, créer le script |
| - | Note: Don't forget to change | + | Note : Ne pas oublier de changer |
| #!/bin/bash | #!/bin/bash | ||
| Line 369: | Line 339: | ||
| --tftp-root=$(pwd) | --tftp-root=$(pwd) | ||
| - | * Copy openwrt-19.07-*-initramfs-* | + | * Copier le fichier |
| - | * Make the script executable | + | * Rendre le scipt exécutable : |
| $ chmod +x loader.sh | $ chmod +x loader.sh | ||
| - | * Run script loader.sh | + | * Lancer le script loader.sh |
| # ./loader.sh | # ./loader.sh | ||
| - | * Plug ethernet | + | * Brancher le câble |
| - | * In the terminal | + | * Dans le terminal |
| - | * Kill the script (Ctrl + c). | + | * Arrêter le script (Ctrl + c). |
| * [[#Flash OpenWrt]] | * [[#Flash OpenWrt]] | ||
| - | * Connect | + | * Connecter le câble |
| - | * Connect to web interface | + | * Dans un navigateur |
| - | * Check correct functioning of OpenWrt. | + | * Vérifier que OpenWrt |
| - | * Go to System-> | + | * Aller dans System-> |
| - | * Click on ' | + | * Cliquer sur ' |
| - | * Click on 'Flash image' | + | * Cliquer sur 'Flash image' |
| - | * Congratulations, you installed | + | * Félicitations, OpenWrt |
| ==== using SSH instead on LuCI ==== | ==== using SSH instead on LuCI ==== | ||
| Line 435: | Line 405: | ||
| If your model is not yet supported by trunk, you need to download compile and patch OpenWrt sources. Always check if the model specific wiki instructions could already be obsolete and the necessary patches have already been integrated before embarking into compilation. | If your model is not yet supported by trunk, you need to download compile and patch OpenWrt sources. Always check if the model specific wiki instructions could already be obsolete and the necessary patches have already been integrated before embarking into compilation. | ||
| - | Full instructions are at [[docs: | + | Full instructions are at [[docs: |
| OpenWrt sources are available via two release management systems, svn and git. If the model specific instructions specified one, use that, otherwise use git (faster). | OpenWrt sources are available via two release management systems, svn and git. If the model specific instructions specified one, use that, otherwise use git (faster). | ||