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 [2021/06/20 23:52] – Remove version filter ziswilertoh:zyxel:gs1900-8 [2023/06/27 18:12] – [Opening the case] jimwright
Line 68: Line 68:
  
 <WRAP BOX> <WRAP BOX>
-FIXME //The instructions below are for Broadcom devices and only serve as an example.//\\ 
-**//Remove / modify them if they do not apply to this particular device!//** 
- 
 This section deals with This section deals with
   * How you install OpenWrt from a device freshly opened   * How you install OpenWrt from a device freshly opened
   * The steps required such as reset to factory defaults if the device has already been configured   * The steps required such as reset to factory defaults if the device has already been configured
 +=== Two step flashing process ===
 +**Note:** Reset router to factory defaults if it has been previously configured.
 +  * Log in to OEM management web interface. It should be at ''http://192.168.1.1''
 +  * Navigate to ''Maintenance > Firmware > Management''
 +  * If "Active Image" has the first option selected, OpenWrt will need to be flashed to the "Active" partition. If the second option is selected, OpenWrt will need to be flashed to the "Backup" partition.
 +  * 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.
 +  * 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>
 +  * It may be necessary to restart the network (''/etc/init.d/network restart'') on the running initramfs image.
  
-**Note:** Reset router to factory defaults if it has been previously configured+=== In case you flashed the initramfs-kernel image to the wrong partition === 
-  * Browse to ''<nowiki>http://192.168.1.1/Upgrade.asp</nowiki>'' +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 imageThere's no overlay filesystem. To fix this: 
-  * Upload .bin file to router +  * SSH into the switch (on older OpenWRT versions still using port 1 and VLAN 100). 
-  * Wait for it to reboot +  * Modify your ''/etc/fw_env.config'' to look like this: 
-  * Telnet to 192.168.1.1 and set a root password, or browse to ''<nowiki>http://192.168.1.1</nowiki>'' if LuCI is installed.+<code>/dev/mtd2 0x0 0x1000 0x10000 </code
 +  * Run ''fw_printenv'' just to see that it works. 
 +  * Assuming it did, run the following command:  
 +<code>fw_setenv bootpartition 0</code> 
 +  * Reboot. 
 +  * OpenWRT should now be properly installed.
 </WRAP> </WRAP>
  
Line 240: Line 254:
 **Note:** This will void your warranty! **Note:** This will void your warranty!
  
-<WRAP BOX> +To remove the cover and open the device, remove screws on the back
-FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// + 
-  To remove the cover and open the devicedo a/b/c +**Rev A1:**  Front button labeled RESETPower Switch on rear.\\ 
-</WRAP>+**Rev B1**:  Front button labeled RESTORE, NO Power Switch on rear.\\
  
 //Main PCB://\\ //Main PCB://\\
-**Insert photo of PCB**+TOP:\\ 
 +{{:media:zyxel:gs1900-8:gs1900-8_pcb-top.jpg?600|}}
  
 +BOTTOM:\\
 +{{:media:zyxel:gs1900-8:gs1900-8_pcb-bottom.jpg?600|}}
 +
 +Side button (not visible whit enclosure, function unclear):\\
 +{{:media:zyxel:gs1900-8:gs1900-8_pcb_side-button.jpg?600|}}
 ==== Serial ==== ==== Serial ====
 -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
  
 How to connect to the Serial Port of this specific device:\\ How to connect to the Serial Port of this specific device:\\
-**Insert photo of PCB with markings for serial port** +{{:media:zyxel:gs1900-8:gs1900_serial.jpg?400|}}\\ 
- +**Attention**: Labeling on the PCB refers to the signal that needs to be connected to the pin, not the provided signal on the pin. E.g.: The pin labeled "TX" carries the Rx signal from the switch.
-<WRAP BOX> +
-FIXME //Replace EXAMPLE by real values.// +
-</WRAP>+
  
-^ Serial connection parameters\\ for ZyXEL GS1900-8 | EXAMPLE 115200, 8N1 |+^ Serial connection parameters\\ for ZyXEL GS1900-8 | 115200, 8N1 |
  
 ==== JTAG ==== ==== JTAG ====
Line 845: Line 862:
  
 ===== Tags ===== ===== Tags =====
-<WRAP BOX> 
-FIXME //Add tags below, then remove this fixme.// 
-</WRAP> 
  
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>EXAMPLETAG}}+{{tag>realtek 16Flash 128RAM 8Port GigabitEthernet VLAN U-boot Serial JTAG 2button 12v_powered}}
  • Last modified: 2024/04/22 16:41
  • by goetz