Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/30 21:52] – [Recuperação de falha na atualização de firmware] malvespt-br:docs:guide-user:troubleshooting:vendor_specific_rescue [2020/05/31 20:34] malves
Line 1: Line 1:
-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 ======
  
 <WRAP center round tip 80%> <WRAP center round tip 80%>
 **RECOMENDADO:** **siga os procedimentos detalhados em [[docs:guide-user:troubleshooting:failsafe_and_factory_reset | Modo contra falhas e redefinição de fábrica]] primeiro**\\ **RECOMENDADO:** **siga os procedimentos detalhados em [[docs:guide-user:troubleshooting:failsafe_and_factory_reset | Modo contra falhas e redefinição de fábrica]] primeiro**\\
-That's what will most likely help you if you can't reach the OpenWrt interface anymore after installing packageschanging the password or the network configuration.+É isso que provavelmente o ajudará se você não conseguir mais acessar a interface OpenWrt após instalar pacotesalterar a senha ou a configuração de rede.
 </WRAP> </WRAP>
  
-Some device vendors provide built-in rescue functions in their device'flash ROM boot partition that remain thereeven after a OpenWrt firmware upgrade, so a OpenWrt upgrade will not overwrite this rescue function. +Alguns fornecedores de dispositivos fornecem funções de resgate internas na partição de inicialização ROM do flash do dispositivo que permanecem lámesmo após uma atualização de firmware do OpenWrt, para que uma atualização do OpenWrt não substitua essa função de resgate.
- +
-This rescue functions can be used to recover a failed flash update (no matter if the failed flash was vendor firmware or OpenWrt) or recover from an otherwise dead deviceas long as the device hardware and the rescue function is still intact. These rescue partitions do consume a tiny piece of the flash, but renders a device mostly unbrickable.+
  
-Unfortunately such rescue functions are not available from all vendorssometimes not for all models from vendor and the actual rescue process is mostly vendor specific. +Essas funções de resgate podem ser usadas para recuperar uma falha na atualização do flash (não importa se o flash com falha foi do firmware do fornecedor ou do OpenWrt) ou para recuperar de um dispositivo inoperantedesde que o hardware do dispositivo e função de resgate ainda estejam intactosEssas partições de resgate consomem um pedacinho do flash, mas tornam um dispositivo praticamente ininterrupto.
-This page is meant to collect the known rescue methods of different router vendors or router models.+
  
-===== Check first: Device-specific firmware recovery procedures ===== +Infelizmente, essas funções de resgate não estão disponíveis para todos os fornecedores, às vezes não para todos os modelos de um fornecedor, e o processo de resgate real é principalmente específico do fornecedor. Esta página destina-se coletar os métodos de resgate conhecidos de diferentes fornecedores ou modelos de roteadores.
-Check the "device page" of your device (look for a link in the last columns of the Table of Hardware). The device page may describe rescue method for your specific device. +
-  * [[toh:start|Table of Hardware]]+
  
-Some of the methods may require creating custom RS232-serial-cable or soldering-skills, while most newer devices require just a certain software trick to remote flash the device from a PC client.+===== Verifique primeiro: procedimentos de recuperação de firmware específicos do dispositivo ===== 
 +Verifique "página do dispositivo" do seu dispositivo (procure um link nas últimas colunas da Tabela de Hardware). A página do dispositivo pode descrever um método de resgate para o seu dispositivo específico. 
 +  * [[toh:start|Tabela de Hardware]]
  
-===== Manufacturer-generic firmware recovery procedures =====+Alguns dos métodos podem exigir a criação de um cabo serial RS232 personalizado ou habilidades de soldagem, enquanto a maioria dos dispositivos mais novos exige apenas um truque de software para fazer flash remoto do dispositivo a partir de um cliente de PC. 
 +===== Procedimentos de recuperação de firmware genéricos do fabricante =====
  
-Many devices of the following manufacturers support recovery procedures as listed here:+Muitos dispositivos dos seguintes fabricantes oferecem suporte procedimentos de recuperação, conforme listado aqui:
  
