staging.inyokaproject.org

kein WLAN auf Lenovo X300 / iwl4965 / Ubuntu 16.04, 18.04

Status: Gelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

mzinner

Anmeldungsdatum:
29. Juni 2018

Beiträge: Zähle...

Hallo,

bekomme leider das WLAN auf meinem Lenovo Thinkpad X300 nicht zum Laufen. Auf dem Notebook sind parallel ein Windows XP und ein Ubuntu 18.04 (vorher auch 16.04, vergleichbarer Fehler) installiert.

WLAN-Chip ist ein Intel Pro Wireless 4965 AGN. Auf Windows funktioniert das WLAN problemlos.

Sowohl unter Windows als auch unter Ubuntu wird der WLAN-Chip anscheinend doppelt erkannt (PCI-Busse 2 und 3)??.

Windows zeigt zwei Eintraege im Geraetemanager, stoert sich aber anscheinend nicht dran. Unter Ubuntu ist der eine der beiden Eintraege immer 'hard blocked', unabhaengig von allen Spielereien mit rfkill und dem Hardware-WLAN-Schalter.

Letztlich ist der Effekt, dass (jetzt unter Ubuntu 18.04) immer "Wifi is OFF" angezeigt wird, der Button zum Wifi-Einschalten aber keinen Effekt hat.

Hier alles, was ich an Diagnose zusammenstellen konnte:

uname -a

1
Linux x300mzi 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sudo apt-get install wireless-tools wpasupplicant pcmciautils

1
2
3
4
5
6
7
8
[sudo] password for mzinner: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wireless-tools is already the newest version (30~pre9-12ubuntu1).
pcmciautils is already the newest version (018-8build1).
wpasupplicant is already the newest version (2:2.6-15ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

iwconfig

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
...
wls2      IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
wls3      IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lspci -nnk

1
2
3
4
5
6
7
8
02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4230] (rev 61)
	Subsystem: Intel Corporation Lenovo ThinkPad T61 [8086:1111]
	Kernel driver in use: iwl4965
	Kernel modules: iwl4965
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4230] (rev 61)
	Subsystem: Intel Corporation Lenovo ThinkPad T61 [8086:1111]
	Kernel driver in use: iwl4965
	Kernel modules: iwl4965

lsmod | grep iwl

1
2
3
4
iwl4965               114688  0
iwlegacy               98304  1 iwl4965
mac80211              778240  2 iwl4965,iwlegacy
cfg80211              622592  3 mac80211,iwl4965,iwlegacy

modinfo iwl4965

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
filename:       /lib/modules/4.15.0-20-generic/kernel/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
firmware:       iwlwifi-4965-2.ucode
alias:          iwl4965
license:        GPL
author:         Copyright(c) 2003-2011 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    Intel(R) Wireless WiFi 4965 driver for Linux
srcversion:     CBCB0A4A4F29F6C53148E97
alias:          pci:v00008086d00004230sv*sd*bc*sc*i*
alias:          pci:v00008086d00004229sv*sd*bc*sc*i*
depends:        iwlegacy,mac80211,cfg80211
retpoline:      Y
intree:         Y
name:           iwl4965
vermagic:       4.15.0-20-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:           queues_num:number of hw queues. (int)
parm:           11n_disable:disable 11n functionality (int)
parm:           amsdu_size_8K:enable 8K amsdu size (default 0 [disabled]) (int)
parm:           fw_restart:restart firmware in case of error (int)

iwlist scan

1
2
3
4
5
6
7
8
wls2      Failed to read scan data : Network is down

wls3      Failed to read scan data : Network is down

enp0s25   Interface doesn't support scanning.

lo        Interface doesn't support scanning.

playing with rfkill

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
mzinner@x300mzi:~$ # WLAN hardware key set to ON
mzinner@x300mzi:~$ rfkill list | grep -A 2 phy
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
3: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
mzinner@x300mzi:~$ # WLAN hardware key set to OFF
mzinner@x300mzi:~$ rfkill list | grep -A 2 phy
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
3: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
mzinner@x300mzi:~$ # WLAN hardware key set to ON
mzinner@x300mzi:~$ rfkill list | grep -A 2 phy
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
3: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
mzinner@x300mzi:~$ rfkill block all
mzinner@x300mzi:~$ rfkill list | grep -A 2 phy
2: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes
3: phy1: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
mzinner@x300mzi:~$ rfkill unblock all
mzinner@x300mzi:~$ rfkill list | grep -A 2 phy
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
3: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no

