You are not logged in.

#1 2015-07-08 20:49:37

amitavmohanty01
Member
Registered: 2013-01-13
Posts: 40

Wireless connection failing

When I try to connect to my WPA2-Personal secured Wifi connection, I am getting the following issue.

Jul 08 20:56:50 machine kernel: wlan0: authenticate with b8:c1:a2:08:a8:c8
Jul 08 20:56:50 machine kernel: wlan0: send auth to b8:c1:a2:08:a8:c8 (try 1/3)
Jul 08 20:56:50 machine kernel: wlan0: authenticated
Jul 08 20:56:50 machine kernel: wlan0: associate with b8:c1:a2:08:a8:c8 (try 1/3)
Jul 08 20:56:50 machine kernel: wlan0: RX AssocResp from b8:c1:a2:08:a8:c8 (capab=0x411 status=0 aid=2)
Jul 08 20:56:50 machine kernel: wlan0: associated
Jul 08 20:56:50 machine kernel: wlan0: disassociated from b8:c1:a2:08:a8:c8 (Reason: 14)
Jul 08 20:56:50 machine kernel: cfg80211: Calling CRDA to update world regulatory domain

As per http://www.aboutcher.co.uk/2012/07/linu … son-codes/ the reason code indicates that the message integrity code is failing. How do I fix this ?

Regards,
Amitav


Quis custodiet ipsos custodes.

Offline

#2 2015-07-08 21:10:54

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,779
Website

Re: Wireless connection failing

How are you attempting to connect?

What is your hardware?

What is the output of:

uname -a

Jin, Jîyan, Azadî

Online

#3 2015-07-09 16:58:16

amitavmohanty01
Member
Registered: 2013-01-13
Posts: 40

Re: Wireless connection failing

Linux machine 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux

That is the value of uname -a.

I have edited /etc/wpa_supplicant/wpa_supplicant.conf to provide SSID and passphrase using wpa_passphrase tool. I have added ctrl_interface line to point to wlan0. I just run dhcpcd and dhcpcd hooks invoke wpa_supplicant to connect to the wifi network. My hardware is BCM4301. I was able to connect to wifi networks before. I had upgraded the system about a month back.

P.S.: I am using b43 driver.

Last edited by amitavmohanty01 (2015-07-09 16:58:36)


Quis custodiet ipsos custodes.

Offline

#4 2015-07-09 19:25:46

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,779
Website

Re: Wireless connection failing

amitavmohanty01 wrote:

I have edited /etc/wpa_supplicant/wpa_supplicant.conf to provide SSID and passphrase using wpa_passphrase tool. I have added ctrl_interface line to point to wlan0. I just run dhcpcd and dhcpcd hooks invoke wpa_supplicant to connect to the wifi network. My hardware is BCM4301. I was able to connect to wifi networks before. I had upgraded the system about a month back.

You need to post all the relevant configuration files and the exact commands you are using.

Also post the output of:

lspci -knn|grep -iA2 net

You also need to update your system -- you're supposed to do that *before* posting any support requests here.

Forum Rules wrote:

IF YOUR SYSTEM IS NOT UP TO DATE - YOU ARE DOING IT WRONG. PACMAN -Syu *BEFORE* POSTING

https://bbs.archlinux.org/viewtopic.php?id=130309


Jin, Jîyan, Azadî

Online

#5 2015-07-09 22:12:47

amitavmohanty01
Member
Registered: 2013-01-13
Posts: 40

Re: Wireless connection failing

About the upgrade, well I would like to clarify the following sequence of events.
1. I upgraded my system at my home town.
2. I was able to connect to wifi networks there.
3. I moved back to my work place and tried to connect to my wifi connection but it is failing now.

So, upgrade is probably not the cause. And regarding upgrading now, well I can't upgrade without an internet connection.

The details of my system are as follows.

lspci -knn|grep -iA2 net

02:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 02)
	Subsystem: Hewlett-Packard Company BCM4311 802.11b/g Wireless LAN Controller [103c:1375]
	Kernel driver in use: b43-pci-bridge
