logicog
06fbf85bce
Add SFP information in send_basic_info()
2025-12-08 12:24:20 +01:00
logicog
3c869e927a
Add support for 10G 500M and 5G speed display
...
This adds the speed status display of other link speeds:
100M 500M 1000M: Green 2nd LED
2.5G, 5G, 10G: Orange 2nd LED
2025-12-08 08:39:54 +01:00
logicog
ab6a66a223
Add support for 2nd SFP port in stats
2025-12-08 08:39:54 +01:00
logicog
636981c3b8
Detect 2nd SFP-slot RX-Los on KP-9000-6XHML-2X
2025-12-08 08:39:54 +01:00
logicog
101b4937e1
Fix link change handling
...
The RTL8272/3 use 2 32 bit registers to indicate the MAC link speed, the
second register is used for ports 8 and 9, where 9 is the CPU port.
Use both registers.
2025-12-08 08:39:54 +01:00
logicog
e9b8ab5b79
Correct handling of SFP ports in stat command
...
This fixes handling of the SFP ports in the stat command.
The output of the command now is for physical ports, which however are
not shown in sequence.
2025-12-08 08:39:54 +01:00
logicog
32b5539670
Do not show non-ascii Transceiver field in SFP module description
2025-12-07 10:59:39 +01:00
René van Dorst
fccafe8059
Merge pull request #43 from logicog/lags
...
feature LAGs support.
2025-12-07 09:12:21 +00:00
logicog
68405f70d2
Add lag show command
2025-12-06 23:38:41 +01:00
logicog
e7301dc39f
Add send_lag for page_impl.h
2025-12-06 18:01:12 +01:00
logicog
94b6688e57
Correctly use physical port in mirror configuration
2025-12-05 07:38:16 +01:00
logicog
3679b46ff2
Add LAG implementation in httpd
2025-12-05 07:38:16 +01:00
logicog
52fe23570c
Add simulator for LAGs
2025-12-05 07:38:16 +01:00
logicog
6557fc53e5
Add LAG configuration web-page
2025-12-05 07:38:16 +01:00
logicog
4b2d7002dc
Add physical/logical mapping of ports
2025-12-05 07:38:16 +01:00
logicog
b82b957750
Add LAG documentation
2025-12-05 07:38:16 +01:00
logicog
8284554f69
Add LAG configuration commands
2025-12-05 07:38:16 +01:00
logicog
47aa6ab7bf
Improve LAG configuration
2025-12-05 07:38:16 +01:00
logicog
42ea80a480
Update LAG configuration registers
2025-12-05 07:38:16 +01:00
logicog
e63d1bf577
Merge pull request #27 from vDorst/doc_2M-PCB23-V3_1-managed
...
Add docs: 2M-PCB23-V3.1-managed
2025-12-01 22:30:06 +01:00
René van Dorst
1c78d32493
Merge pull request #36 from logicog/config
...
System settings and configuration management
2025-12-01 19:22:03 +00:00
logicog
b910692caf
Use random session ID in httpd.c
2025-12-01 18:26:46 +01:00
logicog
9c21d94b65
Add read_reg_timer function
2025-12-01 18:26:46 +01:00
logicog
7f715e9218
Move inline itohex() into header file to allow external access
2025-12-01 18:26:46 +01:00
logicog
ad27566030
Use current password in httpd.c
2025-12-01 18:26:46 +01:00
logicog
0722b147fe
Add cache control to make sure new pages are served on session timeout
2025-12-01 18:26:46 +01:00
logicog
4e4e6a55ba
Redirect to login page when status request not authorized
2025-12-01 18:26:46 +01:00
logicog
dc6734236c
Add rnd and passwd commands
2025-12-01 18:26:46 +01:00
logicog
70c14fb23e
Add get_random_32()
2025-12-01 18:26:46 +01:00
logicog
73a81ec031
Add initial implementation for authentication
2025-12-01 18:26:46 +01:00
logicog
cac7fbe080
Add simulator support for session management
2025-12-01 09:22:46 +01:00
logicog
6e0e907afb
Add register definitions for random number generation
2025-11-29 12:44:23 +01:00
logicog
a8a770f27f
Add login page and style
2025-11-29 12:44:23 +01:00
logicog
69110531b7
Add support for reading configuration and command history
2025-11-29 12:44:23 +01:00
logicog
00a415c755
Add filtering logic for configuration commands
2025-11-29 12:44:23 +01:00
logicog
f485102d26
Add fetching of configuration file and current cmd history
2025-11-29 12:44:23 +01:00
logicog
4d915a0d80
Add support for command history
...
This adds a command history, both for the CLI as well as for
commands sent by the web-interface. They are written to a ring buffer
in order to work safely with a relatively small amount of RAM
The buffer is used to read the current in-RAM configuration
from the switch by the web-interface. It could also be used
to implement cmd history via cursor up/down in the CLI.
2025-11-29 12:44:23 +01:00
logicog
9d4ba57cd0
Add support for chunking of served files
...
This removes the limitation that a file served from FLASH memory
needs to be smaller than the TCP buffer size. Now we serve up to
the TCP buffer size in the first go and then remember what parts
still need to be sent. As soon as the previous package has been
acked, the next chunk of data is copied from flash into the
TCP transmit buffer and gets sent. We take care only to send
the current TCP window size so no further fragmentation needs to
happen, thus optimizing transmission of the remainder.
2025-11-29 12:44:23 +01:00
logicog
ba9bc2e845
Initial web-files for system settings and configuration management
2025-11-29 12:44:23 +01:00
logicog
76344e172c
Merge pull request #42 from vDorst/cmd_version
...
Added software version + git short hash string to firmware.
2025-11-27 20:05:47 +01:00
René van Dorst
f59be9cf2b
Added software version + git short hash string to firmware.
...
The Makefile has the version number and generates a version.h which
has VERSION_SW define that looks like "v<VERSION>-g<GIT_SHORT_HASH>".
Software version shows at boot in the serial console.
And shown with command: `version`.
It can also be requested via `information.json`.
```
{
"ip_address": "192.168.10.247",
"ip_gateway": "192.168.10.1",
"ip_netmask": "255.255.255.0",
"mac_address": "1c:2a:a3:23:00:02",
"sw_ver": "v0.1.0-gd48235f",
"hw_ver": "SWGT024-V2.0"
}
```
2025-11-26 23:08:23 +01:00
René van Dorst
d48235f652
Merge pull request #37 from logicog/sfp_demagic
...
De-Magic I2C configuration for SFP-EEPROM reads
v0_1_alpha
2025-11-03 21:07:15 +00:00
logicog
9c7572b289
De-Magic I2C configuration for SFP-EEPROM reads
2025-11-02 09:49:13 +01:00
logicog
0989b227c0
Merge pull request #34 from vDorst/feat_html_firmware_select
...
html: firmware selection: limit extension only to .bin
2025-10-31 11:48:37 +01:00
René van Dorst
aa406e1d98
html: firmware selection: limit extension only to .bin
...
This makes it quicker to select firmware image from the output directory.
You can still select at File type "All Files" if the extention is diffrent.
2025-10-30 21:30:37 +01:00
René van Dorst
1d6f0a2163
Merge pull request #33 from logicog/mirror
...
Mirror
2025-10-30 20:03:22 +00:00
logicog
f93cfd467f
Use better css elsewhere
2025-10-29 15:39:47 +01:00
logicog
51c5bd75eb
Add mirroring web-calls
2025-10-29 15:39:47 +01:00
logicog
2008d490a9
Add support for mirror status and mirror deletion via CLI
2025-10-29 15:39:47 +01:00
logicog
5622f1c843
Add Mirroring web-pages
2025-10-29 15:39:47 +01:00