First check your wireless adapter:
The output will show your network devices (ethernet and wireless adapter) Is the athn0 driver in the list?
Then configure wpa supplicant:
It's important to set your exact SSID (name of your wlan) and of course your exact psk (preshared key). Both are case sensitive.
You can get more information on http://wiki.netbsd.org/tutorials/how_to_use_wpa_supplicant/
Second, configure rc init. Add entries to /etc/rc.conf to configure the network on startup:
wpa_supplicant_flags="-B -i athn0 -c /etc/wpa_supplicant.conf"
Use dhcpcd, the DHCP client daemon:
Third, start wireless service: you have two possibilities
Restart your computer or
you can start wpa_supplicant with
then restart your network with
Last but not least you can try as root a neat program to improve your configuration (in interactive mode):
After the configuration of your network card test if it's working correctly. Use the
ping command to send 3 packets to the IP address of your localhost or to an DNS name of your choice, for example:
ping -c3 www.netbsd.org
And don't give up! NetBSD is rocksolid, no bloatware and nobody bothers you with
systemd. And as a bonus you can use pkgsrc!