You are not logged in.

#1 2012-11-26 17:49:11

piachball
Member
Registered: 2011-06-06
Posts: 16

Random disconnets Intel 3945ABG with error wlan0: carrier lost

Hi,

I have installed fresh Arch from the newest media on Thinkpad X61s. Everything went well except my wlan0. I constantly have disconnects from my AccessPoint. Disconnects are random with messages:

Nov 26 17:58:19 t40 dhcpcd[423]: wlan0: carrier lost
Nov 26 17:58:19 t40 dhcpcd[423]: wlan0: deleting default route via 192.168.1.1
Nov 26 17:58:19 t40 dhcpcd[423]: wlan0: deleting route to 192.168.1.0/24
Nov 26 17:58:19 t40 dhcpcd[423]: wlan0: deleting IP address 192.168.1.100/24
Nov 26 17:58:19 t40 kernel: [  159.840043] ieee80211 phy0: wlan0: No probe response from AP 00:1b:c5:02:fa:18 after 500ms, disconnecting.
Nov 26 17:58:19 t40 dhcpcd[423]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
Nov 26 17:58:19 t40 kernel: [  159.850134] cfg80211: Calling CRDA for country: TW
Nov 26 17:58:23 t40 kernel: [  163.447180] wlan0: authenticate with 00:1b:c5:02:fa:18
Nov 26 17:58:23 t40 kernel: [  163.449003] wlan0: send auth to 00:1b:c5:02:fa:18 (try 1/3)
Nov 26 17:58:23 t40 kernel: [  163.450792] wlan0: authenticated
Nov 26 17:58:23 t40 kernel: [  163.450820] iwl3945 0000:03:00.0: wlan0: disabling HT as WMM/QoS is not supported
Nov 26 17:58:23 t40 kernel: [  163.453373] wlan0: associate with 00:1b:c5:02:fa:18 (try 1/3)
Nov 26 17:58:23 t40 kernel: [  163.458023] wlan0: RX AssocResp from 00:1b:c5:02:fa:18 (capab=0x411 status=0 aid=1)
Nov 26 17:58:23 t40 kernel: [  163.459408] wlan0: associated
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: carrier acquired
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: using hwaddr 00:1b:77:a4:78:88
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: reading lease `/var/lib/dhcpcd/dhcpcd-wlan0.lease'
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: rebinding lease of 192.168.1.100
Nov 26 17:58:23 t40 dhcpcd[423]: wlan0: sending REQUEST (xid 0xb5488d5e), next in 3.48 seconds
Nov 26 17:58:26 t40 dhcpcd[423]: wlan0: sending REQUEST (xid 0xb5488d5e), next in 7.29 seconds
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: broadcasting for a lease
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: sending DISCOVER (xid 0xa26cae10), next in 4.21 seconds
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: offered 192.168.1.100 from 192.168.1.1
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: sending REQUEST (xid 0xa26cae10), next in 4.36 seconds
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: acknowledged 192.168.1.100 from 192.168.1.1
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: checking for 192.168.1.100
Nov 26 17:58:28 t40 dhcpcd[423]: wlan0: sending ARP probe (1 of 3), next in 1.42 seconds
Nov 26 17:58:29 t40 dhcpcd[423]: wlan0: sending ARP probe (2 of 3), next in 1.58 seconds
Nov 26 17:58:31 t40 dhcpcd[423]: wlan0: sending ARP probe (3 of 3), next in 2.00 seconds
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: leased 192.168.1.100 for 259200 seconds
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: renew in 129600 seconds, rebind in 226800 seconds
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: adding IP address 192.168.1.100/24
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: adding route to 192.168.1.0/24
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: adding default route via 192.168.1.1
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: writing lease `/var/lib/dhcpcd/dhcpcd-wlan0.lease'
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
Nov 26 17:58:33 t40 dhcpcd[423]: wlan0: sending ARP announce (1 of 2), next in 2.00 seconds
Nov 26 17:58:35 t40 dhcpcd[423]: wlan0: sending ARP announce (2 of 2)

I resarched the web and I tried with *no luck*:
- mix configurations of wicd, gnome network manager, clean wpa_supplicant with dhcpcd and dhclient
- disable power savings in bios
- changing diffrent channels in my AccessPoint
- disable ipv6
- iwl3945 has power management off //below iwconfig output
- changing kernel to linux-lts
- older firmware from http://intellinuxwireless.org/
- other AccessPoints, other wifi networks

I think it is Arch-related or software-related problem, because:
- wifi works perfect with ubuntu on *that same machine*
- other my computers are fine with that AccesPoint

I have got no other clues why that wifi does not work with fresh install.

Any help or suggestions welcome. Other words... Help me, please ;-)

Now the details:

lspci:

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

uname:

Linux t40 3.6.7-1-ARCH #1 SMP PREEMPT Mon Nov 19 09:11:44 CET 2012 i686 GNU/Linux

lsmod:

[root@t40 ~]# lsmod | grep iwl
iwl3945                47928  0 
iwlegacy               41366  1 iwl3945
mac80211              367490  2 iwl3945,iwlegacy
cfg80211              153456  3 iwl3945,iwlegacy,mac80211

