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
toh:zyxel:gs1900-8 [2022/04/10 16:30] – [Tags] added acc. hwdata torevtoh:zyxel:gs1900-8 [2023/06/27 18:12] – [Opening the case] jimwright
Line 78: Line 78:
   * Navigate to ''Maintenance > Firmware > Upload''   * Navigate to ''Maintenance > Firmware > Upload''
   * Upload the ''initramfs-kernel.bin'' file by your preferred method to the previously determined partition. When prompted, select to boot from the newly flashed image, and reboot the switch.   * Upload the ''initramfs-kernel.bin'' file by your preferred method to the previously determined partition. When prompted, select to boot from the newly flashed image, and reboot the switch.
-  * Once OpenWrt has booted, ''scp'' the ''sysupgrade.bin'' image to ''/tmp'' and flash it thought SSH. **Note** that by default the device is only reachable from port 1 using VLAN 100. +  * Once OpenWrt has booted, ''scp'' the ''sysupgrade.bin'' image to ''/tmp'' and flash it thought SSH. 
 +    * **Note** that on older OpenWRT versions by default the device is only reachable from port 1 using VLAN 100. With OpenWRT 21.02 and newer, this VLAN is no longer necessary, also any switch port can be used to access the web interface. 
 +    * It may be the case, that using `scp` is not possible, as the ''openssh-sftp-server'' package is not installed by default. You may configure one switch port to a new created interface which uses DHCP and connect it to a network. Then install the package it by using ''opkg update && opkg install openssh-sftp-server''.
     <code>sysupgrade -n /tmp/<sysupgrade file name></code>     <code>sysupgrade -n /tmp/<sysupgrade file name></code>
   * It may be necessary to restart the network (''/etc/init.d/network restart'') on the running initramfs image.   * It may be necessary to restart the network (''/etc/init.d/network restart'') on the running initramfs image.
Line 84: Line 86:
 === In case you flashed the initramfs-kernel image to the wrong partition === === In case you flashed the initramfs-kernel image to the wrong partition ===
 The device appears to reset itself on each boot. This is because it's booting the wrong partition, namely the one that contains the initramfs image. There's no overlay filesystem. To fix this: The device appears to reset itself on each boot. This is because it's booting the wrong partition, namely the one that contains the initramfs image. There's no overlay filesystem. To fix this:
-  * SSH into the switch (still using port 1 and VLAN 100).+  * SSH into the switch (on older OpenWRT versions still using port 1 and VLAN 100).
   * Modify your ''/etc/fw_env.config'' to look like this:   * Modify your ''/etc/fw_env.config'' to look like this:
 <code>/dev/mtd2 0x0 0x1000 0x10000 </code> <code>/dev/mtd2 0x0 0x1000 0x10000 </code>
Line 253: Line 255:
  
 To remove the cover and open the device, remove screws on the back. To remove the cover and open the device, remove screws on the back.
 +
 +**Rev A1:**  Front button labeled RESET, Power Switch on rear.\\
 +**Rev B1**:  Front button labeled RESTORE, NO Power Switch on rear.\\
  
 //Main PCB://\\ //Main PCB://\\
  • Last modified: 2024/04/22 16:41
  • by goetz