czwartek, 12 sierpnia 2010

Kernel log spammed with rt2500 errors

My wifi card kept spamming kernel log with messages like this: "phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16)". The solution is easily found among launchpad bug reports. Power management needs to be turned off for the card. It's easy to do:

iwconfig wlan0 power off

To make it permanent edit /etc/rc.local adding this line before exit 0. Reboot and you're done! Confirm that with calling iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"TP69"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 00:23:CD:15:F2:A0   
          Bit Rate=48 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=60/70  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Brak komentarzy: