이것이 계속이다다른 게시물이제 해결되었습니다.
이제 실제로 사용 가능한 무선 네트워크 목록을 얻으려고 합니다. Intel 7260이 올바르게 설치 및 감지되는 것으로 보이지만 "mar"라는 ESSID를 포함하려는 시도는 실패합니다. 나는 사용해 보았습니다 wpa_supplicant
(문제 설명에서 자세한 내용을 참조하십시오).
사용된 네트워크 목록을 얻을 수 있지만 iwlist scan
사용 결과는 없습니다 wpa_cli list_networks
(자세한 내용 참조). 이것은 나에게 모두 새로운 것이기 때문에 나에게 큰 의미가 없습니다.
환경
- 차세대 컴퓨팅 유닛 NUC DC3217IYE
- 데비안 3.16-0.bpo.2-amd64 사용
- 867Mbps 802.11ac Intel 7260 카드, 듀얼 밴드 5GHz + 2.4GHz 무선 2x2 AC + Bluetooth 4.0
정보
root@marvin:~# dmesg | grep wifi
[ 2.793592] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 2.793814] iwlwifi 0000:02:00.0: irq 44 for MSI/MSI-X
[ 2.801067] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-7260-9.ucode
[ 2.801353] iwlwifi 0000:02:00.0: loaded firmware version 25.222.9.0 op_mode iwlmvm
[ 2.816828] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[ 2.817506] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[ 2.817768] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[ 4.697179] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[ 4.697409] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
구성 파일
# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
lo no wireless extensions.
목록
$ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: F4:CA:E5:FE:60:D4
Channel:10
Frequency:2.457 GHz (Channel 10)
Quality=29/70 Signal level=-81 dBm
Encryption key:on
ESSID:"mar"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s
Bit Rates:18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000001c32228160
Extra: Last beacon: 3276ms ago
IE: Unknown: 00036D6172
IE: Unknown: 010882848B962C0C1218
IE: Unknown: 03010A
IE: Unknown: 050400020000
IE: Unknown: 2A0104
IE: Unknown: 3205243048606C
IE: Unknown: 7F080000000000000040
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
Cell 02 - Address: F4:CA:E5:FE:60:D5
Channel:10
Frequency:2.457 GHz (Channel 10)
Quality=29/70 Signal level=-81 dBm
Encryption key:off
ESSID:"FreeWifi"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s
Bit Rates:18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000001c32228160
Extra: Last beacon: 3240ms ago
IE: Unknown: 00084672656557696669
IE: Unknown: 010882848B962C0C1218
IE: Unknown: 03010A
IE: Unknown: 050401020000
IE: Unknown: 2A0104
IE: Unknown: 3205243048606C
IE: Unknown: 2D1A6C0003FFFFFF0001000000000000000100000000000000000000
IE: Unknown: 3D160A001300000000000000000000000000000000000000
IE: Unknown: 7F080000000000000040
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IP 링크
# ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 1000
link/ether 00:15:00:bc:79:e2 brd ff:ff:ff:ff:ff:ff
상호 작용
# more /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
#auto lo
#iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant.conf
# more /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="mar"
key_mgmt=NONE
wep_key0=fffffffff
}
# wpa_cli reconfigure
Selected interface 'wlan0'
FAIL
그런데 가장 놀라운 점은 iwlist scan
네트워크 목록이 제공된다는 점이죠?
# wpa_cli list_networks
Selected interface 'wlan0'
network id / ssid / bssid / flags
# wpa_cli status
Selected interface 'wlan0'
wpa_state=INACTIVE
address=00:15:00:bc:79:e2
고쳐 쓰다
# ps -ef | grep wpa
/sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -t -ddd -c /etc/wpa_supplicant/wpa_supplicant.conf -C /var/run/wpa_supplicant
# wpa_cli scan_results
Selected interface 'wlan0'
bssid / frequency / signal level / flags / ssid
f4:ca:e5:fe:60:d4 2457 -83 [WEP][ESS] mar
f4:ca:e5:fe:60:d6 2457 -85 [WPA2-EAP-TKIP+CCMP][ESS] FreeWifi_secure
f4:ca:e5:fe:60:d5 2457 -83 [ESS] FreeWifi
list_networks
그런데 왜 결과가 나오지 않는지 아직도 잘 모르겠습니다 (?). 사용법을 잘못 이해한 것 같습니다.