iwconfig:

wlan0     IEEE 802.11abg  ESSID:"borntoplayball"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:1B:C5:02:FA:18   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-36 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:11   Missed beacon:0

dmesg | grep -i iwl:

[root@t40 ~]# dmesg | grep -i iwl
[    8.310666] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[    8.310670] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[    8.368603] iwl3945 0000:03:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[    8.368610] iwl3945 0000:03:00.0: Detected Intel Wireless WiFi Link 3945ABG
[    8.368774] iwl3945 0000:03:00.0: irq 44 for MSI/MSI-X
[    8.492813] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
[   10.255613] iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9
[   16.903898] iwl3945 0000:03:00.0: wlan0: disabling HT as WMM/QoS is not supported

ip link:

2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 00:1b:77:a4:78:88 brd ff:ff:ff:ff:ff:ff

rfkill list:

[root@t40 ~]# rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
[root@t40 ~]# 

iwlist:

Cell 02 - Address: 00:1B:C5:02:FA:18
                    Channel:2
                    Frequency:2.417 GHz (Channel 2)
                    Quality=70/70  Signal level=-40 dBm  
                    Encryption key:on
                    ESSID:"borntoplayball"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000161d7744f
                    Extra: Last beacon: 53ms ago
                    IE: Unknown: 000E626F726E746F706C617962616C6C
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030102
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1AEE1117FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D1602050700000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05010031127A
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: 0706545720010E10
                    IE: Unknown: DD1E00904C33EE1117FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3402050700000000000000000000000000000000000000

Last edited by piachball (2012-12-06 17:17:13)

Offline

#2 2012-11-26 21:09:23

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

You shoul use only one network manager becouse if you have more they can get in conflict.I had problem with netcfg and network manager.After disabling one of them problem goes away.I had constant disconnection before.Now I use netcfg and wpa_supplicant and it works without problem.

Offline

#3 2012-11-27 06:29:13

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Thanks for the reply. I always try one at the time. Every case I've got the same problem on Arch.

More suggestions appreciated.

Offline

#4 2012-11-27 18:57:24

phil
Member
Registered: 2012-09-22
Posts: 72

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Try dhclient.

Offline

#5 2012-11-27 19:31:23

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

phil wrote:

Try dhclient.

Tried it too. Sadly, the same error I've got.

Offline

#6 2012-11-27 20:32:38

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Do you have iwlegacy also installed with iw3945?Maybe there's more then one driver and it couses you problem.If so you should blacklist it or remove it.Only my thinking.I realy don't know what else should be wrong.

Offline

#7 2012-11-28 08:03:36

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

10PinkPanther wrote:

Do you have iwlegacy also installed with iw3945?Maybe there's more then one driver and it couses you problem.If so you should blacklist it or remove it.Only my thinking.I realy don't know what else should be wrong.

Yes, I've got iwlegacy module up. My lsmod:

Module                  Size  Used by
ablk_helper             1528  0 
cryptd                  7357  1 ablk_helper
aes_i586                6940  1 
aes_generic            26054  1 aes_i586
coretemp                4958  0 
kvm_intel             117567  0 
arc4                    1603  2 
iwl3945                47928  0 
i915                  441018  2 
iwlegacy               41366  1 iwl3945
iTCO_wdt                4315  0 
mac80211              367490  2 iwl3945,iwlegacy
kvm                   324168  1 kvm_intel
drm_kms_helper         28941  1 i915
e1000e                160059  0 
iTCO_vendor_support     1545  1 iTCO_wdt
lpc_ich                 9213  0 
drm                   180074  3 i915,drm_kms_helper
sdhci_pci               8877  0 
sdhci                  20458  1 sdhci_pci
snd_hda_codec_analog    62228  1 
cfg80211              153456  3 iwl3945,iwlegacy,mac80211
mmc_core               73426  2 sdhci,sdhci_pci
i2c_i801                8463  0 
i2c_algo_bit            4583  1 i915
pcmcia                 31150  0 
firewire_ohci          27502  0 
firewire_core          45540  1 firewire_ohci
yenta_socket           18840  0 
pcmcia_rsrc             8808  1 yenta_socket
thinkpad_acpi          54673  0 
snd_hda_intel          22256  0 
psmouse                71856  0 
pcmcia_core            10241  3 pcmcia,pcmcia_rsrc,yenta_socket
nvram                   4794  2 thinkpad_acpi
crc_itu_t               1095  1 firewire_core
rfkill                 12568  3 cfg80211,thinkpad_acpi
snd_hda_codec          83677  2 snd_hda_intel,snd_hda_codec_analog
snd_hwdep               4842  1 snd_hda_codec
snd_pcm                61920  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          5869  2 snd_pcm,snd_hda_intel
processor              24039  2 
ac                      1892  0 
thermal                 6659  0 
video                   9884  1 i915
battery                 5213  0 
intel_agp               8592  1 i915
intel_gtt              12173  3 i915,intel_agp
tpm_tis                 7154  0 
agpgart                21935  3 drm,intel_agp,intel_gtt
tpm                    11957  1 tpm_tis
tpm_bios                4261  1 tpm
snd_timer              14902  1 snd_pcm
snd                    45097  7 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_hda_codec_analog
i2c_core               16943  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
evdev                   7662  12 
button                  3710  1 i915
serio_raw               3713  0 
pcspkr                  1455  0 
soundcore               4378  1 snd
microcode               8921  0 
nfs                   107548  0 
lockd                  54110  1 nfs
sunrpc                154879  2 nfs,lockd
fscache                36587  1 nfs
ext4                  402656  1 
crc16                   1091  1 ext4
jbd2                   66341  1 ext4
mbcache                 4345  1 ext4
sd_mod                 27311  3 
ata_generic             2434  0 
pata_acpi               2399  0 
uhci_hcd               19808  0 
ata_piix               19704  0 
ahci                   18660  2 
libahci                16811  1 ahci
libata                146063  5 ahci,pata_acpi,libahci,ata_generic,ata_piix
scsi_mod              113033  2 libata,sd_mod
ehci_hcd               36652  0 
usbcore               126730  2 uhci_hcd,ehci_hcd
usb_common               622  1 usbcore

