Re: Interest in building tools for GSoC 2025

From: Aymeric Wibo <obiwac_at_freebsd.org>
Date: Fri, 28 Mar 2025 23:19:09 UTC
Hi Piya!

Thanks for your interest.

 > - Have there been any attempts at implementing these in the past?
 > - Pointers to parts of the code relevant to the projects

For the WiFi tool, there's already an ncurses TUI in base ('bsdconfig 
wifi'). The way I saw this though was mostly writing a CLI tool 
equivalent to nmcli on Linux, i.e. something that can easily be scripted 
around and for which commands can easily be included in guides. I'll let 
Getz comment on this more though.

There are a couple GUI tools which also offer WiFi network management, 
notably the net-mgmt/wifimgr port or GhostBSD's Networkmgr.

For the power reporting project, there's the powermon port which I 
haven't been able to test yet because I don't have a compatible device 
(Intel-only, I'm assuming it uses RAPL in which case it can probably 
easily be made to work on AMD too), but it seems to already cover the 
basic features powertop does.

What would be nice is a more comprehensive framework for power usage 
reporting over time, similar to PCP on Linux. Doesn't need to be as 
complex and advanced as PCP, but at least a daemon able to track a 
process' and the system's power consumption over time would be nice. You 
can check out pmda-denki to see how they retrieve this information.

In any case, a tool in base would be desirable.

Kind regards,
Aymeric