ZyXEL GS1900-24EP
The GS1900-24EP is an 24-port Gigabit L2 switch with a 130W (12 ports) of PoE power budget.
Supported Versions
Experimental Versions
None at this time.
Hardware Highlights
Installation
Flash Layout
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.
OEM easy installation
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.bintoopenwrt-kernel.bin - Navigate to
Maintenance > Firmware > Upload - Upload the
openwrt-kernel.binfile 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,
scptheopenwrt-24.10.0-realtek-rtl838x-zyxel_gs1900-24ep-squashfs-sysupgrade.binimage to/tmpand flash it thought SSH.- Note It may be the case, that using `scp` is not possible, as the
openssh-sftp-serverpackage 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 usingopkg update && opkg install openssh-sftp-serveror 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
- Prior to 24.10.4 - See https://github.com/openwrt/openwrt/pull/17920 you will need to modify your
/etc/fw_env.configto look like this:
/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_printsysjust to see that it works. - Assuming it did, run the following command:
fw_setsys bootpartition 0
- Reboot.
- OpenWRT should now be properly installed.
LuCI Web Upgrade Process
- 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
Debricking
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Specific Configuration
Please fill in real values for this device, then remove the EXAMPLEs
Network interfaces
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 |
Switch Ports (for VLANs)
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 |
Buttons
→ 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 |
PoE
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'
Hardware
Info
Notes
Space for additional notes, links to forum threads or other resources.
- ...