Scientific Linux 6.4 無線 LAN 設定
全部 GUI でできたのかもしれないが、ファイルを触ってしまった
ハード特定
[aka@megane ~]$ sudo lspci | grep Network
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
ファームが入っていること確認
[aka@megane ~]$ sudo dmesg | grep 3945
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
iwl3945: Copyright(c) 2003-2011 Intel Corporation
iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwl3945 0000:03:00.0: setting latency timer to 64
iwl3945 0000:03:00.0: Tunable channels: 13 802.11bg, 12 802.11a channels
iwl3945 0000:03:00.0: Detected Intel Wireless WiFi Link 3945ABG
iwl3945 0000:03:00.0: irq 31 for MSI/MSI-X
ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945 0000:03:00.0: firmware: requesting iwlwifi-3945-2.ucode
iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9
設定ファイル (試行錯誤の末...)
[aka@megane ~]$ sudo cat /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0
HWADDR=xx:xx:xx:xx:xx:xx
MODE=Managed
KEY_MGMT=WPA-PSK
TYPE=Wireless
UUID=dbf790c3-1c63-4706-a8d2-5752b78be644 # 最初からの値
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
MODE=Auto
ESSID=myessid
WPA_ALLOW_WPA2=yes
[aka@megane ~]$ sudo cat /etc/sysconfig/network-scripts/keys-wlan0 WPA_PSK="keytext"