Page 1 of 2

Atheros AR928x WiFi connection problems - [SOLVED]

PostPosted: Wed Mar 10, 2010 6:47 pm
by w8wca
I can connect for anywhere from a minute or two, to maybe 20 minutes, then it drops:
Misc info: (Also note with the same kernel in Ubuntu 9.10 I stay connected)
(Also in Ubuntu the results are the same except ath9k is in /etc/modules and lsmod does not show ath9k)
Ultimate Edition
2.6.31-20-generic #57-Ubuntu SMP
lspci |grep AR9
08:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)

lsmod
ath9k 278176 0
mac80211 210040 1 ath9k
ath 10304 1 ath9k
cfg80211 109144 3 ath9k,mac80211,ath

/etc/modules
lp
rtc

modprobe -l |grep ath
kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko
kernel/drivers/net/wireless/ath/ath.ko
kernel/drivers/md/multipath.ko
kernel/drivers/infiniband/hw/ipath/ib_ipath.ko


ANY help will be appreciated

Charlie

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 7:01 pm
by Admin-Amir
Hello w8wca welcome to the U.E Forum.

Here is something for you to try.

Code: Select all
sudo su
enter your password
echo 0 > /sys/devices/platform/asus-laptop/bluetooth
echo 1 > /sys/devices/platform/asus-laptop/wlan



OR

/etc/rc.local

# switch wlan on

echo "1" > /sys/devices/platform/asus-laptop/wlan && \
/sbin/ifup wlan1

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 7:36 pm
by w8wca
Hello:

Thanks for the welcome!
Ultimate Edition is great so far - It will be my "if you used to use Windows - try Ultimate Edition" when people ask me ablut linux.

I do not have anything asus-laptop except:
locate asus-laptop
/lib/modules/2.6.31-14-generic/kernel/drivers/platform/x86/asus-laptop.ko
/lib/modules/2.6.31-15-generic/kernel/drivers/platform/x86/asus-laptop.ko
/lib/modules/2.6.31-20-generic/kernel/drivers/platform/x86/asus-laptop.ko

I did not mention: This is a HP Pavilion dm3-1039wm 13" Laptop

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 7:50 pm
by Admin-Amir
Hi w8wca.

First we happy to have you here <BREW>

So here is 2 things for you to do on your issue.
about the command it is OK - just change the the command to:

There you go:

Code: Select all
sudo su
enter your password
echo 0 > /sys/devices/platform/HP-laptop/bluetooth
echo 1 > /sys/devices/platform/HP-laptop/wlan


Now First I will go for the Kernel cleaning as you can see in my post here:

viewtopic.php?f=66&t=4420

After you will lose the old Kernel and the packages,
Then go for the command and try it again please.
And let us know if you gut it to work.

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 8:15 pm
by w8wca
Thanks for the Brew!

I ran the cleanup script.

some info:
ls -al /sys/devices/platform/
total 0
drwxr-xr-x 9 root root 0 2010-03-10 19:11 .
drwxr-xr-x 8 root root 0 2010-03-10 14:11 ..
drwxr-xr-x 4 root root 0 2010-03-10 14:11 Fixed MDIO bus.0
drwxr-xr-x 5 root root 0 2010-03-10 14:11 i8042
drwxr-xr-x 4 root root 0 2010-03-10 19:11 lis3lv02d
drwxr-xr-x 3 root root 0 2010-03-10 14:11 pcspkr
drwxr-xr-x 2 root root 0 2010-03-10 19:14 power
drwxr-xr-x 3 root root 0 2010-03-10 19:11 regulatory.0
drwxr-xr-x 4 root root 0 2010-03-10 14:11 serial8250
-rw-r--r-- 1 root root 4096 2010-03-10 19:11 uevent

No dir like the ones you mentioned

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 8:30 pm
by Admin-Amir
w8wca,

Did you have install the packages of ndiswrapper from synaptic?

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 8:36 pm
by w8wca
No, I am not using ndiswrapper

I can go that route If I can't get this going

It is just I did not use it in Ubuntu 9.10 on this same laptop

i have been connected for 25 minutes now.

but signal looks weak

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 8:46 pm
by Admin-Amir
w8wca

If I get you right,you do not have wire connection?
here is the package for you to install on your machine.

ndiswrapper-1.56.tar.gz
1
(196.06 KiB) Downloaded 387 times


After installing the packages make restart to your machine.
then see if you gut the fix for the card.

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 8:49 pm
by w8wca
First off - Thanks Mate! & GN

I am connected now by wifi and I can connect by Cat 5 lan also.

OK I can try ndiswrapper, but I would need to grab windows Drivers also

Re: Atheros AR928x WiFi connection problems

PostPosted: Wed Mar 10, 2010 9:30 pm
by w8wca
Just an update: (Updated again 11 - Mar. 2010 12:26z

Thank you for the help.

I have not installed the tarball yet (Or by apt-get or synaptic)

After I ran your clean up script and re booted, I managed to stay connected over night !

I stayed on IRC overnight and did not drop, so it looks like the cleanup script fixed it.

(Maybe mixed up kernel modules? not sure, that is an area I do not know a lot about)