-^  Manufacturer  ^  Procedure   Links  ^ +^  Fabricante   ^  Procedimento   Links  ^ 
-| ASUS          | TFTP-like rescue procedure with a manufacturer utility to be installed on a client PC. | [[https://www.asus.com/support/faq/1000814/ |Official ASUS recovery documentation]] | +| 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        | Several devices have a dedicated [[#rescue_firmware_partition|rescue firmware partition]] in their flash ROM. | | +| D-Link        | Vários dispositivos têm uma [[#rescue_firmware_partition|partição de firmware de resgate]] na sua ROM flash. | | 
-| Linksys       Several older devices support a remote TFTP recovery procedure.\\  Several newer devices have [[#dual_firmware_partition|2 independent firmware partitions]]| - [[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       | TFTP on a PC client can be used to rescue the firmware.\\ Several newer devices provide a [[#rescue_firmware_partition|rescue partition]]. | [[https://community.tp-link.com/en/home/forum/topic/81462?page=1|TP-Link forum TFTP recovery documentation]] | +| 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 dispositivoso 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) ===== 
-Examplesthe different Raspberry PI's, devices of PC Engines).+ExemplosDiferentes PI'do Raspberrydispositivos de PC).
  
-OpenWrt devices that use a drive-installed image.gz or sdcard.img.gz are not an issue to recoverThe OpenWrt OS is not applied to flash ROMbut installed on a removable drivee.g. an SD-cardFor recoverymount the removable drive in 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 recuperarO sistema operacional OpenWrt não é aplicado à ROM flash, mas instalado em uma unidade removívelpor exemplo um cartão SD. Para recuperaçãomonte 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 buttonwhen the orange status LED starts blinking +  - Solte o botão de Resetquando 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 deviceeven 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 dispositivomesmo após o dispositivo ter sido atualizado para o OpenWrt. Nenhuma ferramenta adicional é necessária para acionar esta função de resgate.
  
-Procedureto boot into rescue partition+Procedimentopara 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 serverthat provides only a single functionit can upload a firmware file and has a button to trigger the flash processThe web-server will usually be available under either (if in doubttry both+  - O dispositivo leva de 15 20 segundos para inicializar um servidor de mini-web, que fornece apenas uma única funçãoele 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úvidatente 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
-  NoteYou need to set your PC client to a fixed IP address beforehandas DHCP is not supported in this rescue modeSo depending on your deviceso you need to set the PC client's to a matching IP address, either+    NotaVocê precisa definir o seu cliente de PC para um endereço IP fixo de antemãopois o DHCP não é suportado neste modo de recuperaçãoPortantodependendo do seu dispositivo, você precisa definir o cliente do PC para um endereço IP correspondente
-    - an IP of the 192.168.0.x rangee.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 rangee.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 accessWiFi 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 fileThere 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[[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 devicesif 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 é rarauma [[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]]  [[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 independent firmware partitionsA usage strategy could be, to install OpenWrt only into one of the partitions and leave the vendor firmware in the other partitionNo further tools are required to toggle between the two partitions.+A maioria dos roteadores mais recentes (principalmente aqueles com quantidade razoável de ROM flashpossui partições de firmware independentesUma estratégia de uso pode ser instalar o OpenWrt apenas em uma das partições e deixar o firmware do fornecedor na outra partiçãoNenhuma ferramenta adicional é necessária para alternar entre as duas partições.
  
-Procedureto manually toggle between the two firmware partitions:  +Procedimentopara alternar manualmente entre as duas partições de firmware:  
-  - Switch device power off+  - Desligue o roteador
-  - 3x Switch device power on for seconds, then off again+  - Ligue o roteador 3x por segundos e depois desligue-o novamente
-  - Switch device power onthe device should now boot to the alternative partition.+  - Ligue o roteadoragora o roteador deve inicializar na partição alternativa.
  
-When successfully booted into any of the two partitionsa triggered firmware update will flash the other, secondary partitionThe partition that is currently booted, stays untouched.+Quando inicializado com êxito em qualquer uma das duas partiçõesuma atualização do firmware será gravada na outra partição secundáriaA partição que está inicializada no momento permanece intocada.
  
  • Last modified: 2020/06/19 01:11
  • by malves