Those disconnects are making me crazy... ;/

Any chances that systemd is doing that? My systectl:

UNIT                                                                     LOAD   ACTIVE SUB       DESCRIPTION
proc-sys-fs-binfmt_misc.automount                                        loaded active waiting   Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:19.0-net-eth0.device                      loaded active plugged   /sys/devices/pci0000:00/0000:00:19.0/net/eth0
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device                   loaded active plugged   /sys/devices/pci0000:00/0000:00:1b.0/sound/card0
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlan0.device        loaded active plugged   /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0
sys-devices-pci0000:00-...ost0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged   HITACHI_HTS541612J9SA00_3H
sys-devices-pci0000:00-...ost0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged   HITACHI_HTS541612J9SA00_3H
sys-devices-pci0000:00-...ta1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged   HITACHI_HTS541612J9SA00_3H
sys-devices-platform-serial8250-tty-ttyS0.device                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-platform-thinkpad_acpi-sound-card29.device                   loaded active plugged   /sys/devices/platform/thinkpad_acpi/sound/card29
sys-subsystem-net-devices-eth0.device                                    loaded active plugged   /sys/subsystem/net/devices/eth0
sys-subsystem-net-devices-wlan0.device                                   loaded active plugged   /sys/subsystem/net/devices/wlan0
-.mount                                                                  loaded active mounted   /
dev-hugepages.mount                                                      loaded active mounted   Huge Pages File System
dev-mqueue.mount                                                         loaded active mounted   POSIX Message Queue File System
sys-kernel-debug.mount                                                   loaded active mounted   Debug File System
tmp.mount                                                                loaded active mounted   /tmp
systemd-ask-password-console.path                                        loaded active waiting   Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path                                           loaded active waiting   Forward Password Requests to Wall Directory Watch
acpid.service                                                            loaded active running   ACPI event daemon
autologin@tty1.service                                                   loaded active running   Getty on tty1
bitlbee.service                                                          loaded active running   BitlBee IRC/IM gateway
cronie.service                                                           loaded active running   Periodic Command Scheduler
dbus.service                                                             loaded active running   D-Bus System Message Bus
dovecot.service                                                          loaded active running   Dovecot IMAP/POP3 email server
httpd.service                                                            loaded active running   Apache Web Server
mpd.service                                                              loaded active running   Music Player Daemon
mysqld.service                                                           loaded active running   MySQL Server
network.service                                                          loaded active exited    Network Connectivity
polkit.service                                                           loaded active running   Authorization Manager
postfix.service                                                          loaded active running   Postfix Mail Transport Daemon
spamassassin.service                                                     loaded active running   Spamassassin daemon
sshd.service                                                             loaded active running   OpenSSH Daemon
syslog-ng.service                                                        loaded active running   System Logger Daemon
systemd-journald.service                                                 loaded active running   Journal Service
systemd-logind.service                                                   loaded active running   Login Service
systemd-modules-load.service                                             loaded active exited    Load Kernel Modules
systemd-remount-fs.service                                               loaded active exited    Remount Root and Kernel File Systems
systemd-sysctl.service                                                   loaded active exited    Apply Kernel Variables
systemd-tmpfiles-setup.service                                           loaded active exited    Recreate Volatile Files and Directories
systemd-udev-trigger.service                                             loaded active exited    udev Coldplug all Devices
systemd-udevd.service                                                    loaded active running   udev Kernel Device Manager
systemd-user-sessions.service                                            loaded active exited    Permit User Sessions
systemd-vconsole-setup.service                                           loaded active exited    Setup Virtual Console
tpfand.service                                                           loaded active running   ThinkPad Fan Control
upower.service                                                           loaded active running   Daemon for power management
acpid.socket                                                             loaded active listening ACPID Listen Socket
dbus.socket                                                              loaded active running   D-Bus System Message Bus Socket
syslog.socket                                                            loaded active running   Syslog Socket
systemd-initctl.socket                                                   loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket                                                  loaded active running   Journal Socket
systemd-shutdownd.socket                                                 loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket                                             loaded active listening udev Control Socket
systemd-udevd-kernel.socket                                              loaded active running   udev Kernel Socket
dev-sda2.swap                                                            loaded active active    /dev/sda2
basic.target                                                             loaded active active    Basic System
cryptsetup.target                                                        loaded active active    Encrypted Volumes
getty.target                                                             loaded active active    Login Prompts
local-fs-pre.target                                                      loaded active active    Local File Systems (Pre)
local-fs.target                                                          loaded active active    Local File Systems
multi-user.target                                                        loaded active active    Multi-User
network.target                                                           loaded active active    Network
remote-fs.target                                                         loaded active active    Remote File Systems
sockets.target                                                           loaded active active    Sockets
sound.target                                                             loaded active active    Sound Card
swap.target                                                              loaded active active    Swap
sysinit.target                                                           loaded active active    System Initialization
syslog.target                                                            loaded active active    Syslog
systemd-tmpfiles-clean.timer                                             loaded active waiting   Daily Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

