Author Topic: Link beat lost - any takers?  (Read 1186 times)

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Link beat lost - any takers?
« on: May 04, 2011, 08:55:37 PM »
Ever since updating to (and through) the last 2 kernels...my wireless is dog slow(no offense Rudge) and as intermittent as Scoundrel's meds.
Here is some pertinent information that I hope will help!

Kernel: 2.6.38.4-pclos1.a64

Wireless NIC: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)

Output from this command: ifconfig

eth0      Link encap:Ethernet  HWaddr 00:16:D4:B4:78:C1 
          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:21 Base address:0x8000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:397 errors:0 dropped:0 overruns:0 frame:0
          TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:52590 (51.3 KiB)  TX bytes:52590 (51.3 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:19:7D:77:C2:62 
          inet addr:192.168.77.128  Bcast:192.168.77.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17449 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10302 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22236816 (21.2 MiB)  TX bytes:1648399 (1.5 MiB)
Output from this command: cat /var/log/syslog | grep ifplugd

May  4 19:45:18 guylaptop ifplugd(wlan0)[2264]: Using detection mode: SIOCETHTOOL
May  4 19:45:18 guylaptop ifplugd(wlan0)[2264]: Initialization complete, link beat not detected.
May  4 19:45:55 guylaptop ifplugd(wlan0)[2264]: Link beat detected.
May  4 19:45:56 guylaptop ifplugd(wlan0)[2264]: Link beat lost.
May  4 19:45:57 guylaptop ifplugd(wlan0)[2264]: Link beat detected.
May  4 19:45:58 guylaptop ifplugd(wlan0)[2264]: Executing '/etc/ifplugd/ifplugd.action wlan0 up'.
May  4 19:46:01 guylaptop ifplugd(wlan0)[2264]: client: Determining IP information for wlan0... done.
May  4 19:46:01 guylaptop ifplugd(wlan0)[2264]: client: 192.168.77.128
May  4 19:46:02 guylaptop ifplugd(wlan0)[2264]: client: squid (pid  3709) is running...
May  4 19:46:02 guylaptop ifplugd(wlan0)[2264]: client: Reloading Squid
May  4 19:46:02 guylaptop ifplugd(wlan0)[2264]: Program executed successfully.
May  4 19:46:50 guylaptop ifplugd(wlan0)[2264]: Link beat lost.
May  4 19:46:56 guylaptop ifplugd(wlan0)[2264]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
May  4 19:46:57 guylaptop ifplugd(wlan0)[2264]: Program executed successfully.
May  4 19:47:32 guylaptop ifplugd(wlan0)[2264]: Link beat detected.
May  4 19:47:33 guylaptop ifplugd(wlan0)[2264]: Executing '/etc/ifplugd/ifplugd.action wlan0 up'.
May  4 19:47:35 guylaptop ifplugd(wlan0)[2264]: client: Determining IP information for wlan0... done.
May  4 19:47:35 guylaptop ifplugd(wlan0)[2264]: client: 192.168.77.128
May  4 19:47:35 guylaptop ifplugd(wlan0)[2264]: client: squid (pid  3709) is running...
May  4 19:47:35 guylaptop ifplugd(wlan0)[2264]: client: Reloading Squid
May  4 19:47:35 guylaptop ifplugd(wlan0)[2264]: Program executed successfully.
May  4 19:56:11 guylaptop ifplugd(wlan0)[2264]: Link beat lost.
May  4 19:56:17 guylaptop ifplugd(wlan0)[2264]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
May  4 19:56:18 guylaptop ifplugd(wlan0)[2264]: Program executed successfully.
May  4 19:56:29 guylaptop ifplugd(wlan0)[2264]: Link beat detected.
May  4 19:56:30 guylaptop ifplugd(wlan0)[2264]: Executing '/etc/ifplugd/ifplugd.action wlan0 up'.
May  4 19:56:32 guylaptop ifplugd(wlan0)[2264]: client: Determining IP information for wlan0... done.
May  4 19:56:32 guylaptop ifplugd(wlan0)[2264]: client: 192.168.77.128
May  4 19:56:32 guylaptop ifplugd(wlan0)[2264]: client: squid (pid  3709) is running...
May  4 19:56:32 guylaptop ifplugd(wlan0)[2264]: client: Reloading Squid
May  4 19:56:32 guylaptop ifplugd(wlan0)[2264]: Program executed successfully.
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Online Rudge

  • Hero Member
  • *****
  • Posts: 9774
  • I'm Just A Dog.
Re: Link beat lost - any takers?
« Reply #1 on: May 04, 2011, 09:46:39 PM »
Ever since updating to (and through) the last 2 kernels...my wireless is dog slow(no offense Rudge) and as intermittent as Scoundrel's meds.
Here is some pertinent information that I hope will help!


None taken  ;D

I have to ask because perhaps I will learn something in the process but,, why are you updating the kernel if it makes things worse?



-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Re: Link beat lost - any takers?
« Reply #2 on: May 04, 2011, 09:50:51 PM »
Well, I'm really hoping that at some point the camera in this laptop will function PROPERLY.  The wireless is an annoying side-effect, the camera is getting closer it seems as the kernels advance.

I'm hoping the fact that it's intermittent means it's fixable.

I can run WinXP-Ultimate 64bit with no connection problems so I know it's NOT the hardware on the lappy.
« Last Edit: May 04, 2011, 09:53:02 PM by GuypronouncedGuynotGuy »
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4586
  • Philosophy= Bigger Hammer
Re: Link beat lost - any takers?
« Reply #3 on: May 05, 2011, 02:37:48 AM »
dang ...think I just got insulted .. :o :o


your network connection is not acting up?  seems like since I moved here and started using this adsl junk my network is all over the place..  though I do not have the same nic mine is the AR5xx
Please Donate Today..Or I Will Make You Wish You Had

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Re: Link beat lost - any takers?
« Reply #4 on: May 05, 2011, 02:23:20 PM »
dang ...think I just got insulted .. :o :o


your network connection is not acting up?  seems like since I moved here and started using this adsl junk my network is all over the place..  though I do not have the same nic mine is the AR5xx

I prefer the term included!  ;D

The connection is solid, I can use this lappy booted to the winders OS and never miss a beat, kind of depressing actually.
I was doing forum searching and thought that madwifi may have been the answer but alas.  Then I looked into the hard and soft switch but settings are all good on that front as well.  If I had longer hair I'd pull it out.
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Re: Link beat lost - any takers?
« Reply #5 on: May 06, 2011, 09:25:23 PM »
Well, I've gone back to the 2.6.33 kernel and all is well again.

Odd that there didn't seem to be anyone else experiencing this issue.
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Online Rudge

  • Hero Member
  • *****
  • Posts: 9774
  • I'm Just A Dog.
Re: Link beat lost - any takers?
« Reply #6 on: May 06, 2011, 09:42:01 PM »
Well, I've gone back to the 2.6.33 kernel and all is well again.

Odd that there didn't seem to be anyone else experiencing this issue.

[rudge12000@localhost ~]$ uname -r
2.6.33.7-pclos6.bfs
[rudge12000@localhost ~]$

No problems, don't upgrade.  ;D ;D


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

AndrzejL

  • Guest
Re: Link beat lost - any takers?
« Reply #7 on: May 16, 2013, 06:53:12 PM »
Edit: Sorry for necro-bumping... I stumbled upon this topic by accident when researching something else and before I replied I have checked the date as in day / month but not the year... LOL.

I think a solution to this problem was really simple.

Wireless NIC: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)

