When I clicked on additional drivers on Ubuntu 12.04, I could not see any drivers.. How can I check what drivers are installed for WiFi on Ubuntu environment.
6 Answers
The following commands are run in a terminal. Open one by Ctrl+Alt+T.
To check what drivers your wireless adapter is currently using, you may run the following command:
sudo lshw -C network
lshw
lists information on your hardware-C network
filters the output to only show the network class.
In the output, look for the entry with description: Wireless interface
.
Here's the output from my Ubuntu:
alaa@aa-lu:~$ sudo lshw -C network [sudo] password for alaa: *-network description: Wireless interface product: RTL8723AE PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:08:00.0 logical name: wlan0 version: 00 serial: 24:ec:99:21:c9:29 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8723ae driverversion=3.8.0-27-generic firmware=N/A ip=192.168.1.74 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:17 ioport:3000(size=256) memory:c3000000-c3003fff
In the configuration
line (line before last), you'll see the driver
currently being used by my card. I've highlighted it in the output.
Alternatively, you can use the command:
lspci -nnk | grep -A2 0280
lspci
lists information on your PCI connected cards-nnk
instructslspci
to output more information about these cards (including the driver being used)|
pipes the output to the next commandgrep 0280
filters the output to show lines containing0280
, which is the PCI class code for wireless PCI controllers in Ubuntu.-A2
shows two more lines of information.
Here's the output from my Ubuntu:
08:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter [10ec:8723] Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0724] Kernel driver in use: rtl8723ae
Once you determine the driver you're using, you can use the following command to show more information about it:
modinfo <driver-name>
To check what wireless drivers you currently have installed, but not necessarily being used by anything, you can do the following command:
find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -name '*.ko'
The above command will list all drivers you have installed. This will probably be an exhaustive list, because these are preinstalled drivers on your Ubuntu to make it possible for people to use their wireless drivers as soon as they install Ubuntu.
-
1Result for:lshw -c Network *-network UNCLAIMED description: Network controller product: BCM43228 802.11a/b/g/n vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:f7e00000-f7e03fff *-network description: Ethernet interface product: NetXtreme BCM5761 Gigabit Ethernet PCIe vendor: Broadcom Corporation Commented Aug 16, 2013 at 16:51
-
But wireless is not working how to sort out the issue, Is there I am to install any extra driver. Commented Aug 16, 2013 at 16:53
-
I have found two drivers 1) Kernel driver in use: sdhci-pci 2)Kernel driver in use: tg3 but still wifi is not working Commented Aug 16, 2013 at 17:29
-
Your question was "How can I check the information of currently installed WiFi drivers?" I didn't know (nor did you mention) that your wireless card is not working. First, check this answer: askubuntu.com/a/60395/52726. If you still can't get your wireless card to work, post another question.– Alaa AliCommented Aug 16, 2013 at 19:42
The following method includes the installation of additional software, which name is hardinfo.
You can search and install hardinfo, from USC
or
from terminal (CTRL+ALT+T) apply the following command
sudo apt-get install -y hardinfo
Locate hardinfo from Dash (by writing: hardinfo), open it and goto PCI Devices if your Wireless adapter is an integrated PCI device.
Next to Kernel modules is the current loaded driver of the specified Wireless adapter. In example picture is ath9k
If your Wireless adapter is a USB device, then goto the corresponding entry on the left list under Devices.
-
Reading package list...Done Building dependency tree Reading state information... Done E: unable to locate package hardinfo Commented Aug 16, 2013 at 17:06
-
1You'll need to enable the universe repository. Type
software-properties-gtk &
. Once the windows opens, put a check mark on the line ending in "(universe)". Once you do that, runsudo apt-get update
in the terminal, then try installinghardinfo
again.– Alaa AliCommented Aug 16, 2013 at 17:19 -
Still getting the same information : ** Unable to locate package hardinfo ** Commented Aug 16, 2013 at 18:22
-
Just to let you know internet is not working on my pc as i do have only wifi and its not accessible to me Commented Aug 16, 2013 at 18:23
-
Your question (as the title set it) has been answered. IMHO has been answered completely. Now if you have another problem you can open a new one, or you can search for help in other Ubuntu Help Desks (ubuntuforums.org - answers.launchpad.net ..etc). Please choose the appropriate answer(the one that you think solves your problem, and click it as the correct one).– NickTuxCommented Aug 16, 2013 at 19:02
You can also try:
ethtool -i wlan0 | grep driver
this gives the current loaded driver for your wlan card with output like this:
uchiha@Hokage:~$ ethtool -i wlan0 | grep driver
driver: brcmsmac
which is my driver for wi-fi card. If you don't have ethtool you can install it by:
sudo apt-get install ethtool
-
@P.-H., This was my first answer... i don't know how to get the formatting.. i read the "markdown section" to get the formatting right but was unable to understand it... can u please explain it to me by an example? Commented Apr 7, 2015 at 14:51
-
Hi, you can check this Markdown Editing Help article, and you can practice by asking a new question (just don't submit it, you will see the preview) Commented Apr 8, 2015 at 7:40
You can use this command:
sudo lspci -nn -v -s your socket
Try
lsmod
to check if the module r8169 is existed by: If it is not then add it by:
sudo modprobe r8169
This solved the problem for me.
sudo update-pciids
# lspci
## PCI
lspci
lspci | more
lspci | less
lspci | grep -i intel
lspci | grep -i broadcom
lspci | grep -i wireless
lspci -k | more
lspci | egrep -i 'wifi|wireless|intel|broadcom|realtek'
# Enter
lspci -vv -s 0c:00.0
# lshw
## list hardware, command may not be installed
lshw -C network
lshw -C network | more
# lsusb
## USB WiFi device
lsusb
lspci | grep -i network
to your question.