staging.inyokaproject.org

HP Elitebook WLAN funktioniert nicht

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

BojeHoltz

Anmeldungsdatum:
22. Dezember 2018

Beiträge: Zähle...

Guten Abend alle zusammen,

Ich habe mir ein neues Laptop (HP Elitebook G840 G5 3ZG03ES) und nun Ubuntu 18.04 darauf gespielt. Jetzt bekomme ich allerdings blöderweise keine W-LAN Signal und ich habe zugegebenmaßen keinen großen Schimmer von Treibern und Co.

Laut Datenblatt (von der Verkäuferseite) und nbc sollte das Laptop eine Intel-Karte haben.

Intel Dual Band Wireless-AC 8265 ac/a/b/g/n ( 300/867Mbps), Wi-Fi

Ich habe dann versucht den iwlwifi-8265-22.ucode von der intel-seite nach /lib/firmware/ zu kopieren, wie es auf der intel Seite vorgeschlagen ist, ohne Erfolg.

Allerdings steht als Produkt auch eine Realtek. Heißt das, dass ich eien Realtek WLAN Karte im Laptop habe? Dementsprechend bin ich jetzt ein wenig verwirrt. Vielleicht könnt ihr mir ja weiter helfen, welche Karte ich nun in meinem Laptop habe und wie ich dementsprechend WLAN bekomme.

sudo lshw -class network

*-network UNGEFORDERT     
       Beschreibung: Network controller
       Produkt: Realtek Semiconductor Co., Ltd.
       Hersteller: Realtek Semiconductor Co., Ltd.
       Physische ID: 0
       Bus-Informationen: pci@0000:01:00.0
       Version: 00
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: pm msi pciexpress cap_list
       Konfiguration: latency=0
       Ressourcen: ioport:3000(Größe=256) memory:b6200000-b620ffff

lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d13 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b822
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808

Vielen Dank schon mal im voraus. Und entschuldigt die vermeitlich dumme Frage ☺

Viele Grüße Boje

kB Team-Icon

Supporter, Wikiteam
Avatar von kB

Anmeldungsdatum:
4. Oktober 2007

Beiträge: 7816

BojeHoltz schrieb:

[…] Laut Datenblatt (von der Verkäuferseite) und nbc sollte das Laptop eine Intel-Karte haben.

Intel Dual Band Wireless-AC 8265 ac/a/b/g/n ( 300/867Mbps), Wi-Fi

Davon ist in den Ausgaben Deiner Testbefehle aber nichts zu sehen.

[…] lspci

[…]
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b822

Dies sind die Netzwerk-Schnittstellen Deines Rechners. Das Intel-Gerät ist vermutlich die LAN-Schnittstelle und das Realtek-Gerät der WLAn-Adapter. Zur genaueren Identifizierung zeige bitte die Ausgaben dieser beiden Befehle:

lspci -nnk -s 00:1f
lspci -nnk -s 01:00

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Hallo und willkommen bei uu.de.

Installiere den Treiber von Hand

sudo apt-get update
sudo apt-get install git build-essential
git clone https://github.com/brandon-bailey/rtl8822bu.git
cd rtl8822bu
make
sudo make install
sudo modprobe 8822bu

BojeHoltz

(Themenstarter)

Anmeldungsdatum:
22. Dezember 2018

Beiträge: 6

Hallo

Danke für eure Hilfe! Okay das bedeutet ich habe eine Realtek WLAN-Adapter in dem Laptop? Da habe ich leider irgedwie schlechte Erfahrungen mit Ubuntu und Realtek WLAN gemacht.

Aber zuerstmal die Befehle: lspci -nnk -s 00:1f