71 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
(END)

-EDIT-

During disconnect wpa_supplicant shows:

RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
wlan0: Event DISASSOC (1) received
wlan0: Disassociation notification
wlan0: WPA: Auto connect enabled: try to reconnect (wps=0)
wlan0: Setting scan request: 0 sec 100000 usec
Added BSSID 00:1b:c5:02:fa:18 into blacklist
wlan0: Setting scan request: 0 sec 100000 usec
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:1b:c5:02:fa:18 reason=0
wlan0: Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
wlan0: BSS: Expire BSS 0 due to age
wlan0: BSS: Remove id 0 BSSID 00:1b:c5:02:fa:18 SSID 'borntoplayball'
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
wlan0: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Received 5310 bytes of scan results (10 BSSes)
wlan0: BSS: Start scan result update 2
wlan0: BSS: Add new id 7 BSSID 00:1b:c5:02:fa:18 SSID 'borntoplayball'
wlan0: BSS: Add new id 8 BSSID c8:3a:35:4d:cf:78 SSID 'hlg_jp3213'
wlan0: BSS: Add new id 9 BSSID 00:1b:c5:03:0b:e0 SSID 'hlg_4019'
wlan0: BSS: Add new id 10 BSSID c8:3a:35:4d:cf:c0 SSID 'hlg_3227'
wlan0: BSS: Add new id 11 BSSID c8:3a:35:4d:cf:b0 SSID 'hlg_3235'
wlan0: BSS: Add new id 12 BSSID 00:1b:c5:02:f6:c0 SSID 'hlg_3036'
wlan0: BSS: Add new id 13 BSSID 64:70:02:a9:21:2c SSID 'hlg_5119'
wlan0: BSS: Add new id 14 BSSID 00:1b:c5:03:0e:40 SSID 'hlg_3239'
wlan0: BSS: Add new id 15 BSSID c8:3a:35:2b:08:f0 SSID 'Perla'
wlan0: BSS: Add new id 16 BSSID c8:3a:35:3d:ff:90 SSID 'Wireless_N'
wlan0: New scan results available
wlan0: Selecting BSS from priority group 0
wlan0: 0: 00:1b:c5:02:fa:18 ssid='borntoplayball' wpa_ie_len=0 rsn_ie_len=24 caps=0x11 level=-54
wlan0:    skip - blacklisted (count=1 limit=0)
wlan0: 1: c8:3a:35:4d:cf:78 ssid='hlg_jp3213' wpa_ie_len=22 rsn_ie_len=20 caps=0x11 level=-63
wlan0:    skip - SSID mismatch
wlan0: 2: 00:1b:c5:03:0b:e0 ssid='hlg_4019' wpa_ie_len=26 rsn_ie_len=0 caps=0x11 level=-64
wlan0:    skip - SSID mismatch
wlan0: 3: c8:3a:35:4d:cf:c0 ssid='hlg_3227' wpa_ie_len=22 rsn_ie_len=20 caps=0x11 level=-82 wps
wlan0:    skip - SSID mismatch
wlan0: 4: c8:3a:35:4d:cf:b0 ssid='hlg_3235' wpa_ie_len=22 rsn_ie_len=20 caps=0x11 level=-85 wps
wlan0:    skip - SSID mismatch
wlan0: 5: 00:1b:c5:02:f6:c0 ssid='hlg_3036' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-85
wlan0:    skip - SSID mismatch
wlan0: 6: 64:70:02:a9:21:2c ssid='hlg_5119' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-86
wlan0:    skip - SSID mismatch
wlan0: 7: 00:1b:c5:03:0e:40 ssid='hlg_3239' wpa_ie_len=26 rsn_ie_len=0 caps=0x11 level=-87
wlan0:    skip - SSID mismatch
wlan0: 8: c8:3a:35:2b:08:f0 ssid='Perla' wpa_ie_len=22 rsn_ie_len=20 caps=0x11 level=-88 wps
wlan0:    skip - SSID mismatch
wlan0: 9: c8:3a:35:3d:ff:90 ssid='Wireless_N' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-63 wps
wlan0:    skip - SSID mismatch
wlan0: No APs found - clear blacklist and try again
Removed BSSID 00:1b:c5:02:fa:18 from blacklist (clear)
wlan0: Selecting BSS from priority group 0
wlan0: 0: 00:1b:c5:02:fa:18 ssid='borntoplayball' wpa_ie_len=0 rsn_ie_len=24 caps=0x11 level=-54
wlan0:    selected based on RSN IE
wlan0:    selected BSS 00:1b:c5:02:fa:18 ssid='borntoplayball'
wlan0: Request association: reassociate: 0  selected: 00:1b:c5:02:fa:18  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING
wlan0: Trying to associate with 00:1b:c5:02:fa:18 (SSID='borntoplayball' freq=2422 MHz)
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE

