User Tools

Site Tools


toh:observatelecom:vh4032n

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
toh:observatelecom:vh4032n [2018/04/15 15:14]
tmomas Datatables added
toh:observatelecom:vh4032n [2018/09/21 11:20] (current)
danitool [Installation via CFE web (http) server]
Line 29: Line 29:
 ---- ----
  
 +
 +==== Firmware backup ====
 +<WRAP center round important 80%>
 +Since there is **no original firmware publicily available**,​ it's recommendable to make a backup before installing openwrt. You only need to do this if you plan to back to the original firmware later.
 +</​WRAP>​
 +
 +
 +
 +Follow these steps to make a backup of the original firmware (before installing openwrt). Note you may need a Linux based OS installed at your computer to run some commands like **dd**.
 +  - Download the openwrt RAM firmware version [[https://​drive.google.com/​uc?​export=download&​id=18kyqasfHK8XYlU-pz58bbjfud3Epl201|VH4032N-initramfs.elf]],​ it will be fully loaded in the RAM without writing in the flash chip and therefore it allows to backup the original firmware ​
 +  - Install a TFTP server in your computer, and check it works ok. Copy //​VH4032N-initramfs.elf//​ file into the TFTP's server directory.
 +  - Plug the ethernet cable from your computer to the ethernet switch at the router. Your computer must have a compatible IP with CFE, for example use **192.168.1.35**
 +  - Connect the [[#​Serial|serial port]] at the router to your computer (UART 3.3V ttl adapter required), and a run console software utility(putty,​ Cutecom or Hyperterminal) to comunicate with CFE. 
 +  - Plug the router'​s power source and look at the serial console, press any key to break into CFE. Now it's time to run the ram firmware, execute this command into the CFE command line <​code>​r 192.168.1.35:​VH4032N-initramfs.elf</​code>​and wait few second until openwrt loads. ​
 +  * In your computer execute <​code>​nc -l -p 5600|dd of=OEM-firmware_backup.bin</​code>​ (nc = netcat)
 +  * In the router execute <​code>​cat /​proc/​mtd</​code>​We are interested in the linux partition. Execute: <​code>​dd if=/​dev/​mtd4|nc 192.168.1.35 5600</​code>​
 +(You could also to transfer the firmware to a pendrive instead using netcat.)
 +
 +Done, the firmware should be transfered to your computer: **OEM-firmware_backup.bin**
 +
 +
 +
 +You can also make the backup using [[https://​github.com/​Noltari/​cfetool|cfetool]]
  
 ==== Installation via CFE web (http) server ==== ==== Installation via CFE web (http) server ====
toh/observatelecom/vh4032n.1523805242.txt.gz · Last modified: 2018/04/15 15:14 by tmomas