Netbsd Wireless LAN Configuration

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.