--
05:08.0 Ethernet controller [0200]: Intel Corporation PRO/100 VE Network Connection [8086:1092] (rev 02)
	Subsystem: Hewlett-Packard Company Device [103c:30bb]
	Kernel driver in use: e100

The output of scanning for wifi (only posting the SSID of relevance).

 iwlist wlan0 scan

          Cell 05 - Address: B8:C1:A2:08:A8:C8
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=65/70  Signal level=-45 dBm  
                    Encryption key:on
                    ESSID:"my_ssid"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000006947ae448
                    Extra: Last beacon: 63ms ago
                    IE: Unknown: 000A61666577706561726C73
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030108
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A6E181EFF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1608000000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A00B400C800140005001900
                    IE: Unknown: 7F0101
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C336E181EFF00000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3408000000000000000000000000000000000000000000
                    IE: Unknown: DD0600E04C020160

My dhcpcd config is as follows.

# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
# Some interface drivers reset when changing the MTU so disabled by default.
#option interface_mtu

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private

# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
noipv4ll

I am just using the following to connect to wifi.

dhcpcd wlan0

Quis custodiet ipsos custodes.

Offline

#6 2015-07-10 07:17:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,779
Website

Re: Wireless connection failing

Why is your interface called "wlan0"?

It should have a "predictable" name.

Post your wpa_supplicant.conf

The dhcpcd hook only activates wpa_supplicant if it is run as a systemd .service; post the output of:

ls -l /etc/systemd/system/multi-user.target.wants

When did your wi-fi stop working?

Perhaps there is a problem with the router in your new work place.


Jin, Jîyan, Azadî

Online

#7 2015-07-13 20:08:48

amitavmohanty01
Member
Registered: 2013-01-13
Posts: 40

Re: Wireless connection failing

Head_on_a_Stick wrote:

Why is your interface called "wlan0"?

It should have a "predictable" name.

I think that is because of /etc/udev/rules.d/10-network.rules file which is mapping device addresses to device names. Should I remove this file ?

Post your wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
country=IN
network={
        ssid="ssid"
        #psk="plain_str"
        key_mgmt=WPA-PSK
        psk=scarmbled_str
        pairwise=CCMP
        group=CCMP
}

The wifi stopped working when I tried to connect this new network.


Quis custodiet ipsos custodes.

Offline

#8 2015-07-13 20:15:34

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,779
Website

Re: Wireless connection failing

Please answer my other questions.

amitavmohanty01 wrote:
ctrl_interface=/var/run/wpa_supplicant
country=IN
network={
        ssid="ssid"
        #psk="plain_str"
        key_mgmt=WPA-PSK
        psk=scarmbled_str
        pairwise=CCMP
        group=CCMP
}

I presume you have the actual SSID and password in there?

I think the top line should be:

ctrl_interface=DIR=/run/wpa_supplicant

Jin, Jîyan, Azadî

Online

#9 2015-07-14 19:04:05

amitavmohanty01
Member
Registered: 2013-01-13
Posts: 40

Re: Wireless connection failing

Head_on_a_Stick wrote:

Please answer my other questions.

Sorry, I missed out. The output of listing /etc/systemd/system/multi-user.target.wants is as follows:

total 0
lrwxrwxrwx 1 root root 40 Dec 24  2012 cpupower.service -> /usr/lib/systemd/system/cpupower.service
lrwxrwxrwx 1 root root 40 May 23 17:06 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
Head_on_a_Stick wrote:

I presume you have the actual SSID and password in there?

Yes

Head_on_a_Stick wrote:

I think the top line should be:

ctrl_interface=DIR=/run/wpa_supplicant

I copied that line from the sample file that came with the installation. I wasn't aware of the change.


Quis custodiet ipsos custodes.

Offline

#10 2015-07-14 20:14:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,779
Website

Re: Wireless connection failing

Can you connect to the router in the live environment?


Jin, Jîyan, Azadî

Online

Board footer

Powered by FluxBB