[New Plugin] sysutil/vep-hw - add rc.syshook scripts to support Dell EMC VEP1400 platforms
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 863
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 10
Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
Not a problem/bug with the software as it is, just extending support to a "new" platform, as installing OPNsense on these devices at this time requires a lot of manual steps to bring up the relevant interfaces up via SMBus writes.
Describe the solution you'd like
I have created a couple of shell scripts that go into the rc.syshook.d directories that automate the process of writing to the required SMBus addresses to disable the watchdog, activate the TX lines on SFP/SFP+ interfaces and, with the addition of a patched OPNsense 26.7 kernel, bring up the Marvell 88E6190 switch on VEP1400 boards (like the Edge 610), or the additional "hidden" Intel i350 interfaces on VEP1400-X boards (Edge 620 and higher models), depending on the board ID. The other script changes the front LED to green when startup is completed.
Describe alternatives you've considered
N/A
Additional context
STH forum about these devices:
https://forums.servethehome.com/index.php?threads/dell-vep-vmware-edge-velo-cloud-sd-wan-veracloud-vep1400-vep1400-x-firewall-units.39392/
Kernel patch:
https://reviews.freebsd.org/D50128?download=true&id=155233
Reddit post about a similar device that was used as a reference guide to apply above patch:
https://www.reddit.com/r/WatchGuard/comments/1savtxr/freebsd_on_m270/
I have tested these scripts on both an Edge 610 (with patched kernel) and Edge 620 (with stock kernel) on OPNsense 26.7 RC2.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing existing rc.syshook.d scripts and the linked FreeBSD kernel patch, then trace how board IDs distinguish VEP1400 and VEP1400-X platforms. Implement the requested SMBus initialization and startup LED behavior, and validate the result on the Edge 610 and Edge 620 configurations described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- embedded-iot, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100