LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-21-2009, 06:28 PM   #1
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
Problem with wireless atheros in Slackware 12.2


Hi,

I am with problems with the wirelss in Slackware 12.2.

That was what happened:

I have yet did two installs of slackware 12.2.

In the first install all things are working, inclusive the wireless. But, some day, wireless stop to work. 'iwconfig' shows I am connected but 'dhclient wlan0' do not give me an IP.

I think it was a bug in the 'ath5k' module. So I unload 'ath5k' with 'rmmod ath5k' and give a try with madwifi driver. I can compile and install it but when I do 'modprobe ath_pci', 'dmesg' shows me that some thing is wrong, the output of 'dmesg' says "...HAL status 13..." and the driver is not loaded, and no 'ath0' device is created.

So, I give up with madwifi and give a try with ndiswrapper. I have used this configuration yet in slack 12.0 and it works nice. But with slack 12.2 some thing strange is happening and after 'modprobe ndiswrapper', dmesg show some bad things. The driver is not loaded again.

In this moment I did a fresh new install of slack 12.2.

All things work again.

But, about two weeks after, the same problem with the wireless. I unload the module(rmmod ath5k) and load it again(modprobe ath5k), dmesg shows that all is ok. But 'dhclient wlan0' do not give an IP.

Anyone have some thing to say to me?

I am in an acer aspire 5050. Atheros wireless. I had used slack 12.0 and 12.1 in this notebook.

Last edited by cstrieder; 01-21-2009 at 06:35 PM.
 
Old 01-21-2009, 08:38 PM   #2
hirts123
Member
 
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Rep: Reputation: 15
What chipset does your atheros wireless card have?
 
Old 01-22-2009, 07:08 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

what about running "dhcpcd" as root? (dhcpcd gets a new ip-configuration from the DHCP-server)
What I mean is, when your system worked for about 2 weeks then you should look at something that can have changed in this time. And it may be that the dhcp-lease has expired and has not been renewed.

Markus

Last edited by markush; 01-22-2009 at 07:11 AM. Reason: explanation
 
Old 01-22-2009, 09:47 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Have you tried the OpenHAL driver from madwifi

http://madwifi-project.org/ticket/1192

Quote:
ACER 5050-4697 (AMD64 based) laptop with an AR5007EG device

Last edited by farslayer; 01-22-2009 at 09:48 AM.
 
Old 01-22-2009, 05:09 PM   #5
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Hi hirts123,

#lspci says:

02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Thanks.
 
Old 01-22-2009, 05:23 PM   #6
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Hi markush,

I run #dhclient.

But are you saying to run #dhcpd, I have not did some thing like this you are saying.

In any way, I did re-boot many times, and this means that #dhcpd, happened.

This things you are saying about dhcp-lease-time make sense to me. I will consider this next time, if have the same problem.

Thanks.
 
Old 01-22-2009, 05:36 PM   #7
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Hi farslayer,

That's the point! That is the solution,

http://snapshots.madwifi-project.org...0090116.tar.gz

I did make and make install of the version 0.10.5.6 of the madwifi hal.

I put ath5k in blacklist.

It is needed to reboot before load the new madwifi module, 'modprobe ath_pci'.

Thanks.
 
Old 01-22-2009, 10:26 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Hmm I know NYLEX had difficulties with his as well at first in Slackware. not sure exactly what his final resolution was though, but he is using that same driver.

Did you load both the ath_pci and ath_hal modules ?

Take a look at this thread, there maybe something there that will help turn the light on..

http://www.linuxquestions.org/questi...hlight=atheros

In post 15 I have all the queries against my hardware what modules are loaded, etc.. so maybe that will help you spot something that is missing in your modules or setup..

If you find it, please let us know what it was..
 
Old 01-22-2009, 10:59 PM   #9
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Hi farslayer,

I do not know if I let it clear, but any way, it is important to say:

I find the solution, as I write in the previous post. Now I am using Slackware 12.2, with internet through wireless. The module I am using is the madwifi-hal.

I only do 'modprobe ath_pci', I think ath_hal is called from ath_pci, any way, it is loaded as lsmod output's shows below:

$ lsmod|grep ath_*

ath_rate_sample 17152 1
ath_pci 243000 0
wlan 218352 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 305376 3 ath_rate_sample,ath_pci

Thanks.
 
Old 01-23-2009, 09:49 AM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Ahh Ok I missed the part where you said it's working now...

Glad we could help

Last edited by farslayer; 01-23-2009 at 09:51 AM.
 
  


Reply

Tags
atheros, slackware, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware atheros problem SOLVED siete Linux - Networking 1 12-29-2008 08:53 AM
Slackware 12.2 Wifi problem with Atheros bloodangel Linux - Newbie 5 12-26-2008 07:10 PM
Slackware 12.1 Atheros Wireless (BEWARE!! I am a linux Noob) bingle Slackware 16 08-31-2008 07:21 AM
Problem with USB wireless atheros w108USB emi_ramo Linux - Wireless Networking 3 04-28-2007 01:07 PM
Help with Slackware not detecting Atheros AR5005G wireless adapter TonyJephson Slackware 6 12-23-2006 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration