You are not logged in.

#1 2015-01-06 09:20:07

kso
Member
Registered: 2014-11-09
Posts: 11

[SOLVED] Lenovo W500 fails to connect wirelessly to home network

Hi Arch community. I can't get the built in wireless adapter to work but I can't seem to figure this out. I did drop the laptop a few days ago from about 70cm, but it is able to scan for access points, so I am assuming that the built in wireless adapter still works.

My laptop is a Lenovo W500 and the router is a Netgear Wireless ADSL Firewall Router DG834G.

On the router I configured it to use this security option:
WPA-PSK+WPA2-PSK - If selected, wireless clients may use either WPA or WPA2. This option is sometimes called "Mixed Mode".

$ uname -a
Linux lumjum 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux

The relevant lines from lspci -v are:

00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
	Subsystem: Lenovo Device 20ee
	Kernel driver in use: e1000e
	Kernel modules: e1000e

03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
	Subsystem: Intel Corporation Device 1011
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

I followed the guide here https://wiki.archlinux.org/index.php/Be … _wifi-menu

# ip link set wlp3s0 up
# ip link show wlp3s0
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1492 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:21:6a:51:c0:0e brd ff:ff:ff:ff:ff:ff
# dmesg | grep firmware
[   13.022655] iwlwifi 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
[   18.315062] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
# iw dev wlp3s0 scan | grep SSID
	SSID: s54msc35m
# wpa_supplicant -i wlp3s0 -c <(wpa_passphrase "s54msc35m" "mypsk")
Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="s54msc35m" auth_failures=1 duration=10 reason=WRONG_KEY
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="s54msc35m"
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="s54msc35m" auth_failures=2 duration=23 reason=CONN_FAILED

so that didn't work so next I continued to follow the guide and tried:

# echo 'ctrl_interface=DIR=/run/wpa_supplicant' > /etc/wpa_supplicant.conf
# wpa_passphrase "s54msc35m" "mypsk" >> /etc/wpa_supplicant.conf
# ip link set wlp3s0 up
# wpa_supplicant -D nl80211,wext -c /etc/wpa_supplicant.conf -i wlp3s0
Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="s54msc35m" auth_failures=1 duration=10 reason=WRONG_KEY
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="s54msc35m"
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="s54msc35m" auth_failures=2 duration=23 reason=WRONG_KEY
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="s54msc35m"
wlp3s0: SME: Trying to authenticate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Trying to associate with 00:18:4d:5d:ef:0a (SSID='s54msc35m' freq=2447 MHz)
wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1
wlp3s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="s54msc35m" auth_failures=3 duration=46 reason=WRONG_KEY

Both times these two lines show up

wlp3s0: Associated with 00:18:4d:5d:ef:0a
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:18:4d:5d:ef:0a reason=3 locally_generated=1

Does this mean it does connect successfully and then I do not understand why it disconnects afterwards?

Many thanks in advance! smile

Last edited by kso (2015-01-07 09:10:38)

Offline

#2 2015-01-07 09:04:33

kso
Member
Registered: 2014-11-09
Posts: 11

Re: [SOLVED] Lenovo W500 fails to connect wirelessly to home network

Hi everyone, I got it finally after some more headbashing! It turns out I can't run networkmanager along with wpa_supplicant at the same time. I don't understand why though.

Before I happened to install networkmanager along with network-manager-applet via pacman.

# pacman -S network-manager-applet
# pacman -S networkmanager
# systemctl enable NetworkManager
# systemctl start NetworkManager

So I just stopped it

# systemctl disable NetworkManager
# systemctl stop NetworkManager

and then uninstalled it

# pacman -R networkmanager
# pacman -R network-manager-applet

Then wpa_supplicant works! Thanks.

Offline

Board footer

Powered by FluxBB