-- cut here begin -- ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel
# Generate network={} lines by /usr/sbin/wpa_passphrase. # Append generated lines to this file.
# AP_SSID is access point's SSID.
network={ ssid="AP_SSID" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK psk=00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff } -- cut here end --
/etc/sysconfig/wpa_supplicant を設定する。 zd1211rw ドライバはインターフェース名 wlan0、ドライバ API は wext なので、それぞれ設定する。
# Use the flag "-i" before each of your interfaces, like so: # INTERFACES="-ieth1 -iwlan0" INTERFACES="-iwlan0"
# Use the flag "-D" before each driver, like so: # DRIVERS="-Dwext"
# Other arguments # -u Enable the D-Bus interface (required for use with NetworkManager) # -f Log to /var/log/wpa_supplicant.log OTHER_ARGS="-u -f /var/log/wpa_supplicant.log" -- cut here end --
-- cut here begin -- # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. TYPE=Wireless DEVICE=wlan0 BOOTPROTO=dhcp DHCP_HOSTNAME=myhostname-wlan DHCLIENTARGS="-nw" ONBOOT=yes ESSID=AP_SSID CHANNEL=auto MODE=Managed RATE=auto -- cut here end --