어떤 Wi-Fi 드라이버가 설치되어 있는지 어떻게 확인하나요?

어떤 Wi-Fi 드라이버가 설치되어 있는지 어떻게 확인하나요?

알아요 lsmod. 하지만 어떤 운전자가 무엇을 하는지 어떻게 알 수 있나요?

답변1

$ readlink /sys/class/net/wlan0/device/driver
../../../../bus/pci/drivers/ath5k

즉, /sys장치( ) 계층에는 /sys/class/net/$interface/device드라이버 계층에 대한 심볼릭 링크가 포함되어 있습니다. 여기에서 /sys모듈 계층 구조에 대한 기호 링크 도 찾을 수 있습니다 (해당하는 경우). /sys이는 무선 인터페이스뿐만 아니라 대부분의 장치에 적용됩니다.

답변2

더 좋은 방법이 있을 수도 있지만 저는 lshw -class network(루트 사용자로) 다음과 같은 출력이 제공됩니다.

  *-network               
       description: Ethernet interface
       product: 82566MM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 03
       serial: 00:a0:d1:a3:87:c8
       size: 1GB/s
       capacity: 1GB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.0.2-k2 duplex=full firmware=0.3-0 ip=192.168.2.206 latency=0 link=yes multicast=yes port=twisted pair speed=1GB/s
       resources: irq:29 memory:fc300000-fc31ffff memory:fc325000-fc325fff ioport:1840(size=32)
  *-network
       description: Wireless interface
       product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlan0
       version: 61
       serial: 00:1d:e0:69:28:07
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlagn ip=192.168.0.104 latency=0 multicast=yes wireless=IEEE 802.11abgn
       resources: irq:31 memory:c8000000-c8001fff
  *-network DISABLED
       description: Ethernet interface
       physical id: 3
       logical name: vboxnet0
       serial: 0a:00:27:00:00:00
       capabilities: ethernet physical
       configuration: broadcast=yes multicast=yes

driver이 출력에서 ​​알 수 있습니다. 내 경우에는 을 사용하여 lsmod | grep iwlagn다음을 제공합니다.

iwlagn                 63559  0 
iwlcore                67702  1 iwlagn
mac80211              123574  2 iwlagn,iwlcore
cfg80211               87657  3 iwlagn,iwlcore,mac80211

각각의 의미를 묻지 마세요 :)

답변3

USB 기반 WiFi 장치에 관심이 있는 경우 lsusb다음 명령을 사용하여 드라이버 이름을 볼 수 있습니다.

lsusb -t

관련 정보