====== Qnap firmware reflash====== [[qnap:qnap|{{ :qnap:icon.jpg?120|}}]] ===== context===== dit document beschrijft hoe je een Qnap NAS herflasht met de oorspronkelijke firmware.\\ Enkel uit te voeren als de NAS op geen enkele manier meer overeind te krijgen is. Helaas kon ik niet alles reproduceren: halverwege een firmware upgrade raakte [[changelogs:lochnas|lochnas]]helemaal van streek en was niet meer te reanimeren. ===== voorbereiding===== - zoek de image voor [[https://wiki.qnap.com/wiki/Firmware_Recovery|je model]] op. - download de **ISO** naar de ESXi ISO **datastore**. - meld aan op ESXi: - name: Qnap Recovery - OS: Linux, **Ubuntu Linux (64bit)** - RAM: 512Mb - disk: 16Gb - voeg de VM toe aan het vlan 1921 (qnaprestore) - verwijs de DVD naar de ISO - start de VM - verbind je Qnap met het vlan 1921 - start de nas en houdt de resetknop gedurende 10 seconden ingedrukt. \\ nu wordt een TFTP-sessie opgezet met de qnap VM en wordt de correcte firmware gedownload en geinstalleerd (zie: [[qnap:reflash_qnap_firmware#screenshots|screenshots]]) - nadat de nas werd gereflashed, hoor je een lange PIEPtoon en wordt de nas herstart - sluit de NAS nu aan op het vlan installatie - zoek het IP adres op de DHCP server en surf naar dat adres - voer nu de verdere installatie uit. ===== screenshots ===== ==== TFTP sessie ==== Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 vendor class: F_TS-212P Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 DHCPREQUEST(eth0) 192.168.0.113 00:50:43:00:02:02 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 DHCPACK(eth0) 192.168.0.113 00:50:43:00:02:02 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 requested options: 1:netmask, 3:router, 12:hostname, 13:boot-file-size, Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 requested options: 17:root-path Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 tags: TS212P, TS212, eth0 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 bootfile name: F_TS-212P_20140123-1.1.10.img Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 next server: 192.168.0.1 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 1 option: 53:message-type 05 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 54:server-identifier 192.168.0.1 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 51:lease-time 00:00:0e:10 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 58:T1 00:00:07:08 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 59:T2 00:00:0c:4e Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 1:netmask 255.255.255.0 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 28:broadcast 192.168.0.255 Aug 1 02:44:55 ubuntu dnsmasq-dhcp[2154]: 1124081188 sent size: 4 option: 3:router 192.168.0.1 Aug 1 02:44:55 ubuntu in.tftpd[3583]: connect from 192.168.0.113 (192.168.0.113) Aug 1 02:44:55 ubuntu tftpd[3584]: tftpd: trying to get file: F_TS-212P_20140123-1.1.10.img Aug 1 02:44:55 ubuntu tftpd[3584]: tftpd: serving file from /tftpboot ===== meer info ===== voeg hier linken toe naar verdere uitleg {{tag>qnap}}