Netbsd Wireless LAN configuration netbsd use wpa_supplicant to configure Wireless LAN, my router uses wpa2-psk [aes] encryption, the operating system is netbsd6.0.1, my wireless network card by dmesg display as ath0, it is displayed as athn0 on netbsd6.99. Use ifconfig ath0 list scan to scan the network to find your ssid, of course this step is not necessary, and netbsd has fully supported wpa2-psk [aes] encryption, you do not need to change the vro encryption method to wpa-psk [tkip] 1. set wireless network card # vi/etc/ifconfig. athn0 up dhcp! /Usr/sbin/wpa_supplicant-B-iathn0-c/etc/wpa_supplicant.conf 2. modify/etc/rc. conf added: critical_filesystems_local = "/var/usr" # This must be added, otherwise, the system will prompt that/usr/sbin/wpa_supplicant dhcpcd_flags = "-q-B" cannot be found at startup. # You can configure the wireless network card at startup without affecting the startup speed. "-B-I athn0-c/etc/wpa_supplicant.conf 3. generate the/etc/wpa_supplicant.conf wpa_passphrase ssid passwd | tee/etc/wpa_supplicant.conf | the ssid in nl is the ssid number of your wireless network, and passwd is the file that is difficult to change the password: ap_scan = 1 ctrl_interface =/var/run/wpa_supplicant ctrl_interface_group = wheel network = {scan_ssid = 1 proto = rsn wpa key_mgmt = WPA-PSK pairwise = ccmp tkip group = ccmp tkip ssid = "NETGEAR" # psk = "yljwyc0719" psk = 43252d2ec9cef3ef632ea2fca3cbdf99fc456861353b1ba2e9cac78d1771ce4a}/etc/rc. d/network restart is here. Next we will introduce how to bind multiple NICs and one Nic to multiple ip addresses.