Problems with Atheros 9485 WiFi card on Slackware 13.37
I'm back after a long long time without login into this forum, now I installed Slackware 13.37 on my Acer (Aspire 5349), everything works greatly except for the WiFi card which is giving me a lot of problem to get it working.
I've tried almost everything i have found on the internet..including installing NdisWrapper, Compat-wireless(or something like that).. Now am connected using a Linux Mint LiveCD :(, when i use lspci the devices are there..when i install ndiswrapper it works ok and it gives me the "driver installed, device present" message, but when i try to load the ndiswrapper module it says:"FATAL: ndiswrapper module not found". I installed Wicd the version that comes with the SlackDVD and the latest one, i tried changing the wireless interface to "lo" to "wlan0", changing the driver from "wext" to "ndiswrapper" nothing worked. If i make a "iwconfig wlan0" it says somethign like: "Error fetching the correct device", if i make a "ifconfig" it says: lo no wireless extensions eth0 no wireless extensions please help me!! :( am getting desperated and i don't want to change to any other linux distribution, because Slackware is THE ONE I LIKE! cheers.. NaTTaN |
Member Response
Hi,
What do you see with 'ifconfig -a'? The '-a' option will show all interfaces, even the ones that are down. What do you see for the wireless device with 'lspci -vv'? Code:
04:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) Configuring your network in Slackware is Alien_Bob's excellent article on the way network cards & wireless are configured in Slackware. Loads of internal reference links for Ethernet & Wireless. |
Thanks for answering my post, This are the commands I use trying to solve the problem...i'll try the others you're telling me and paste the information i get asap..
~# lspci | grep Wireless 07:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01) ~#ifconfig eth0 Link encap:Ethernet HWaddr 04:7D:7B:7C:19:FD UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:43 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:640 (640.0 b) TX bytes:640 (640.0 b) ~# iwconfig wlan0 wlan0 No such device ~# iwconfig lo no wireless extensions. eth0 no wireless extensions. ~# ndiswrapper -l l1c51x86 : driver installed device (1969:2062) present (alternate driver: atl1c) netathr : driver installed device (168C:0032) present ~# modprobe ndiswrapper FATAL: Module ndiswrapper not found. ~# modinfo ndiswrapper ERROR: modinfo: could not find module ndiswrapper ~# modprobe -l updates/net/wireless/cfg80211.ko updates/drivers/net/wireless/ath/ath9k/ath9k_hw.ko updates/drivers/net/wireless/ath/ath9k/ath9k.ko updates/drivers/net/wireless/ath/ath9k/ath9k_common.ko updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko updates/drivers/net/wireless/ath/ar9170/ar9170usb.ko updates/drivers/net/wireless/ath/ath5k/ath5k.ko updates/drivers/net/wireless/ath/carl9170/carl9170.ko updates/drivers/net/wireless/ath/ath.ko updates/drivers/staging/brcm80211/brcm80211.ko updates/drivers/staging/ath6kl/ath6kl.ko |
These are the results i get when i use the commands you told to try..
~# ifconfig -a eth0 Link encap:Ethernet HWaddr 04:7D:7B:7C:19:FD UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:43 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:840 (840.0 b) TX bytes:840 (840.0 b) ~#lspci -vv 02:00.0 Ethernet controller: Atheros Communications AR8152 v2.0 Fast Ethernet (rev c1) Subsystem: Acer Incorporated [ALI] Device 0623 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 43 Region 0: Memory at c3400000 (64-bit, non-prefetchable) [size=256K] Region 2: I/O ports at 3000 [size=128] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee0300c Data: 4179 Capabilities: [58] Express (v1) Endpoint, MSI 00 DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 unlimited ClockPM+ Surprise- LLActRep- BwNot- LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Capabilities: [6c] Vital Product Data pcilib: sysfs_read_vpd: read failed: Connection timed out Not readable Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP- SDES+ TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP+ BadDLLP+ Rollover+ Timeout+ NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn- Capabilities: [180 v1] Device Serial Number ff-7c-19-fd-04-7d-7b-ff Kernel driver in use: atl1c Kernel modules: atl1c 07:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01) Subsystem: Foxconn International, Inc. Device e047 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 11 Region 0: Memory at c2400000 (64-bit, non-prefetchable) [size=512K] Expansion ROM at c1400000 [disabled] [size=64K] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ Address: 0000000000000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us ClockPM- Surprise- LLActRep- BwNot- LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+ DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn- Capabilities: [140 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00 root@m0nst3r:~# lsmod Module Size Used by snd_seq_dummy 1119 0 snd_seq_oss 25900 0 snd_seq_midi_event 4696 1 snd_seq_oss snd_seq 42680 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 4505 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 34554 0 snd_mixer_oss 14726 1 snd_pcm_oss ipv6 236629 35 cpufreq_ondemand 7672 2 speedstep_lib 2663 0 acpi_cpufreq 5195 1 freq_table 2039 2 cpufreq_ondemand,acpi_cpufreq mperf 923 1 acpi_cpufreq ppdev 4901 0 lp 7105 0 parport_pc 18218 0 parport 25627 3 ppdev,lp,parport_pc fuse 58136 3 snd_hda_codec_hdmi 20152 1 snd_hda_codec_realtek 222970 1 i915 360914 2 drm_kms_helper 23927 1 i915 uvcvideo 55980 0 joydev 7695 0 drm 143170 3 i915,drm_kms_helper i2c_algo_bit 4287 1 i915 processor 23158 1 acpi_cpufreq video 10482 1 i915 snd_hda_intel 18443 2 thermal 6718 0 videodev 57461 1 uvcvideo v4l1_compat 13666 2 uvcvideo,videodev snd_hda_codec 61720 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 4772 1 snd_hda_codec rtc_cmos 7970 0 rtc_core 11871 1 rtc_cmos thermal_sys 11426 3 processor,video,thermal intel_agp 9000 1 i915 hwmon 1065 1 thermal_sys snd_pcm 59843 4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec rtc_lib 1502 1 rtc_core snd_timer 15717 2 snd_seq,snd_pcm intel_gtt 11414 3 i915,intel_agp snd 43891 16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_realte k,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer soundcore 4641 1 snd atl1c 28316 0 i2c_i801 7018 0 shpchp 23205 0 i2c_core 16421 6 i915,drm_kms_helper,drm,i2c_algo_bit,videodev,i2c_i801 agpgart 23062 3 drm,intel_agp,intel_gtt ac 2465 0 battery 8431 0 button 4005 1 i915 snd_page_alloc 5925 2 snd_hda_intel,snd_pcm output 1456 1 video wmi 7129 0 evdev 7303 17 psmouse 40986 0 serio_raw 3542 0 sg 21511 0 :~# modprobe ath9k :~# lsmod | grep at ath9k 73462 0 mac80211 185124 1 ath9k ath9k_common 1497 1 ath9k ath9k_hw 251763 2 ath9k,ath9k_common ath 11153 2 ath9k,ath9k_hw cfg80211 123246 3 ath9k,mac80211,ath v4l1_compat 13666 2 uvcvideo,videodev atl1c 28316 0 I don't know if it is a problem but i have the 2.6.37x kernel compiled but i even tried Kernel 3xxx and it still didn't work :( thanks for taking time to read my post greetings; NaTTaN |
Member Response
Hi,
The AR9485 has partial support for another manufacture: http://linuxwireless.org/en/users/Drivers/ath9k/devices I would think the new kernel series will get additional devices. Your device code is: Device e047 I was thinking the AR9485 was compatible with the AR9285. New kernel work for the AR9485 is on going in 3.4.x. You could try ndiswrapper and the MSWindows/7/Xp driver until the ath9k driver & firmware are available. A side note: Please use vbcode tags for quote, data, long list or code to make your post cleaner therefore easier to read. |
well, i'll try to patch my kernel then and see if it works.....but it continues to be weird for me that i can't enable the wlan0 interface.
|
in comparison with the Linux Mint modules the LiveCD uses:
ath9k 117425 0 mac80211 436455 1 ath9k ath9k_common 13781 1 ath9k ath9k_hw 391523 2 ath9k,ath9k_common ath 19387 3 ath9k,ath9k_common,ath9k_hw cfg80211 178679 3 ath9k,mac80211,ath i think theres some differences: ath9k 73462 0 mac80211 185124 1 ath9k ath9k_common 1497 1 ath9k ath9k_hw 251763 2 ath9k,ath9k_common ath 11153 2 ath9k,ath9k_hw cfg80211 123246 3 ath9k,mac80211,ath |
Member Response
Hi,
ath9k_hw is for addition of the new devices to be handled by the module ath9k. All the lists still do not show 'e047' device yet. So until that part of the driver is made available your device will not be handled. |
Quote:
Another thing, I discovered that the 'ath9k' and also the 'atl1c and the 'atl1e' modules are not being loaded when the system starts, so i want to know if it is ok if a edit the '/etc/modprobe.d' which is in fact empty.. thanks again NaTTaN |
Member Response
Hi,
'device code' is a unique manufacture ID assigned for each device. You can edit it but if the driver ath9k does not support Atheros AR9485 device ID 'e047' then the possibility of working is nil. Linux Wireless wiki is a good source to get drivers and to see if a particular device is supported. Quote:
|
Member Response
Hi,
Some additional information to identify hardware; Quote:
|
Thanks for answering my questions, am still dealing with the Atheros card problem, which is weird about this problem is that the Ethernet card works perfectly and now my problem got even worst as I can't turn my 'wlan0' interface up, also the 'ath9k' driver is not being loaded....the atl1c and atl1e drivers are loaded, but this ones are used by the Ethernet card.
So now I want to edit my 'modprobe.d' script/configuration file, so that it loads the ath9k and ath5k drivers but i don't want to make any stupid mistake and ruin everything, so is there any tutorial/guide/video that show how to do that? thanks for taking time to read my post, NaTTaN |
Having problems to enable the wlan0 network interface
Hi, I'm new to this forum and am trying to solve some problems with my wireless conection, i have Slackware 13.37, on an Acer Aspire 5349 laptop, i have some problems with my wifi card which an Atheros AR9485.
I've found some answers to my questions in this forum, thanks to the people who answered them, as i was reading and looking for information using google i found some tutorials and advices. I found a page where someone said the only thing he had to do to have wifi working was to enable the 'wlan0' network interface and configure wicd to use it, but for some reason i don't know i get and error message. But when i type: /etc/rc.d/rc.inet1 wlan0_start But it doesn't seem to work even though i don't get any error message. This is the thread where i first posted my problems: http://www.linuxquestions.org/questi...-a-4175426233/ |
Member Response
Hi,
Configuring your network in Slackware is Alien_Bob's excellent article on the way network cards & wireless are configured in Slackware. Loads of internal reference links for Ethernet & Wireless. You should revert the blacklisted devices you entered. Wireless & Ethernet are separate devices. Your best bet is to use 'ndiswrapper' and the MS drivers for Xp/7 until the Atheros AR9485 device ID 'e047' is available. Kernel 3.4 & series 3.5 seem to be working on the 'ath9k' to include newer devices. |
If you are using "/etc/rc.d/rc.inet1 wlan0_start" then you may want to start with procviding more information about how you configured "/etc/rc.d/rc.inet1.conf" file.
What does "iwconfig" command show? Is your card detected at all? If you want to use wicd you are not on the right track by using the "/etc/rc.d/rc.inet1" script. Those are two separate methods in Slackware to configure your network ... Eric |
I'm unsure as to why you've started a new thread as the problem was explained to you in the other thread...
The device uses the ath9k module, the ath9k in the 2.6.37 kernel is too old and does not support AR9485. You need at least a 3.2 kernel. Grab the source, build a 3.2 kernel, install -current or use a distro which supports your wireless chipset out of the box. |
Does the ath9k now in -current work properly? I tried the one in earlier iterations of kernel 3.2, some months ago and it would disconnect regularly every 25-30 seconds or so. Which oddly enough is better than than the buggy module seems to do with 3.x kernels other than 3.2.
Since ath9k was rock stable on 2.6.37, the OP might want to try compiling a custom 2.6.39 series kernel first, which was the only 2.6 series to incorporate support for the AR9485 chipset. |
Moderator Response
Quote:
Quote:
|
sorry for that one, in the ither thread i was trying to look for a solution for making my 'ath9k' modules load because it was not being loaded...and guess what? now it loads at system start-up :D it even shows the frequency of my anthena which is good but then:
<code> lp: module loaded but device not found </code> I know trying to help others solve their problems can be frustraring and even anoying but imagine how frustrating this is getting for me, am almost giving up to this...:( i've made many things trying to solve this, i think it's time to stop. thanks for taking time to read my post NaTTaN |
We still don't know what kernel you're running. We do know that 2.6.37 did not include support for your wireless chipset. ath9k support specifically for AR9485 was added beginning with 2.6.39.
So if you're running the default kernel 2.6.37 from your 13.37 install, there are at least a couple of approaches to take. You can go to kernel.org, download source for one of the 2.6.39 series kernels, use an appropriate kernel .config file from Slackware 13.37 (for example the one for huge.smp ftp://ftp.slackware.com/pub/slackwar...els/hugesmp.s/ ) and compile and install a kernel which is as close as possible to the one that you currently run that supports your chipset. Or you can download and install (not upgrade) the Slackware-current packages for kernel 3.2.28 and kernel-modules. The only potential downside for this is the ath9k driver seems to operate very erratically in a lot of 3.x.x kernels. For me and my particular chipset, the ath9k in 3.2.27 would drop connections every 30 seconds or so, and I reverted to the more stable version in 2.6.37. But if you're already running a kernel and ath9k version known to support your AR9485 chipset, you still haven't answered Alien Bob's question, which was: from a root console, what output does the command iwconfig give you? Does it recognize wireless extensions on any device node? The ath9k driver does not need to have put your card on wlan0; it could just as easily have put it on eth1 or elsewhere. If ath9k put the card on a different node than wlan0, that's the node you work with in your configuration, not wlan0. |
All times are GMT -5. The time now is 04:32 PM. |