I'm not sure (just guessing), if that something had put wlan0 up even if it was already up and connected? or this is just normal behavior of wpa_supplicant during disconnect?

Last edited by piachball (2012-12-01 12:19:39)

Offline

#8 2012-12-01 12:19:58

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

In tcpdump during disconnects are:

12:51:45.855920 EAPOL key (3) v1, len 95
12:51:45.858360 EAPOL key (3) v1, len 117
12:51:45.862389 EAPOL key (3) v1, len 175
12:51:45.863190 EAPOL key (3) v1, len 95
12:52:01.131857 00:1b:c5:02:fa:18 Unknown SSAP 0xea > 4c:ed:de:78:45:fc Unknown DSAP 0x3c Information, send seq 0, rcv seq 16, Flags [Response], length 52
12:52:24.640274 00:1b:c5:02:fa:18 Unknown SSAP 0xea > 4c:ed:de:78:45:fc Unknown DSAP 0x9a Information, send seq 0, rcv seq 16, Flags [Response], length 52
12:52:48.258141 00:1b:c5:02:fa:18 Unknown SSAP 0xea > 4c:ed:de:78:45:fc Unknown DSAP 0xec Information, send seq 0, rcv seq 16, Flags [Response], length 52
12:52:50.652504 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
12:52:50.654881 ARP, Reply 192.168.1.1 is-at 00:1b:c5:02:fa:18, length 28
12:53:11.633079 00:1b:c5:02:fa:18 Unknown SSAP 0xec > 4c:ed:de:78:45:fc Unknown DSAP 0x4a Information, send seq 0, rcv seq 16, Flags [Command], length 52
12:53:35.139252 00:1b:c5:02:fa:18 Unknown SSAP 0xec > 4c:ed:de:78:45:fc Unknown DSAP 0xa0 Information, send seq 0, rcv seq 16, Flags [Command], length 52

Anyone?

Last edited by piachball (2012-12-01 12:23:36)

Offline

#9 2012-12-01 12:53:18

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

One thing to check: your CRDA is Taiwan. If you are not in TW, double check that config.
One thing to try: You can try the linux-lts kernel. If that works better, the error is more focussed ..
Another thing to try: load the module like "modprobe iwl3945 fw_restart=1"
One question: Have you changed the router's MAC address?

Offline

#10 2012-12-01 14:50:43

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Strike0 wrote:

One thing to check: your CRDA is Taiwan. If you are not in TW, double check that config.
One thing to try: You can try the linux-lts kernel. If that works better, the error is more focussed ..
Another thing to try: load the module like "modprobe iwl3945 fw_restart=1"

CRDA tried with PL and 00. Both did not help, still disconnects. LTS kernel also didn't help.
I will try with module restart and see what happened.

Strike0 wrote:

One question: Have you changed the router's MAC address?

No, I have not change it. Router's MAC is the same all the time.

Last edited by piachball (2012-12-01 15:14:47)

Offline

#11 2012-12-01 15:21:15

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Another sniff:

16:17:25.686360 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:26.689702 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:27.693010 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:28.713027 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:29.716363 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:30.719664 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:32.370345 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:33.373015 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:34.376396 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:40.720395 EAPOL key (3) v1, len 95
16:17:40.722743 EAPOL key (3) v1, len 117
16:17:40.727277 EAPOL key (3) v1, len 175
16:17:40.728084 EAPOL key (3) v1, len 95
16:17:43.401497 ARP, Request who-has 192.168.1.1 tell 192.168.1.105, length 28
16:17:43.403932 ARP, Reply 192.168.1.1 is-at 00:1b:c5:02:fa:18, length 28

Ok, there is no arp answer from AccessPoint when disconnect happened. But don't know why ;/

Offline

#12 2012-12-01 17:14:13

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Have you tried to use the "iwlwifi" module?

Intel writes, your chip is supported by it and the module you are using is deprecated: http://intellinuxwireless.org/

Offline

#13 2012-12-01 19:15:19

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Strike0 wrote:

Have you tried to use the "iwlwifi" module?

Intel writes, your chip is supported by it and the module you are using is deprecated: http://intellinuxwireless.org/

Did not try. Tried only firmware from that site.
According to that site:

Driver Snapshots - only for kernels 2.6.18 to 2.6.23

iwlwifi module is the newest in Arch kernels.