00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d4e] (rev 21)
	Subsystem: Hewlett-Packard Company Device [103c:83b2]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
	Subsystem: Hewlett-Packard Company Sunrise Point-LP PMC [103c:83b2]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
	Subsystem: Hewlett-Packard Company Sunrise Point-LP HD Audio [103c:83b2]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
	Subsystem: Hewlett-Packard Company Sunrise Point-LP SMBus [103c:83b2]
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (4) I219-V [8086:15d8] (rev 21)
	Subsystem: Hewlett-Packard Company Ethernet Connection (4) I219-V [103c:83b2]
	Kernel driver in use: e1000e
	Kernel modules: e1000e

lspci -nnk -s 01:00

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]
	Subsystem: Hewlett-Packard Company Device [103c:831b]
	Kernel modules: r8822be

Update: Ich habe jetzt mal die Anleitung von prasedym versucht. Leider kam beim make folgender Fehler

make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/boje/Downloads/rtl8822bu modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-43-generic“ wird betreten
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/boje/Downloads/rtl8822bu/core/rtw_cmd.o
In file included from /home/boje/Downloads/rtl8822bu/include/osdep_service.h:41:0,
                 from /home/boje/Downloads/rtl8822bu/include/drv_types.h:32,
                 from /home/boje/Downloads/rtl8822bu/core/rtw_cmd.c:22:
/home/boje/Downloads/rtl8822bu/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/boje/Downloads/rtl8822bu/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/boje/Downloads/rtl8822bu/include/osdep_service_linux.h:258:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/boje/Downloads/rtl8822bu/include/drv_types.h:32:0,
                 from /home/boje/Downloads/rtl8822bu/core/rtw_cmd.c:22:
/home/boje/Downloads/rtl8822bu/include/osdep_service.h: In function ‘thread_enter’:
/home/boje/Downloads/rtl8822bu/include/osdep_service.h:345:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
/home/boje/Downloads/rtl8822bu/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/boje/Downloads/rtl8822bu/include/osdep_service.h:355:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending(current))
      ^~~~~~~~~~~~~~
      timer_pending
/home/boje/Downloads/rtl8822bu/include/osdep_service.h:356:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/boje/Downloads/rtl8822bu/core/rtw_cmd.o' failed
make[2]: *** [/home/boje/Downloads/rtl8822bu/core/rtw_cmd.o] Error 1
Makefile:1551: recipe for target '_module_/home/boje/Downloads/rtl8822bu' failed
make[1]: *** [_module_/home/boje/Downloads/rtl8822bu] Error 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-43-generic“ wird verlassen
Makefile:1318: recipe for target 'modules' failed
make: *** [modules] Error 2

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Lösche das Treiberverzeichnis, es gibt einen neueren Fork

git clone https://github.com/FomalhautWeisszwerg/rtl8822bu
cd rtl8822bu
gedit dkms.conf

Füge folgendes in diese Datei ein:

PACKAGE_NAME=8822bu
PACKAGE_VERSION=1.1

DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
BUILT_MODULE_NAME=8822bu

MAKE="'make' all KVER=${kernelver}"
CLEAN="'make' clean"
AUTOINSTALL="yes"

speichern, schliessen und

cd ~
sudo dkms add ./rtl8822bu
sudo dkms install 8822bu/1.1

BojeHoltz

(Themenstarter)

Anmeldungsdatum:
22. Dezember 2018

Beiträge: 6

Es kam die Meldung, dass es erfolgreich installeirt worden ist, allerdings kam auch nach einem reboot kein WLAN-Zeichen, Ein weiteres mal sudo dkms install brachte:

Module 8822bu/1.1 already installed on kernel 4.15.0-43-generic/x86_64

sudo lshw -class network

  *-network UNGEFORDERT     
       Beschreibung: Network controller
       Produkt: Realtek Semiconductor Co., Ltd.
       Hersteller: Realtek Semiconductor Co., Ltd.
       Physische ID: 0
       Bus-Informationen: pci@0000:01:00.0
       Version: 00
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: pm msi pciexpress cap_list
       Konfiguration: latency=0
       Ressourcen: ioport:3000(Größe=256) memory:b6200000-b620ffff

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Zeig mal

sudo modprobe -v 8822bu
dmesg | egrep 'key|88'

BojeHoltz

(Themenstarter)

Anmeldungsdatum:
22. Dezember 2018

Beiträge: 6

sudo modprobe -v 8822bu

insmod /lib/modules/4.15.0-43-generic/updates/dkms/8822bu.ko 
modprobe: ERROR: could not insert '8822bu': Required key not available

dmesg | egrep 'key|88'

[    0.000000] ACPI: XSDT 0x0000000097FAB188 000144 (v01 HPQOEM SLIC-BPC 00000000      01000013)
[    0.032895] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.061164] smpboot: Total of 8 processors activated (28800.00 BogoMIPS)
[    0.116988] ACPI: Executed 1 blocks of module-level executable AML code
[    0.203188] pci 0000:00:04.0: reg 0x10: [mem 0x1ff3010000-0x1ff3017fff 64bit]
[    0.229886] pci 0000:01:00.0: supports D1 D2
[    0.229889] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.308288] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.327881] system 00:02: [io  0x0680-0x069f] has been reserved
[    0.327884] system 00:02: [io  0xffff] has been reserved
[    0.327886] system 00:02: [io  0xffff] has been reserved
[    0.327889] system 00:02: [io  0xffff] has been reserved
[    1.632294] Initialise system trusted keyrings
[    1.637988] Asymmetric key parser 'x509' registered
[    1.782688] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.785588] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.788235] mousedev: PS/2 mouse device common for all mice
[    1.788807] rtc_cmos 00:03: RTC can wake from S4
[    1.813919] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    1.872693] Loaded X.509 cert 'Build time autogenerated kernel key: 6afcca3ddc80072aeae87585a7fdb65d40603f58'
[    1.873504] Loaded UEFI:db cert 'HP Inc.: HP UEFI Secure Boot DB 2017: d9c01b50cfcae89d3b05345c163aa76e5dd589e7' linked to secondary sys keyring
[    1.873543] Loaded UEFI:db cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53' linked to secondary sys keyring
[    1.873563] Loaded UEFI:db cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4' linked to secondary sys keyring
[    1.878765] Key type big_key registered
[    1.880650] Key type encrypted registered
[    1.880652] AppArmor: AppArmor sha1 policy hashing enabled
[    2.106941] rtc_cmos 00:03: setting system clock to 2018-12-23 12:01:28 UTC (1545566488)
[    3.341888] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 0
[    3.344885] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   35.006264] input: HP Wireless hotkeys as /devices/virtual/input/input14
[   35.170196] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[   35.170199] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[   35.171246] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
[   35.184131] input: HP WMI hotkeys as /devices/virtual/input/input15
[   38.836645] acpi INT3400:00: Unsupported event [0x88]
[   38.838366] pci 0000:04:00.0: [8086:15d9] type 00 class 0x088000
[   38.838809] pci 0000:03:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[   38.838888] pci 0000:03:01.0: PCI bridge to [bus 05-39]
[   38.880020] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   38.880022] usb usb3: Product: xHCI Host Controller
[   38.880025] usb usb3: Manufacturer: Linux 4.15.0-43-generic xhci-hcd
[   38.880027] usb usb3: SerialNumber: 0000:3a:00.0
[   38.884625] hub 3-0:1.0: USB hub found
[   38.884641] hub 3-0:1.0: 2 ports detected
[   38.886163] xhci_hcd 0000:3a:00.0: xHCI Host Controller
[   38.886171] xhci_hcd 0000:3a:00.0: new USB bus registered, assigned bus number 4
[   38.886177] xhci_hcd 0000:3a:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[   38.886248] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[   38.886251] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   38.886254] usb usb4: Product: xHCI Host Controller
[   38.886256] usb usb4: Manufacturer: Linux 4.15.0-43-generic xhci-hcd
[   38.886259] usb usb4: SerialNumber: 0000:3a:00.0
[   38.886446] hub 4-0:1.0: USB hub found
[   38.886481] hub 4-0:1.0: 2 ports detected
[   38.908614] acpi INT3400:00: Unsupported event [0x88]
[   38.908829] pci_bus 0000:03: Allocating resources
[   38.908874] pcieport 0000:03:01.0: bridge window [io  0x1000-0x0fff] to [bus 05-39] add_size 1000
[   38.908888] pcieport 0000:03:02.0: bridge window [io  0x1000-0x0fff] to [bus 3a] add_size 1000
[   38.908893] pcieport 0000:03:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3a] add_size 200000 add_align 100000
[   39.514388] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link becomes ready
[   59.248762] acpi INT3400:00: Unsupported event [0x88]
[   59.248804] usb usb4: USB disconnect, device number 1
[   59.788549] pci_bus 0000:03: Allocating resources
[   59.788605] pcieport 0000:03:01.0: bridge window [io  0x1000-0x0fff] to [bus 05-39] add_size 1000
[   59.788623] pcieport 0000:03:02.0: bridge window [io  0x1000-0x0fff] to [bus 3a] add_size 1000
[   59.788629] pcieport 0000:03:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3a] add_size 200000 add_align 100000
[   59.788648] pcieport 0000:02:00.0: bridge window [io  0x1000-0x0fff] to [bus 03-3a] add_size 2000
[   59.788657] pcieport 0000:02:00.0: BAR 13: no space for [io  size 0x2000]
[   59.788661] pcieport 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000]
[   59.788667] pcieport 0000:02:00.0: BAR 13: no space for [io  size 0x2000]
[   59.788671] pcieport 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000]
[   59.788685] pcieport 0000:03:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[   59.788689] pcieport 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[   59.788693] pcieport 0000:03:01.0: BAR 13: no space for [io  size 0x1000]
[   59.788697] pcieport 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000]
[   59.788701] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000]
[   59.788704] pcieport 0000:03:02.0: BAR 13: failed to assign [io  size 0x1000]
[   59.788713] pcieport 0000:03:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[   59.788717] pcieport 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[   59.788721] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000]
[   59.788725] pcieport 0000:03:02.0: BAR 13: failed to assign [io  size 0x1000]
[   59.788729] pcieport 0000:03:01.0: BAR 13: no space for [io  size 0x1000]
[   59.788732] pcieport 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000]
[   64.580728] acpi INT3400:00: Unsupported event [0x88]
[   75.368396] acpi INT3400:00: Unsupported event [0x88]
[   75.371884] pci 0000:03:01.0: enabling Extended Tags
[   75.408434] pci 0000:04:00.0: [8086:15d9] type 00 class 0x088000
[   75.436441] acpi INT3400:00: Unsupported event [0x88]
[   75.554881] hub 3-0:1.0: USB hub found
[   75.557488] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000]
[  115.632648] acpi INT3400:00: Unsupported event [0x88]
[  116.172788] pcieport 0000:02:00.0: BAR 13: no space for [io  size 0x2000]
[  120.964854] acpi INT3400:00: Unsupported event [0x88]
[11498.364549] PKCS#7 signature not signed with a trusted key
[11507.316756] PKCS#7 signature not signed with a trusted key

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

modprobe: ERROR: could not insert '8822bu': Required key not available

Der Treiber ist nicht signiert, deaktiviere SecureBoot im (U)EFI

BojeHoltz

(Themenstarter)

Anmeldungsdatum:
22. Dezember 2018

Beiträge: 6

Vielen Dank für deine Hilfe. Nach dem deaktivieren von SecureBoot hat es funktioniert ☺

Gibt es eine Möglichkeit SecureBoot zu aktivieren und diesen Treiber zu nutzen? Oder muss ich den SecureBoot nun dauerhaft ausgeschaltet lassen?

PS: Entschuldigt die späte Antwort, ich war über die Feiertage unterwegs.

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Kannst ja mal testen

Antworten |