| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| pt-br:docs:guide-user:troubleshooting:vendor_specific_rescue [2020/05/31 15:17] – [Procedimentos de recuperação de firmware genéricos do fabricante] malves | pt-br:docs:guide-user:troubleshooting:vendor_specific_rescue [2020/05/31 20:34] – malves |
|---|
| FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | |
| |
| ====== Recuperação de falha na atualização de firmware ====== | ====== Recuperação de falha na atualização de firmware ====== |
| |
| |
| ^ Fabricante ^ Procedimento ^ Links ^ | ^ Fabricante ^ Procedimento ^ Links ^ |
| | ASUS | TFTP-like procedimento de resgate com um utilitário do fabricante para ser instalado em um PC cliente. | [[https://www.asus.com/support/faq/1000814/ |Documentação oficial de recuperação da ASUS]] | | | ASUS | Um cliente tipo o TFTP do fabricante pode ser instalado em um PC para o procedimento de resgate. | [[https://www.asus.com/support/faq/1000814/ |Documentação oficial de recuperação da ASUS]] | |
| | D-Link | Vários dispositivos têm um dedicado [[#rescue_firmware_partition|partição de firmware de resgate]] a sua ROM flash. | | | | D-Link | Vários dispositivos têm uma [[#rescue_firmware_partition|partição de firmware de resgate]] na sua ROM flash. | | |
| | Linksys | Vários dispositivos mais antigos suportam um procedimento de recuperação TFTP remoto.\\ Vários dispositivos mais novos têm[[#dual_firmware_partition| 2 partições de firmware independentes.]] | - [[https://www.linksys.com/us/support-article?articleNum=137928|Official Linksys TFTP recovery documentation]]\\ - For Linksys dual firmware, [[#dual_firmware_partition|see below]] | | | Linksys | Vários dispositivos mais antigos suportam um procedimento de recuperação TFTP remoto.\\ Vários dispositivos mais novos têm[[#dual_firmware_partition| 2 partições de firmware independentes.]] | - [[https://www.linksys.com/us/support-article?articleNum=137928|Documentação oficial de recuperação de Linksys TFTP]]\\ - Para firmware duplo Linksys, [[#dual_firmware_partition|ver abaixo]] | |
| | Mikrotik | TFTP-like rescure procedure with a manufacturer utility called 'netinstall' installed on a client PC. | [[https://wiki.mikrotik.com/wiki/Manual:Netinstall|Official Microtik recovery documentation]] | | | Mikrotik | Procedimento de recuperação com um cliente do tipo TFTP como um utilitário do fabricante chamado 'netinstall' instalado em um PC. | [[https://wiki.mikrotik.com/wiki/Manual:Netinstall|Documentação oficial de recuperação Microtik]] | |
| | Netgear | TFTP on a PC client can be used to rescue the firmware. | [[https://kb.netgear.com/000059633/How-to-upload-firmware-to-a-NETGEAR-router-using-TFTP-client|Official Netgear TFTP recovery documentation]] | | | Netgear | O cliente TFTP em um PC pode ser usado para resgatar o firmware. | [[https://kb.netgear.com/000059633/How-to-upload-firmware-to-a-NETGEAR-router-using-TFTP-client|Documentação oficial de recuperação do Netgear via cliente TFTP]] | |
| |:::| nmrpflash | https://github.com/jclehner/nmrpflash | | |:::| nmrpflash | https://github.com/jclehner/nmrpflash | |
| | TP-Link | O TFTP em um cliente de PC pode ser usado para resgatar o firmware.\\ Vários dispositivos mais novos fornecem uma[[#rescue_firmware_partition| partição de resgate]]. | [[https://community.tp-link.com/en/home/forum/topic/81462?page=1|Documentação de recuperação TFTP do fórum TP-Link]] | | | TP-Link | O cliente de TFTP em um PC pode ser usado para resgatar o firmware.\\ Vários dispositivos mais novos fornecem uma[[#rescue_firmware_partition| partição de resgate]]. | [[https://community.tp-link.com/en/home/forum/topic/81462?page=1|Documentação de recuperação via cliente TFTP do fórum do TP-Link]] | |
| | ::: | Webpage firmware recovery\\ See link for models which support this method. | [[https://www.tp-link.com/us/faq-1482.html]] | | | ::: | Página de Recuperação de firmware\\ Veja o link para modelos que suportam esse método. | [[https://www.tp-link.com/us/faq-1482.html]] | |
| | Ubiquiti (UBNT) | TFTP on a PC client can be used to rescue the firmware. | [[https://help.ubnt.com/hc/en-us/search?utf8=%E2%9C%93&query=firmware+recovery&commit=Search|Official UBNT site: site search for 'firmware recovery']] | | | Ubiquiti (UBNT) | O cliente de TFTP em um PC pode ser usado para resgatar o firmware. | [[https://help.ubnt.com/hc/en-us/search?utf8=%E2%9C%93&query=firmware+recovery&commit=Search|Site oficial da UBNT: pesquisa no site por 'firmware recovery']] | |
| | Xiaomi | Several devices with USB port support a [[#rescue_usb_stick|rescue USB stick]] method. | | | | Xiaomi | Vários dispositivos com porta USB suportam um este método [[#rescue_usb_stick|Pendriver de resgate]]. | | |
| | ZBT (ZBTLink) | Several devices support a [[#rescue_firmware_partition|rescue partition]].\\ On some devices, TFTP on a PC client can be used to rescue the firmware. | | | | ZBT (ZBTLink) | Vários dispositivos suportam um [[#rescue_firmware_partition|partição de resgate]].\\ Em alguns dispositivos, o cliente de TFTP em um PC pode ser usado para resgatar o firmware. | | |
| ===== Recovery for disk-image-based devices (e.g. SD-cards) ===== | ===== Recuperação para dispositivos baseados em imagem de disco (por exemplo: SD-cards) ===== |
| Examples: the different Raspberry PI's, devices of PC Engines). | Exemplos: Diferentes PI's do Raspberry, dispositivos de PC). |
| |
| OpenWrt devices that use a drive-installed image.gz or sdcard.img.gz are not an issue to recover. The OpenWrt OS is not applied to flash ROM, but installed on a removable drive, e.g. an SD-card. For recovery, mount the removable drive in a working PC and reapply the OpenWrt image to the removable drive according to the device-specific instructions. | Os dispositivos OpenWrt que usam um image.gz ou sdcard.img.gz instalado na unidade não são um problema para recuperar. O sistema operacional OpenWrt não é aplicado à ROM flash, mas instalado em uma unidade removível, por exemplo um cartão SD. Para recuperação, monte a unidade removível em um PC em funcionamento e aplique novamente a imagem OpenWrt na unidade removível, de acordo com as instruções específicas do dispositivo. |
| |
| ===== TFTP recovery mode ===== | ===== Modo de recuperação via TFTP ===== |
| |
| In several of these recovery procedures you will need a working TFTP server on your PC, see how to install and configure it in [[docs:guide-user:troubleshooting:tftpserver|Set up a TFTP Server]] article. | Em vários desses procedimentos de recuperação, você precisará de um servidor TFTP em funcionamento no seu PC; veja como instalá-lo e configurá-lo no artigo [[docs: guide-user: Troubleshooting: tftpserver | Configure um servidor TFTP]]. |
| |
| ===== Rescue USB stick ===== | ===== Recuperar via Pen-driver ===== |
| Supported by some Xiaomi devices | Suportado por alguns dispositivos Xiaomi |
| |
| process for [[http://en.miui.com/thread-157895-1-1.html|Xiaomi Mi]]: | processo para [[http://en.miui.com/thread-157895-1-1.html|Xiaomi Mi]]: |
| - Download firmware and store as ''miwifi.bin'' on an USB flash drive (must be FAT or FAT32) | - Faça o download do firmware e armazene-o como ''miwifi.bin'' em um pen-driver (deve ser FAT ou FAT32) |
| - Plug USB flash drive into device USB port | - Conecte o pen driver na porta USB do dispositivo |
| - Unplug device cord | - Deslique o roteador |
| - Press and hold the reset button and then re-plug the power cord | - Pressione e segure o botão Reset e ligue o roteador |
| - Release reset button, when the orange status LED starts blinking | - Solte o botão de Reset, quando o LED laranja de status começar a piscar |
| - Flashing is finished, when LED turns blue | - A atualização termina quando o LED fica azul |
| |
| ===== Rescue firmware partition ===== | ===== Partição de resgate de firmware ===== |
| Supported by several devices at least of the following vendors: D-Link, TP-Link, ZBTLink | Compatível com vários dispositivos, pelo menos dos seguintes fornecedores: D-Link, TP-Link, ZBTLink |
| |
| This function is based on extra code in the boot partition in the flash ROM and it is still available on the device, even after the device has been flashed to OpenWrt. No further tools are needed, to trigger this rescue function. | Essa função é baseada em código extra na partição de inicialização na ROM flash e ainda está disponível no dispositivo, mesmo após o dispositivo ter sido atualizado para o OpenWrt. Nenhuma ferramenta adicional é necessária para acionar esta função de resgate. |
| |
| Procedure, to boot into rescue partition: | Procedimento, para inicializar na partição de recuperação: |
| - Switch device power off (or pull the power cord). | - Desligue o dispositivo (ou puxe o cabo de alimentação). |
| - Connect a client to the device via Ethernet to LAN1 | - Conecte um cliente ao dispositivo via Ethernet para LAN1 |
| - Trigger the rescue function by pressing and holding the reset button of the device and then turning the device on (or plug in the power cord). | - Ative a função de resgate pressionando e segurando o botão de reinicialização do dispositivo e, em seguida, ligue o dispositivo (ou conecte o cabo de alimentação). |
| - You can release the reset button after a few seconds. | - Você pode soltar o botão de redefinição após alguns segundos. |
| - The device will take ~15-20 seconds to boot a mini-web server, that provides only a single function: it can upload a firmware file and has a button to trigger the flash process. The web-server will usually be available under either (if in doubt, try both) | - O dispositivo leva de 15 a 20 segundos para inicializar um servidor de mini-web, que fornece apenas uma única função: ele pode carregar um arquivo de firmware e possui um botão para acionar o processo de flash. O servidor da web geralmente estará disponível em qualquer um (em caso de dúvida, tente ambos) |
| - http://192.168.0.1 (TP-Link and newer D-Link devices) | - http://192.168.0.1 (TP-Link e dispositivos D-Link mais recentes) |
| - http://192.168.1.1 (ZBT-Link and older D-Link devices) | - http://192.168.1.1 (ZBT-Link e dispositivos D-Link mais antigos) |
| - Note: You need to set your PC client to a fixed IP address beforehand, as DHCP is not supported in this rescue mode. So depending on your device, so you need to set the PC client's to a matching IP address, either: | - Nota: Você precisa definir o seu cliente de PC para um endereço IP fixo de antemão, pois o DHCP não é suportado neste modo de recuperação. Portanto, dependendo do seu dispositivo, você precisa definir o cliente do PC para um endereço IP correspondente: |
| - an IP of the 192.168.0.x range, e.g. 192.168.0.2 / 255.255.255.0 | - um IP de intervalo 192.168.0.x, por exemplo 192.168.0.2 / 255.255.255.0 |
| - an IP of the 192.168.1.x range, e.g. 192.168.1.2 / 255.255.255.0 | - um IP do intervalo 192.168.1.x, por exemplo 192.168.1.2 / 255.255.255.0 |
| |
| Notes: | Notas: |
| * The rescue function provides no Internet access, WiFi or DHCP. | * A função de resgate não fornece acesso à Internet, Wi-Fi ou DHCP. |
| * OpenWrt firmware can be flashed directly using this rescue function when using a OpenWrt ...**factory.bin** firmware file. There is no need to first flash official D-Link firmware. | * O firmware do OpenWrt pode ser atualizado diretamente usando esta função de recuperação ao usar um arquivo de firmware do OpenWrt ...** factory.bin**. Não é necessário primeiro atualizar o firmware oficial da D-Link. |
| * Official D-Link documentation of this procedure is rare, a [[ftp://ftp.dlink.de/dir/dir-600/documentation/DIR-600_revb12_howto_de_FirmwareRecovery.pdf|german D-Link documentation for the DIR-600]] exists (with the same procedure also applying for other D-Link devices, if the device supports recovery). Inofficial documentation: [[toh:d-link:dir-505#web_interface|OpenWrt Wiki for DIR-505]] and [[http://forums.dlink.com/index.php?topic=44909.msg162511#msg162511|D-Link Forum]]. | * A documentação oficial da D-Link deste procedimento é rara, uma [[ftp://ftp.dlink.de/dir/dir-600/documentation/DIR-600_revb12_howto_de_FirmwareRecovery.pdf|documentação alemã D-Link para o DIR-600]] existe (com o mesmo procedimento também para outros dispositivos D-Link, se o dispositivo suportar recuperação). Documentação não oficial: [[toh:d-link:dir-505#web_interface|OpenWrt Wiki para DIR-505]] e [[http://forums.dlink.com/index.php?topic=44909.msg162511#msg162511|Forum D-Link]]. |
| * Inofficial notes of [[https://fccid.io/2AH9TW826/Users-Manual/User-Manual-2994820|ZBTLink recovery]], | * Notas não oficiais de [[https://fccid.io/2AH9TW826/Users-Manual/User-Manual-2994820|Recuperação do ZBTLink]], |
| * Official [[http://www.tp-link.de/faq-1482.html|TP-Link rescue partition notes]] | * Oficial [[http://www.tp-link.de/faq-1482.html|Notas da partição de resgate TP-Link]] |
| |
| ===== Dual firmware partition ===== | ===== Partição dupla do firmware ===== |
| Supported by newer Linksys devices | Suportado por dispositivos Linksys mais recentes |
| |
| Most newer devices (mostly those with decent amount of flash ROM) have 2 independent firmware partitions. A usage strategy could be, to install OpenWrt only into one of the 2 partitions and leave the vendor firmware in the other partition. No further tools are required to toggle between the two partitions. | A maioria dos roteadores mais recentes (principalmente aqueles com quantidade razoável de ROM flash) possui 2 partições de firmware independentes. Uma estratégia de uso pode ser instalar o OpenWrt apenas em uma das 2 partições e deixar o firmware do fornecedor na outra partição. Nenhuma ferramenta adicional é necessária para alternar entre as duas partições. |
| |
| Procedure, to manually toggle between the two firmware partitions: | Procedimento, para alternar manualmente entre as duas partições de firmware: |
| - Switch device power off. | - Desligue o roteador. |
| - 3x Switch device power on for 2 seconds, then off again. | - Ligue o roteador 3x por 2 segundos e depois desligue-o novamente. |
| - Switch device power on, the device should now boot to the alternative partition. | - Ligue o roteador, agora o roteador deve inicializar na partição alternativa. |
| |
| When successfully booted into any of the two partitions, a triggered firmware update will flash the other, secondary partition. The partition that is currently booted, stays untouched. | Quando inicializado com êxito em qualquer uma das duas partições, uma atualização do firmware será gravada na outra partição secundária. A partição que está inicializada no momento permanece intocada. |
| |