mzinner@x300mzi:~$ dmesg | grep iwl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
[    7.177327] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[    7.177330] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[    7.177422] iwl4965 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    7.177674] iwl4965 0000:02:00.0: Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
[    7.220490] iwl4965 0000:02:00.0: device EEPROM VER=0x36, CALIB=0x5
[    8.249593] iwl4965 0000:02:00.0: Tunable channels: 13 802.11bg, 19 802.11a channels
[    8.260593] iwl4965 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    8.260844] iwl4965 0000:03:00.0: Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
[    8.303972] iwl4965 0000:03:00.0: device EEPROM VER=0x36, CALIB=0x5
[    8.304940] iwl4965 0000:02:00.0: loaded firmware version 228.61.2.24
[    8.305238] iwl4965 0000:03:00.0: Tunable channels: 13 802.11bg, 19 802.11a channels
[    8.306011] iwl4965 0000:03:00.0: loaded firmware version 228.61.2.24
[    8.551027] ieee80211 phy1: Selected rate control algorithm 'iwl-4965-rs'
[    8.567878] ieee80211 phy0: Selected rate control algorithm 'iwl-4965-rs'
[   10.331524] iwl4965 0000:02:00.0 wls2: renamed from wlan1
[   10.408177] iwl4965 0000:03:00.0 wls3: renamed from wlan0
[ 1721.945548] iwl4965 0000:03:00.0: RF_KILL bit toggled to disable radio.
[ 1738.135496] iwl4965 0000:03:00.0: RF_KILL bit toggled to enable radio.
[ 1738.135522] iwl4965 0000:03:00.0: On demand firmware reload

mzinner@x300mzi:~$ modprobe -c | grep 4965

1
2
3
alias iwl4965 iwl4965
alias pci:v00008086d00004229sv*sd*bc*sc*i* iwl4965
alias pci:v00008086d00004230sv*sd*bc*sc*i* iwl4965

Vielen Dank fuer jede Hilfe!

Bilder

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Hallo,,
es sind eigenartigerweise tatsächlich zwei WLAN-Karten eingebaut. Möglich, dass aber nur bei dem einen Slot der Schalter/Hardblock auf den zuständigen Anschlusspin Nr. 20 beschaltet wurde. Baue die Karten jeweils einzeln aus und teste. Auf der Geräteunterseite befindet sich eine entsprechende Serviceklappe. Vorsicht mit den Antennenanschlüssen! Der Slot mit einem Schwarzen ,weißen und grauem Antennenkabel ist normalerweise richtig (Akku-Pack unten → rechter Slot oberhalb der RAM-Bausteine).

Normalerweise hat das Gerät auch nur einen Antennensatz für WLAN, der zweite PCIe-Slot sollte für für ein GSM-Modem mit einer anderen Antenne vorbereitet sein. Rein mechanisch/elektrisch passt auch eine WLAN-Karte, es dürfte aber nur eine der Karten vernünftig funktionieren.

mzinner

(Themenstarter)

Anmeldungsdatum:
29. Juni 2018

Beiträge: 2

Unglaublich, da waer ich nie drauf gekommen!

Unter der Serviceklappe sind zwei Slots, war nur einer belegt (und die Karte passt auch nur in den einen). Aber mir kam ein Verdacht, hab die Tastatur rausgenommen, und tatsaechlich war da (wo eigentlich eine UMTS-Karte reingehoert) ein zweiter 4965 verbaut!

Und dann fiel mir ein, ich hab vor drei Jahren das Mainboard gewechselt, wahrscheinlich hab ich da etwas verbockt und statt der UMTS-Karte die zweite WLAN-Karte eingebaut. Weil das unter XP gut lief, ist mir das nie aufgefallen.

Zweite WLAN-Karte rausgenommen, gebootet, WLAN funktioniert sofort!

Super! Vielen Dank!

Antworten |