주입으로 무선 드라이버를 얻는 방법

주입으로 무선 드라이버를 얻는 방법

관련 가능성이 있음:
내 무선 카드에 삽입이 활성화되었는지 어떻게 알 수 있나요?

참고: 저는 주로 프로그래머로서 자바스크립트를 수행하므로 멍청한 점을 용서해 주십시오. 제가 이것을 어떻게 알 수 있었는지에 대한 조언을 주시면 매우 감사하겠습니다.

끝부터 시작해볼게, 그런 것 같아~ 아니다내 드라이브에 주입이 있습니다:

$ sudo airmon-ng start wlp3s0


Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID Name
706 avahi-daemon
734 avahi-daemon
765 NetworkManager
1097    wpa_supplicant
4260    dhclient
Process with PID 4260 (dhclient) is running on interface wlp3s0


Interface   Chipset     Driver

wlp3s0      Unknown     ath10k_pci - [phy0]
                (monitor mode enabled on mon0)

$ sudo aireplay-ng -9 mon0               
17:18:58  Trying broadcast probe requests...
17:19:00  No Answer...
17:19:00  Found 1 AP 
17:19:00  Trying directed probe requests...
17:19:00  10:FE:ED:8A:EF:D0 - channel: 6 - 'network name'
17:19:06   0/30:   0%

위에 게시한 링크는 폐쇄 소스 Wi-Fi 드라이버를 사용하기 때문에 이것이 발생할 수 있다고 제안했습니다.

이는 아마도 삽입을 지원하지 않는 기본(비공개 소스) 드라이버를 사용했기 때문입니다.

자신의 드라이버를 컴파일하고 대신 사용하려면 compat-wireless 패키지를 사용해야 하며 패킷 주입을 허용하도록 패치해야 합니다. 최소한 mac80211.compat08082009.wl_frag+ack_v1.patch가 필요합니다.

내 드라이버는 다음과 같습니다 ath10k_pci. (이더넷 인터페이스 정보는 생략했습니다.)

$ sudo lshw -C network
*-network
       description: Wireless interface
       product: QCA6174 802.11ac Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 32
       serial: c8:ff:28:00:90:51
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless logical
       configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-59-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 ip=192.168.0.108 latency=0 link=yes promiscuous=yes wireless=IEEE 802.11abgn
       resources: irq:127 memory:a1000000-a11fffff

관련 정보