| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| toh:netgear:gs308t_1 [2023/09/21 20:14] – fix german-style capitalization mazdermind | toh:netgear:gs308t_1 [2023/09/21 20:19] – fix ambiguity in serial pinout mazdermind |
|---|
| Update the switch to the latest [[https://www.netgear.com/support/product/gs308t#download|OEM firmware]]) first, before trying to flash OpenWrt. Unzip the downloaded file and upload the ''.bix''-File as firmware to the ''image1''-partition. Then reboot the switch. After the update is complete, copy the new ''image1'' firmware also to the ''image2'' slot in case you need to recover to OEM firmware later on. | Update the switch to the latest [[https://www.netgear.com/support/product/gs308t#download|OEM firmware]]) first, before trying to flash OpenWrt. Unzip the downloaded file and upload the ''.bix''-File as firmware to the ''image1''-partition. Then reboot the switch. After the update is complete, copy the new ''image1'' firmware also to the ''image2'' slot in case you need to recover to OEM firmware later on. |
| |
| Download [[https://downloads.openwrt.org/releases/22.03.5/targets/realtek/rtl838x/openwrt-22.03.5-realtek-rtl838x-netgear_gs308t-v1-initramfs-kernel.bin|the initramfs image]] for the *GS308T v1* switch (Update link to latest release!) and check the sha256sum. | Download the ''initramfs'' image for the //GS308T// switch and check the sha256sum. |
| |
| Select the image as file for firmware-update in the OEM GUI. Always flash ''image1'' with OpenWrt and leave ''image2'' as OEM firmware, because the OpenWrt ''sysupgrade''-tool will only ever write to ''image1'' partition. | Select the image as file for firmware-update in the OEM GUI. Always flash ''image1'' with OpenWrt and leave ''image2'' as OEM firmware, because the OpenWrt ''sysupgrade''-tool will only ever write to ''image1'' partition. |
| The freshly flashed switch will not do any DHCP and you need to configure yourself an IP out of the aforementioned net, before you can visit http://192.168.1.1/ and login with an empty password. | The freshly flashed switch will not do any DHCP and you need to configure yourself an IP out of the aforementioned net, before you can visit http://192.168.1.1/ and login with an empty password. |
| |
| Now sownload [[https://downloads.openwrt.org/releases/22.03.5/targets/realtek/rtl838x/openwrt-22.03.5-realtek-rtl838x-netgear_gs308t-v1-squashfs-sysupgrade.bin|the sysupgrade image]] for the *GS308T v1* and once again check the sha265sum. | Now download the ''sysupgrade'' image for the //GS308T// and once again check the sha265sum. |
| |
| Flash this image from within the OpenWrt Web-GUI. During the flashing the Power-LED will blink orange before changing to solid orange on success, then going off for a couple of seconds and continuing with the usual green blink, then solid green cycle, at which point the switch has been completely flashed with OpenWrt. The Port-LEDs will stay dark, even if there is a link up. | Flash this image from within the OpenWrt Web-GUI. During the flashing the Power-LED will blink orange before changing to solid orange on success, then going off for a couple of seconds and continuing with the usual green blink, then solid green cycle, at which point the switch has been completely flashed with OpenWrt. The Port-LEDs will stay dark, even if there is a link up. |
| The device will now boot the OEM Firmware from ''image2'' and continue to do so unless you change the boot-image back to ''image1'' (//Maintainace -> File Management -> Dual Image Configuration -> Active Image -> Apply// in the OEM Firmware). If you want you can copy the OEM Firmware from ''image2'' back to ''image1'' to completely erase OpenWrt from the device (//Maintainance -> File Management -> Copy// in the OEM Firmware). | The device will now boot the OEM Firmware from ''image2'' and continue to do so unless you change the boot-image back to ''image1'' (//Maintainace -> File Management -> Dual Image Configuration -> Active Image -> Apply// in the OEM Firmware). If you want you can copy the OEM Firmware from ''image2'' back to ''image1'' to completely erase OpenWrt from the device (//Maintainance -> File Management -> Copy// in the OEM Firmware). |
| |
| To directly and permanently flash the OEM firmware back to ''image1'', download the latest [[https://www.netgear.com/support/product/gs308t#download|OEM Firmware]] and copy the ''.bix'' file from the Zip-Archive to ''/tmp/'' on the OpenWrt installation. Then run this command: | To directly and permanently flash the OEM firmware back to ''image1'', download the latest OEM Firmware and copy the ''.bix'' file from the Zip-Archive to ''/tmp/'' on the OpenWrt installation. Then run this command: |
| |
| sysupgrade -n -F /tmp/GS308T_*.bix | sysupgrade -n -F /tmp/GS308T_*.bix |
| J1 | 1 234 | J1 | 1 234 |
| [o]ooo | [o]ooo |
| ^ ||`------ To GND (3.3 V) | ^ ||`------ GND |
| | |`------- To RXD | | |`------- TXD |
| | `-------- To TXD | | `-------- RXD |
| `---------- Do not connect | `---------- Do not connect |
| |