Q:
無線LANアダプタは認識していますが、使えません。wlan0がありません。
dmesg|grep iwl4965
[ 5.705616] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 5.705622] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 5.705727] iwl4965 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 5.705953] iwl4965 0000:03:00.0: Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
[ 5.748963] iwl4965 0000:03:00.0: device EEPROM VER=0x36, CALIB=0x5
[ 5.783104] iwl4965 0000:03:00.0: Tunable channels: 13 802.11bg, 12 802.11a channels
[ 5.827769] iwl4965 0000:03:00.0: loaded firmware version 228.61.2.24
A:
$ sudo lshw -class network
*-network
詳細: 無線インターフェース
製品: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
ベンダー: Intel Corporation
物理ID: 0
バス情報: pci@0000:03:00.0
論理名: wlan0
バージョン: 61
シリアル: 00:13:e8:2d:d0:2d
幅: 64 bits
クロック: 33MHz
性能: pm msi pciexpress bus_master cap_list __________________ physical wireless
設定: broadcast=yes driver=iwl4965 driverversion=4.4.0-101-generic firmware=228.61.2.24 ip=192.168.**.** latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
リソース: irq:30 メモリー:fc300000-fc301fff
$ sudo vi /etc/pm/config.d/config
SUSPEND_MODULES="iwl4965 wlan0"
$ sudo sh -c "wpa_passphrase SSID KEY >> /etc/wpa_supplicant/wpa_supplicant.conf"
$sudo vi /etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.**.**
netmask 255.255.255.0
gateway 192.168.**.1
dns-nameservers 192.168.**.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf