ZyXEL GS1900-24EP

The GS1900-24EP is an 24-port Gigabit L2 switch with a 130W (12 ports) of PoE power budget.

None at this time.

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

This section deals with

  • 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

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.
  • Rename openwrt-24.10.0-realtek-rtl838x-zyxel_gs1900-24ep-initramfs-kernel.bin to openwrt-kernel.bin
  • Navigate to Maintenance > Firmware > Upload
  • Upload the openwrt-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 openwrt-24.10.0-realtek-rtl838x-zyxel_gs1900-24ep-squashfs-sysupgrade.bin image to /tmp and flash it thought SSH.
    • Note 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 or use `scp -O`
sysupgrade -n /tmp/openwrt-24.10.0-realtek-rtl838x-zyxel_gs1900-24ep-squashfs-sysupgrade.bin
  • It may be necessary to restart the network (/etc/init.d/network restart) on the running initramfs image.

fw_printenv shows Warning: Bad CRC, using default environment

/dev/mtd1 0x0 0x400 0x10000 

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:

  • Run fw_printsys just to see that it works.
  • Assuming it did, run the following command:
fw_setsys bootpartition 0
  • Reboot.
  • OpenWRT should now be properly installed.
  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

Basic configuration After flashing, proceed with this.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The ZyXEL GS1900-24EP has the following buttons:

BUTTON Event
CPU Reset reset
Soft Reset user

Since 24.10.4 PoE is supported with realtek-poe out of the box. You only need to modify the configuration file.

example /etc/config/poe configuration file:

config global
        option force_baudrate '115200'
        option force_dialect 'realtek'
	option budget	'130'

config port
	option enable	'1'
	option id	'1'
	option name	'lan1'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'2'
	option name	'lan2'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'3'
	option name	'lan3'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'4'
	option name	'lan4'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'5'
	option name	'lan5'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'6'
	option name	'lan6'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'7'
	option name	'lan7'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'8'
	option name	'lan8'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'9'
	option name	'lan9'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'10'
	option name	'lan10'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'11'
	option name	'lan11'
	option poe_plus	'1'
	option priority	'2'
config port
	option enable	'1'
	option id	'12'
	option name	'lan12'
	option poe_plus	'1'
	option priority	'2'

Space for additional notes, links to forum threads or other resources.

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2025/12/18 17:22
  • by klaas