Re: Ubuntu 12.04 Wifi Drivers
Quote:
Originally Posted by
wildmanne39
Hi, the driver for your card is included with ubuntu 12.04 please post the output of:
Code:
cat /etc/lsb-release; uname -a
lspci -nnk | grep -iA2 net
lsusb
iwconfig
rfkill list all
lsmod
by clicking on new reply and click # then paste the information between the brackets.
Thank you
The result of this is:
Code:
kai@Kai-Lapbuntu:~$ cat /etc/lsb-release; uname -a
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
Linux Kai-Lapbuntu 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
kai@Kai-Lapbuntu:~$ lspci -nnk | grep -iA2 net
02:00.0 Network controller [0280]: Atheros Communications Inc. Device [168c:0037] (rev 01)
Subsystem: AzureWave Device [1a3b:2100]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 07)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
Kernel driver in use: r8169
kai@Kai-Lapbuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 05c8:032a Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 004: ID 0cf3:3008 Atheros Communications, Inc.
kai@Kai-Lapbuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
kai@Kai-Lapbuntu:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
kai@Kai-Lapbuntu:~$ lsmod
Module Size Used by
snd_hda_codec_hdmi 32474 1
snd_hda_codec_realtek 223962 1
rfcomm 46621 0
bnep 18139 2
parport_pc 32866 0
ppdev 17113 0
binfmt_misc 17540 1
joydev 17693 0
mxm_wmi 12979 0
snd_hda_intel 33773 3
snd_hda_codec 127706 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13668 1 snd_hda_codec
btusb 18295 1
snd_pcm 97188 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
bluetooth 185573 13 rfcomm,bnep,btusb
snd_seq_midi 13324 0
ndiswrapper 283340 0
uvcvideo 72627 0
videodev 98259 1 uvcvideo
snd_rawmidi 30748 1 snd_seq_midi
v4l2_compat_ioctl32 17128 1 videodev
ums_realtek 18248 0
uas 18180 0
psmouse 87692 0
serio_raw 13211 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
snd_timer 29990 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 78855 16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15091 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
mac_hid 13253 0
i915 472897 3
drm_kms_helper 46978 1 i915
drm 242038 4 i915,drm_kms_helper
wmi 19256 1 mxm_wmi
mei 41616 0
i2c_algo_bit 13423 1 i915
video 19596 1 i915
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
usb_storage 49198 1 ums_realtek
r8169 62099 0
Re: Ubuntu 12.04 Wifi Drivers
Hi, please try:
Code:
sudo su
modprobe -v ath9k
echo "168c 0037" > /sys/bus/pci/drivers/ath9k/new_id
exit
Then check modinfo.
Thanks
Re: Ubuntu 12.04 Wifi Drivers
Quote:
Originally Posted by
wildmanne39
Hi, please try:
Code:
sudo su
modprobe -v ath9k
echo "168c 0037" > /sys/bus/pci/drivers/ath9k/new_id
exit
Then check modinfo.
Thanks
The result of this was:
Code:
kai@Kai-Lapbuntu:~$ sudo su
[sudo] password for kai:
root@Kai-Lapbuntu:/home/kai# modprobe -v ath9k
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/cfg80211.ko
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/ath.ko
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/ath9k_hw.ko
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/ath9k_common.ko
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/mac80211.ko
insmod /lib/modules/3.2.0-27-generic/updates/cw-3.3/ath9k.ko
root@Kai-Lapbuntu:/home/kai# echo "168c 0037" > /sys/bus/pci/drivers/ath9k/new_id
root@Kai-Lapbuntu:/home/kai# exit
exit
kai@Kai-Lapbuntu:~$ modinfo ath9k
ath9k ath9k_common ath9k_htc ath9k_hw
kai@Kai-Lapbuntu:~$ modinfo ath9k
ath9k ath9k_common ath9k_htc ath9k_hw
kai@Kai-Lapbuntu:~$ modinfo ath9k
filename: /lib/modules/3.2.0-27-generic/updates/cw-3.3/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 21EAA32311830AA82C5169B
alias: platform:ar934x_wmac
alias: platform:ar933x_wmac
alias: platform:ath9k
alias: pci:v0000168Cd00000034sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000033sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: ath9k_hw,ath9k_common,mac80211,cfg80211,ath
vermagic: 3.2.0-27-generic SMP mod_unload modversions
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
Unfortunately, it is still not in the list.
Re: Ubuntu 12.04 Wifi Drivers
Hi, I asked the wireless expert to take a look hopefully he has time to help out because it can be hard to get an unsupported card to work.
Thanks
Re: Ubuntu 12.04 Wifi Drivers
Alright, thank you so much for putting the effort in to help me.
Re: Ubuntu 12.04 Wifi Drivers
@Wild Man-- I have never seen the new_id trick work for PCI devices. Maybe it does, I just haven't seen it.
@Frog--
The Wild Man and I are looking at a thread here: http://www.digipedia.pl/usenet/thread/18835/36627/
It suggests using the driver ath9k but it says:
Quote:
it wasn't there in the device ID table in pci.c of ath9k
That's what we're going to do; add the device ID to the driver files and compile a new version. Please be sure you have a wired ethernet connection and do:
Code:
sudo apt-get install linux-headers-generic build-essential
Now go here and download compat-wireless-2.6.tar.bz2 to your desktop. http://linuxwireless.org/en/users/Do...ng_the_tarball
When you have the file on your desktop, right-click it and select Extract Here. Open the folder it extracts and drill down to drivers/net/wireless/ath/ath9k. Open the file pci.c with any text editor such as gedit. Add your device ID as follows:
Quote:
static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
{ PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */
{ PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */
{ PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */
{ PCI_VDEVICE(ATHEROS, 0x0029) }, /* PCI */
{ PCI_VDEVICE(ATHEROS, 0x002A) }, /* PCI-E */
{ PCI_VDEVICE(ATHEROS, 0x002B) }, /* PCI-E */
{ PCI_VDEVICE(ATHEROS, 0x002C) }, /* PCI-E 802.11n bonded out */
{ PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */
{ PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */
{ PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E AR9300 */
{ PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E AR9485 */
{ PCI_VDEVICE(ATHEROS, 0x0033) }, /* PCI-E AR9580 */
{ PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
{ PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E */
{ 0 }
};
Caution! Spacing, punctuation, etc. are crucial. Proofread twice before saving and closing gedit. All the text before and after the line I've highlighted remains unchanged.
Now in the terminal:
Code:
cd Desktop/compat-wireless-2012-05-10 <--or whatever version was extracted, if not 2012-05-10
sudo su
./scripts/driver-select ath9k
make
make install
exit
Reboot and tell us if your wireless works.
FYI:
Quote:
modinfo drivers/net/wireless/ath/ath9k/ath9k.ko
filename: drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 90915124DAEF86FBB8E4295
alias: platform:ar934x_wmac
alias: platform:ar933x_wmac
alias: platform:ath9k
alias: pci:v0000168Cd00000037sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000034sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000033sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: ath9k_hw,ath9k_common,mac80211,ath,cfg80211,compat
vermagic: 3.2.0-27-generic-pae SMP mod_unload modversions 686
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
Re: Ubuntu 12.04 Wifi Drivers
Hi, also remove ndiswrapper like this:
Code:
sudo modprobe -rf ndiswrapper
sudo apt-get remove --purge ndiswrapper-common ndiswrapper-utils-1.9 ndisgtk
sudo rm /etc/modprobe.d/ndiswrapper.conf
sudo rm -r /etc/ndiswrapper/*
sudo depmod -a
Thanks chili555.
Re: Ubuntu 12.04 Wifi Drivers
Although it sounded very promising, unfortunately this also has not worked.
After rebooting, modinfo shows that the chipset ID is in the list, however ifconfig and iwconfig still show no sign of wlan0.
Code:
kai@Kai-Lapbuntu:~$ modinfo ath9k
filename: /lib/modules/3.2.0-27-generic/updates/drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 90915124DAEF86FBB8E4295
alias: platform:ar934x_wmac
alias: platform:ar933x_wmac
alias: platform:ath9k
alias: pci:v0000168Cd00000037sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000034sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000033sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: ath9k_hw,ath9k_common,mac80211,ath,cfg80211,compat
vermagic: 3.2.0-27-generic SMP mod_unload modversions
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
kai@Kai-Lapbuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Re: Ubuntu 12.04 Wifi Drivers
Let's see:
Code:
sudo modprobe ath9k
dmesg | grep ath9k
Thanks.
Re: Ubuntu 12.04 Wifi Drivers
Quote:
Originally Posted by
chili555
Let's see:
Code:
sudo modprobe ath9k
dmesg | grep ath9k
Thanks.
The result is:
Code:
kai@Kai-Lapbuntu:~$ sudo modprobe ath9k
WARNING: Error inserting ath9k_hw (/lib/modules/3.2.0-27-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_hw.ko): Invalid argument
WARNING: Error inserting ath9k_common (/lib/modules/3.2.0-27-generic/updates/drivers/net/wireless/ath/ath9k/ath9k_common.ko): Invalid argument
WARNING: Error inserting mac80211 (/lib/modules/3.2.0-27-generic/updates/cw-3.3/mac80211.ko): Invalid argument
FATAL: Error inserting ath9k (/lib/modules/3.2.0-27-generic/updates/drivers/net/wireless/ath/ath9k/ath9k.ko): Invalid argument
kai@Kai-Lapbuntu:~$ dmesg | grep ath9k
kai@Kai-Lapbuntu:~$
Although I dont have a lot of knowledge of modprobe, I would be willing to assume that the issue may have something to do with the 3 warnings and fatal error. :)