Difference between revisions of "Thinkpad T61"

From Blue-IT.org Wiki

(The first problem was:)
(The second problem was:)
Line 29: Line 29:
 
  vim /etc/NetworkManager/dispatcher.d/01changeCRDA
 
  vim /etc/NetworkManager/dispatcher.d/01changeCRDA
  
 +
and add
 
  #!/bin/sh
 
  #!/bin/sh
 
  INTERFACE=$1
 
  INTERFACE=$1

Revision as of 21:37, 25 September 2010

Wlan Problems

Ubuntu Lucid / 10.04.1

I encountered some problems with my wlan and had some strange errors in dmesg:

The first problem was:

iwl3945 0000:03:00.0: Failed to get channel info for channel 100 [0]
iwl3945 0000:03:00.0: Failed to get channel info for channel 104 [0]
iwl3945 0000:03:00.0: Failed to get channel info for channel 108 [0]
iwl3945 0000:03:00.0: Failed to get channel info for channel 112 [0]

According to this opensuse bug i filed a solution in Ubuntu Bug #340418:

Add the following to a new file

vim /etc/modprobe.d/options-iwl3945.conf

and add

options iwl3945 disable_hw_scan=0

For testing purpose do

rmmod -f iwl3945 && modprobe iwl3945 disable_hw_scan=0

The second problem was:

cfg80211: Leaving channel 5170 MHz intact on phy2 - no rule found in band on Country IE
cfg80211: Leaving channel 5180 MHz intact on phy2 - no rule found in band on Country IE
cfg80211: Leaving channel 5190 MHz intact on phy2 - no rule found in band on Country IE

This is a problem with the wlan setting with can easily solved by adding a script to Network Manager (according to [1] and [2]:

vim /etc/NetworkManager/dispatcher.d/01changeCRDA

and add

#!/bin/sh
INTERFACE=$1
ACTION=$2
CODE="GB" 

if [ "$ACTION" = "up" -a "$(echo $INTERFACE|grep wlan)" ];then
       iw reg set ${CODE}
fi