Hi, it seems that wg(4) is not available on evbarm:

# uname -a
NetBSD rp4-4g 10.1_STABLE NetBSD 10.1_STABLE (GENERIC64) #0: Mon Dec  8 
09:25:45 UTC 2025  
[email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

# ifconfig wg0 create
ifconfig: clone_command: Invalid argument
ifconfig: exec_matches: Invalid argument

The above command executes correctly on amd64 port, however I cannot
find any reference to wg(4) driver in src/sys/arch/amd64/conf/GENERIC
nor any other files that this config includes. Also "config -x /netbsd"
shows nothing on amd64.

According to 
https://mail-index.netbsd.org/current-users/2020/08/20/msg039393.html
it needs "pseudo-device wg" so where is it hiding for amd64?

I can see this in src/sys/arch/amd64/conf/ALL but it looks like this
config is only used to test building all kernel options and does not
seem to be included in GENERIC.

$ pwd
/netbsd_build/src/sys/arch/amd64/conf

$ ack wg
ALL
1670:pseudo-device      wg                      # VPN tunnel compatible with 
WireGuard

$ ack "ALL$"
ALL
1867:options DEBUG_BIOSCALL

Reply via email to