Other contacts

Novi članci

Flickr Goodness


February 17, 2010 @ 9:55

Which wireless driver does your wireless card uses on Fedora and Ubuntu?

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
Also try this command:
lshw -class network |grep -i ‘description: wireless’ -A 11

30:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG 
Network Connection (rev 02)
	Kernel driver in use: iwl3945
	Kernel modules: iwl3945

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

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

  • Peter

    Get the usbutils to add the -k option to lsusb as it seems like a very useful option?

  • http://dheche.songolimo.net dheche

    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

  • http://kernelreloaded.blog385.com valent

    I update the command, can you test it now with:
    $ lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2

  • http://dheche.songolimo.net dheche

    yes, that work perfectly

  • srecko

    pozdrav,ja to nemogu,,,

    kada napisem prvu naredbu,,,

    nista…dobival ovo

    [xowl@localhost ~]$ lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2
    bash: wlan: command not found
    bash: 802.11″: command not found
    [xowl@localhost ~]$

    • http://kernelreloaded.blog385.com valent

      Nemoj copy/paste već probaj ukucati navodnike preko tipkovnice sam, mislim da moj blog zeza nešto kad se direktno s njega radi copy/paste.

  • srecko

    pa sam sam pisao…i nije dobro

  • http://kernelreloaded.blog385.com valent

    ukucaj samo:
    lspci -k

    i onda na linuxzasve copy/paste samo dio informacija o tvojoj broadcom wireless kartici a ne za sve uređaje

    meni istu grešku napiše kada copy/paste napravim, ali kada ove zamijenim običnim ” ” navodnicima sve radi ok pa mora i tebi.

  • srecko

    postao sam na linu za sve na forumu probleme,,,,

  • valent

    BROADCOM on HP-Mini 5101:

    # lspci -k|grep -i -E “wireless|wlan|802.11″ -A 2
    08:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)
    Subsystem: Hewlett-Packard Company Device 1510
    Kernel driver in use: wl


    Flickr photostream

    SSL is required

    Meta meta :)