You are using wonderful card with Atheros chipset. Oldie but goodie... It uses ath5k kernel module.

Try upgrading the kernel again and adding:

Code: [Select]
options ath5k nohwcrypt=1
(as root) as a last line in the

Code: [Select]
/etc/modprobe.conf
file. Don't forget to leave one empty / blank line at the end of the config file. Save the file and reboot.

Regards.

Andrzej

P.S. Another thing is to always try to read about modules parameters in the modinfo. Example - I had a problems with my rt73usb card so I checked what parameters does it uses:

Quote
[root@icsserver andrzejl]# modinfo rt73usb | grep parm
parm:           nohwcrypt:Disable hardware encryption. (bool)

And then added properly syntaxed option in modprobe.conf file...

Quote
[root@icsserver andrzejl]# cat /etc/modprobe.conf | grep rt73usb
options rt73usb nohwcrypt=1
alias wlan0 rt73usb

And upon reboot I checked if the setting was applied:

Quote
[root@icsserver andrzejl]# systool -v -m rt73usb | grep hwcrypt
nohwcrypt           = "Y"
[root@icsserver andrzejl]#

Since then - the card behaves much better. Also I have noticed that it was mentioned somewhere that the card (in this case the interface comes up as wlan0) has a power management issues... SO I disabled power management.

I added this line:

Code: [Select]
/sbin/iwconfig wlan0 power off
in the file:

Code: [Select]
/etc/rc.local
and after the reboot I get:

Quote
[root@icsserver andrzejl]# iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"MyEssid" 
          Mode:Managed  Frequency:2.417 GHz  Access Point: XX:YY:ZZ:XX:YY:ZZ   
          Bit Rate=54 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1119   Missed beacon:0

eth0      no wireless extensions.

[root@icsserver andrzejl]#

Hope that helps.
« Last Edit: May 16, 2013, 07:06:07 PM by AndrzejL »