Offline

#14 2012-12-02 02:08:39

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Yes, no need to download anything from there, the "iwlwifi" to try is in the kernel indeed. I linked there for the "deprecated" message for the iwl3945.

Offline

#15 2012-12-02 08:23:54

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Strike0 wrote:

Yes, no need to download anything from there, the "iwlwifi" to try is in the kernel indeed. I linked there for the "deprecated" message for the iwl3945.

Strange, I don't have 'iwlwifi' module:

[root@t40 ~]# modprobe iwlwifi
modprobe: FATAL: Module iwlwifi not found.

I only have iwlagn, but it is not for my hardware:

[root@t40 ~]# find /lib/modules/`uname -r` -name iwl* -ls
5899865    4 drwxr-xr-x   2 root     root         4096 lis 27 08:30 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlwifi
5899900  116 -rw-r--r--   1 root     root       115069 lis 27 08:29 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko.gz
5899854    4 drwxr-xr-x   2 root     root         4096 lis 27 08:30 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlegacy
5899920   64 -rw-r--r--   1 root     root        64555 lis 27 08:29 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlegacy/iwl4965.ko.gz
5899919   44 -rw-r--r--   1 root     root        42031 lis 27 08:29 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlegacy/iwl3945.ko.gz
5899921   36 -rw-r--r--   1 root     root        34428 lis 27 08:29 /lib/modules/3.0.53-1-lts/kernel/drivers/net/wireless/iwlegacy/iwl-legacy.ko.gz

Offline

#16 2012-12-02 13:33:17

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

I was  also unaware the switch over apparently happened between the lts and regular kernel. When you boot into your normal Arch (see your first post), you will have it.

Offline

#17 2012-12-02 19:46:25

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

iwlwifi did not work for Intel 3945ABG card. Kernel did not recognize my card with iwlwifi module up. This module is not working with my card's firmware according to modinfo:

[20:41] @t40:~ $ modinfo iwlwifi
filename:       /lib/modules/3.6.8-1-ARCH/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
license:        GPL
author:         Copyright(c) 2003-2012 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    Intel(R) Wireless WiFi driver for Linux
firmware:       iwlwifi-100-5.ucode
firmware:       iwlwifi-1000-5.ucode
firmware:       iwlwifi-135-6.ucode
firmware:       iwlwifi-105-6.ucode
firmware:       iwlwifi-2030-6.ucode
firmware:       iwlwifi-2000-6.ucode
firmware:       iwlwifi-5150-2.ucode
firmware:       iwlwifi-5000-5.ucode
firmware:       iwlwifi-6000g2b-6.ucode
firmware:       iwlwifi-6000g2a-5.ucode
firmware:       iwlwifi-6050-5.ucode
firmware:       iwlwifi-6000-4.ucode

but thanks for hints anyway. I try to borrow another router and will see behavior of my wireless card.

Last edited by piachball (2012-12-02 19:46:53)

Offline

#18 2012-12-03 10:43:11

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

I noticed today something strange in dmesg during system boot:

