
Ubuntu日本語フォーラム

ログインしていません。
今、ubuntu 10.04LTSにwiresharkを入れたノートPC上で、NEC WL300NCからRadioTapHeaderから情報を取得しようとしています。
すでにWlanカードをモニターモードで起動し、RadioTapHeaderの一部を取得することはできています。
しかし、取得できるデータに歯抜けがあり、例えばdBm Antenna Noiseという値が取得できない状態です。
このdBm Antenna Noiseという値を取得するために必要な操作がありましたらご教授願います。今回の主目的の一つで何としてでも、
ハード・ソフトを変更してでも取得したいです。
--------------------------------------------------------------------
試したこと
wiresharkを1.27(apt-getで入る版)→1.67(最新の安定版)に変更/モニターモードで動作するが、目的の値は取得できず
ath9kを最新版(compat-wireless3.2)に差し替え/動作するが、目的の値は取得できず
ath9k→madwifi0.94(古い記事で動作実績がある)に差し替え/目的の値は取れそう(iwconfigにnoiseの項目が見える、カードのMacアドレスは取得できている)だが、ifupするとシステム全体がフリーズ(Alt+Ctrl+Del、Sysrq系コマンドにも反応しない)
--------------------------------------------------------------------
現在取得できているデータ
Frame 1: 163 bytes on wire (1304 bits), 163 bytes captured (1304 bits)
Radiotap Header v0, Length 18
Header revision: 0
Header pad: 0
Header length: 18
Present flags
.... .... .... .... .... .... .... ...0 = TSFT: False
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = dBm Antenna Signal: True
.... .... .... .... .... .... .0.. .... = dBm Antenna Noise: False
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = dB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = dBm TX Power: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...0 .... .... .... = dB Antenna Signal: False
.... .... .... .... ..0. .... .... .... = dB Antenna Noise: False
.... .... .... .... .1.. .... .... .... = RX flags: True
.... .... .... .0.. .... .... .... .... = Channel+: False
.... .... .... 0... .... .... .... .... = HT information: False
..0. .... .... .... .... .... .... .... = Radiotap NS next: False
.0.. .... .... .... .... .... .... .... = Vendor NS next: False
0... .... .... .... .... .... .... .... = Ext: False
Flags: 0x10
.... ...0 = CFP: False
.... ..0. = Preamble: Long
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
.0.. .... = Bad FCS: False
0... .... = Short GI: False
Data Rate: 1.0 Mb/s
Channel frequency: 2422 [BG 3]
Channel type: 802.11b (0x00a0)
.... .... ...0 .... = Turbo: False
.... .... ..1. .... = Complementary Code Keying (CCK): True
.... .... .0.. .... = Orthogonal Frequency-Division Multiplexing (OFDM): False
.... .... 1... .... = 2 GHz spectrum: True
.... ...0 .... .... = 5 GHz spectrum: False
.... ..0. .... .... = Passive: False
.... .0.. .... .... = Dynamic CCK-OFDM: False
.... 0... .... .... = Gaussian Frequency Shift Keying (GFSK): False
...0 .... .... .... = GSM (900MHz): False
..0. .... .... .... = Static Turbo: False
.0.. .... .... .... = Half Rate Channel (10MHz Channel Width): False
0... .... .... .... = Quarter Rate Channel (5MHz Channel Width): False
SSI Signal: -85 dBm
Antenna: 5
RX flags: 0x0000
.... .... .... .... .... ..0. = Bad PLCP: False
IEEE 802.11 Beacon frame, Flags: ........C
IEEE 802.11 wireless LAN management frame
--------------------------------------------------------------------
lspci -nn | grep 'Atheros'
0b:00.0 Network controller [0280]: Atheros Communications Inc. AR5008 Wireless Network Adapter [168c:0023] (rev 01)
lsmod | grep "ath9k"
ath9k 68107 0
ath9k_common 2551 1 ath9k
ath9k_hw 223661 2 ath9k,ath9k_common
ath 8041 2 ath9k,ath9k_hw
led_class 2864 1 ath9k
mac80211 225587 4 ath9k,ath9k_common,iwl3945,iwlcore
cfg80211 144778 6 ath9k,ath9k_common,ath,iwl3945,iwlcore,mac80211
sudo lshw -C network
*-network DISABLED
description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlan0
version: 02
serial: 00:19:d2:aa:bf:##
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 driverversion=2.6.32-41-generic-pae firmware=15.32.2.9 latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
resources: irq:28 memory:cc000000-cc000fff
*-network
description: Ethernet interface
product: PRO/100 VE Network Connection
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:0a:08.0
logical name: eth0
version: 02
serial: 00:1a:80:08:d9:##
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.24-k2-NAPI duplex=full firmware=N/A ip=192.168.1.4 latency=64 link=yes maxlatency=56 mingnt=8 multicast=yes port=MII speed=100MB/s
resources: irq:20 memory:d0005000-d0005fff ioport:6000(size=64)
*-network
description: Wireless interface
product: AR5008 Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 2
bus info: pci@0000:0b:00.0
logical name: wlan1
version: 01
serial: 00:0d:02:3b:54:##
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=2.6.32-41-generic-pae firmware=N/A latency=168 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:16 memory:48000000-4800ffff
lsb_release -d
Description: Ubuntu 10.04.4 LTS
uname -mr
2.6.32-41-generic-pae i686
オフライン