November 14, 2008 @ 21:16
Which wireless driver does your wireless card uses?
If you have a new Fedora user (or user of any other distro) who has problems using his wireless card first thing you need is for him to tell you which wireless card he has and which wireless driver his card uses. For experienced users this is trivial and can be done in several ways. I found that this can be a bit tricky for new users and there isn’t one simple command that displays ONLY this information.
This one liner seams to do the trick for PCI wireless cards:
lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2
UPDATE:
Also try this command:
lshw -class network |grep -i ‘description: wireless’ -A 11
BROADCOM:
30:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
INTEL:
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
Kernel driver in use: iwl3945
Kernel modules: iwl3945
ATHEROS:
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg
Wireless PCI Express Adapter (rev 01)
Kernel driver in use: ath_pci
Kernel modules: ath5k, ath_pci
INTEL:
3:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
Kernel driver in use: iwlagn
Kernel modules: iwlagn
I tried this with Intel, Atheros and Broadcom wireless cards. Do you know of a better way to do this? How would you do this for USB wireless cards?
Filed under linux, tips&tricks, wireless Permalink
4 Comments »
RSS feed for comments on this post · TrackBack URI
Posted by Peter
November 14, 2008 @ 22:19
Get the usbutils to add the -k option to lsusb as it seems like a very useful option?
Posted by dheche
November 17, 2008 @ 11:52
your command is not work on my system, i got broadcom 4328
(no wireless/wlan string from lspci)
0b:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
Kernel driver in use: wl
Kernel modules: ssb, wl
Posted by valent
November 17, 2008 @ 12:47
I update the command, can you test it now with:
$ lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2
Posted by dheche
November 17, 2008 @ 13:59
yes, that work perfectly