Dec  3 11:21:37 t40 kernel: [   11.294307] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
Dec  3 11:21:37 t40 kernel: [   11.294312] iwl3945: Copyright(c) 2003-2011 Intel Corporation
Dec  3 11:21:37 t40 kernel: [   11.294390] iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Dec  3 11:21:37 t40 kernel: [   11.294407] iwl3945 0000:03:00.0: setting latency timer to 64
Dec  3 11:21:37 t40 kernel: [   11.348591] iwl3945 0000:03:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
Dec  3 11:21:37 t40 kernel: [   11.348596] iwl3945 0000:03:00.0: Detected Intel Wireless WiFi Link 3945ABG
Dec  3 11:21:37 t40 kernel: [   11.348752] iwl3945 0000:03:00.0: irq 46 for MSI/MSI-X
Dec  3 11:21:37 t40 kernel: [   11.349028] Registered led device: phy0-led
Dec  3 11:21:37 t40 kernel: [   11.353415] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x1f0-0x1f7 0x370-0x377
Dec  3 11:21:37 t40 kernel: [   11.355779] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x3f0-0x3f7 0x4d0-0x4d7
Dec  3 11:21:37 t40 kernel: [   11.356805] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
Dec  3 11:21:37 t40 kernel: [   11.357650] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
Dec  3 11:21:37 t40 kernel: [   11.358577] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xd3fff 0xe0000-0xfffff
Dec  3 11:21:37 t40 kernel: [   11.358686] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Dec  3 11:21:37 t40 kernel: [   11.358794] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
Dec  3 11:21:37 t40 kernel: [   11.358903] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
Dec  3 11:21:37 t40 kernel: [   11.470808] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
Dec  3 11:21:37 t40 kernel: [   11.691072] cfg80211: World regulatory domain updated:
Dec  3 11:21:37 t40 kernel: [   11.691077] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec  3 11:21:37 t40 kernel: [   11.691083] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.691088] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.691093] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.691097] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.691102] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.691123] cfg80211: Calling CRDA for country: PL
Dec  3 11:21:37 t40 kernel: [   11.694844] cfg80211: Regulatory domain changed to country: PL
Dec  3 11:21:37 t40 kernel: [   11.694848] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec  3 11:21:37 t40 kernel: [   11.694854] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.694859] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.694863] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec  3 11:21:37 t40 kernel: [   11.694867] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Dec  3 11:21:37 t40 kernel: [   11.773545] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
Dec  3 11:21:37 t40 kernel: [   12.605445] Adding 2096444k swap on /dev/sda2.  Priority:-1 extents:1 across:2096444k 
Dec  3 11:21:37 t40 kernel: [   13.015221] iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9
Dec  3 11:21:37 t40 kernel: [   13.079097] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec  3 11:21:38 t40 dhclient: Listening on LPF/wlan0/00:1b:77:a4:78:88
Dec  3 11:21:38 t40 dhclient: Sending on   LPF/wlan0/00:1b:77:a4:78:88
Dec  3 11:21:38 t40 dhclient: Sending on   Socket/fallback
Dec  3 11:21:38 t40 dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Dec  3 11:21:38 t40 dhclient[254]: Listening on LPF/wlan0/00:1b:77:a4:78:88
Dec  3 11:21:38 t40 dhclient[254]: Sending on   LPF/wlan0/00:1b:77:a4:78:88
Dec  3 11:21:38 t40 dhclient[254]: Sending on   Socket/fallback
Dec  3 11:21:38 t40 dhclient[254]: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Dec  3 11:21:38 t40 kernel: [   19.109840] wlan0: authenticate with 00:1b:c5:02:fa:18 (try 1)
Dec  3 11:21:38 t40 kernel: [   19.111702] wlan0: authenticated
Dec  3 11:21:38 t40 kernel: [   19.111755] wlan0: associate with 00:1b:c5:02:fa:18 (try 1)
Dec  3 11:21:38 t40 kernel: [   19.117047] wlan0: RX AssocResp from 00:1b:c5:02:fa:18 (capab=0x411 status=0 aid=1)
Dec  3 11:21:38 t40 kernel: [   19.117052] wlan0: associated
Dec  3 11:21:38 t40 kernel: [   19.118676] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Dec  3 11:21:38 t40 kernel: [   19.118737] cfg80211: Calling CRDA for country: TW
Dec  3 11:21:38 t40 kernel: [   19.122582] cfg80211: Regulatory domain changed to country: TW
Dec  3 11:21:38 t40 kernel: [   19.122587] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec  3 11:21:38 t40 kernel: [   19.122593] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Dec  3 11:21:38 t40 kernel: [   19.122598] cfg80211:     (5270000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Dec  3 11:21:38 t40 kernel: [   19.122602] cfg80211:     (5735000 KHz - 5815000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Dec  3 11:21:39 t40 kernel: [   20.104569] Intel AES-NI instructions are not detected.
Dec  3 11:21:39 t40 kernel: [   20.447695] padlock_aes: VIA PadLock not detected.
Dec  3 11:21:40 t40 dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Dec  3 11:21:40 t40 dhclient[254]: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Dec  3 11:21:40 t40 dhclient: DHCPACK from 192.168.1.1
Dec  3 11:21:40 t40 dhclient[254]: DHCPACK from 192.168.1.1
Dec  3 11:21:40 t40 mysqld[231]: 121203 11:21:40 InnoDB: The InnoDB memory heap is disabled
Dec  3 11:21:40 t40 mysqld[231]: 121203 11:21:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Dec  3 11:21:40 t40 mysqld[231]: 121203 11:21:40 InnoDB: Compressed tables use zlib 1.2.7
Dec  3 11:21:40 t40 mysqld[231]: 121203 11:21:40 InnoDB: Initializing buffer pool, size = 128.0M
Dec  3 11:21:40 t40 mysqld[231]: 121203 11:21:40 InnoDB: Completed initialization of buffer pool
Dec  3 11:21:41 t40 dhclient: bound to 192.168.1.105 -- renewal in 103385 seconds.
Dec  3 11:21:41 t40 dhclient[254]: bound to 192.168.1.105 -- renewal in 103385 seconds.

iwl3945 module got up. Then regulatory domain changed to country: PL (correct) and _something_ changes it to TW.

I have got crda installed and set:

[root@t40 ~]# grep PL /etc/conf.d/wireless-regdom 
WIRELESS_REGDOM="PL"
[root@t40 ~]# grep PL /etc/modprobe.d/modprobe.conf 
options cfg80211 ieee80211_regdom="PL"
[root@t40 ~]# 

After boot cfg80211 seems to have proper parameter loaded:

[root@t40 ~]# cat /sys/module/cfg80211/parameters/ieee80211_regdom 
PL

but iw shows set to TW:

[root@t40 ~]# iw reg get
country TW:
	(2402 - 2472 @ 40), (3, 27)
	(5270 - 5330 @ 40), (3, 17), DFS
	(5735 - 5815 @ 40), (3, 30)
[root@t40 ~]# 

List of channels of my wlan0:

[root@t40 ~]# iwlist wlan0 f
wlan0     14 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Current Frequency:2.422 GHz (Channel 3)

[root@t40 ~]# 

Are channels 56, 60 64 correct?

Anyone know what is changing regulatory domain to TW?

Last edited by piachball (2012-12-03 10:56:53)

Offline

#19 2012-12-03 19:57:08

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Your card is wireless A capable, channels 56,60,64 in 5GHz will be for that. (http://en.wikipedia.org/wiki/List_of_WLAN_channels)

Interesting observation. One might assume CRDA is called by whatever network-management tool you used to let it autoconnect (which tool??). Also check wpa_supplicant.conf there is a country code variable in there as well.

Still, I think it is unlikely this is causing you the dis-connection troubles. The failing arp reply you posted is closer I think. Writing that, I noticed an older bug that sounds like yours and has been declared as "wont fix" due to the old driver on launchpad recently. 

Another posting suggested to set the following for a disconnection problem

echo "options iwl3945 disable_hw_scan=0" | sudo tee  /etc/modprobe.d/iwl3945.conf 

Maybe give that a try also.

Offline

#20 2012-12-05 19:08:35

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Sadly that didn't help. Tried some other linux live-cd's with different kernels. There was that disconnects each time. I think problem is in my card (hardware issue) or AccessPoint/LAN (but other my stuff don't have disconnects). So I believe I have to buy other wireless card.

Offline

#21 2012-12-05 20:01:18

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Too bad. There are users with that card, maybe put "Intel 3945ABG" or something into your thread title.

One last point: Whats the PCI-ID of your card?
I'm asking because the iwlwifi driver you tried earlier, _does_ list support for e.g. PCI [8086:1011], which should be your card.
What was the error you got when you tried it?

Offline

#22 2012-12-06 17:11:25

piachball
Member
Registered: 2011-06-06
Posts: 16

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

I've got:

03:00.0 0280: 8086:4227 (rev 02)
	Subsystem: 8086:1011
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at dfcff000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [c8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0300c  Data: 4152
	Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP+ Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		AERCap:	First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [140 v1] Device Serial Number 00-1b-77-ff-ff-a4-78-88
	Kernel driver in use: iwl3945

I loaded iwlwifi module like this:

[root@t40 ~]# modprobe -vr iwl3945
rmmod iwl3945
rmmod iwlegacy
rmmod mac80211
rmmod cfg80211
[root@t40 ~]# modprobe -v iwlwifi
insmod /lib/modules/3.6.9-1-ARCH/kernel/net/wireless/cfg80211.ko.gz 
insmod /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz 
[root@t40 ~]# dmesg | tail
[ 9754.096583] wlan0: authenticated
[ 9754.096610] iwl3945 0000:03:00.0: wlan0: disabling HT as WMM/QoS is not supported
[ 9754.099082] wlan0: associate with 00:1b:c5:02:fa:18 (try 1/3)
[ 9754.103084] wlan0: RX AssocResp from 00:1b:c5:02:fa:18 (capab=0x411 status=0 aid=1)
[ 9754.104460] wlan0: associated
[14093.305502] wlan0: deauthenticating from 00:1b:c5:02:fa:18 by local choice (reason=3)
[14093.315745] cfg80211: Calling CRDA to update world regulatory domain
[14142.010353] cfg80211: Calling CRDA to update world regulatory domain
[14142.056233] Intel(R) Wireless WiFi driver for Linux, in-tree:
[14142.056237] Copyright(c) 2003-2012 Intel Corporation
[root@t40 ~]# ip link set dev wlan0 up
Cannot find device "wlan0"
[root@t40 ~]# lsmod | grep iwl
iwlwifi               109446  0 
cfg80211              153457  1 iwlwifi
[root@t40 ~]#

So after load iwlwifi there's no wlan0 interface or maybe I messed up something.

-EDIT-

My card's PCI ID is: 03:00.0 0280: 8086:4227

Last edited by piachball (2012-12-07 14:27:34)

Offline

#23 2012-12-07 23:40:51

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

Ok, now that PCI ID is not in the supported devices list for iwlwifi and there we have the reason why it did not work.
Nothing wrong with how you tried to load it and out of ideas here for now.

Offline

#24 2012-12-15 14:16:01

silverzhao
Member
Registered: 2011-07-05
Posts: 33

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

I have the same problem that wireless network keeps disconnecting randomly.

After some hard investigation, by checking the log, I find that it's the problem of wicd.

Maybe you could try to disable any network manager, like wicd, Network Manager or netcfg, but use iwlist and iwconfig only.

Then you may see whether it will still disconnect randomly.


What you are you do not see, what you see is your shadow.

Offline

#25 2012-12-24 11:10:31

Tenzer
Member
From: UK
Registered: 2011-08-08
Posts: 1
Website

Re: Random disconnets Intel 3945ABG with error wlan0: carrier lost

I am experiencing the same issues on my IBM R60, which also has an Intel 3945ABG wifi card with the PCI ID of 03:00.0 0280: 8086:4227. I primarily experience disconnects when watching a Youtube video. I am using wicd, but I guess I should try something else based on what silverzhao writes.

Offline

Board footer

Powered by FluxBB