We have had a bricked Vigor130, which would not reset. We were unable to reach it even after resetting multiple times.
It was pingable on 192.168.1.1, but did not reply to any open ports with nmap scans, nor did it act as a dhcp server.
We connected a TTL adapter to the 4 pins on the board to see if there's a serial console on it.
Pinout:
|
+3.3v | RX | TX | GND |
|
-------------------------|
Using 115200 8n1 with minicom, we were able to see the DrayBOOT bootloader, showing us this lovely error message:
Vigor130/VigorNIC132 DrayBoot vB
CLOCK CPU 333M RAM 166M
DRAM Size: 64 MB
Internal phy(GE) firmware version: 8430
WarmBoot: 0x0
Run DrayOS...
Boot DrayOS~~
checksum fail~
checksum fail~
start upgrade
Enter TFTP Server F/W Upgrade Mode
TFTP Server IP: 192.168.1.1
We then downloaded the latest STD firmware from https://www.draytek.com.tw/ftp/Vigor130/Firmware/ and unzipped it.
We then used $randomlinuxdevice on the network to upload the firmware file via tftp.
There are two different firmware files in the .zip, ending with either .all or .rst - The .all should preserve any user settings, while the .rst should fully reset all settings to factory defaults.
We chose the .rst file.
We then connected to the tftp server on the vigor and executed the following commands:
$ tftp
tftp> connect 192.168.1.1
tftp> binary
tftp> put v130_3841_modem_STD.rst
Sent 5602712 bytes in 2.2 seconds
tftp>
IMPORTANT You need to enable the binary transfer mode, otherwise the bootloader will complain with the error message "bin or web size does not match!" and fail to flash.
After the successful upload, the vigor will restart and show you the bootlog. Your Vigor130 should now fully boot again and be reachable via the network. :)