Hallo community ☺,
ich bin blutiger Linux-Anfänger und hab vor kurzem Ubuntu 18.04 auf meinem ThinkPad L480 installiert.
Leider ist von Anfang an die Wlan-Verbindung damit instabil, d.h. ich kann zwar eine Internetverbindung aufbauen und nutzen, jedoch bricht diese oft ab. Meist wird die Verbindung von alleine wieder hergestellt. Teilweise bricht sie dann sogar innerhalb von Sekunden wieder ab, sodass sich das Wlan eine Zeit lang nur noch abwechselnd verbindet und trennt, aber nicht anständig nutzbar ist. Mein Einduck ist, dass das gerade bei intensiver Internetnutzung vorkommt.
Dass das Problem am Router liegt, halte ich für unwahrscheinlich, da dieser ziemlich neu ist und ich das Problem mit anderen Geräten nicht habe.
Vielen Dank schonmal im Vorraus für eure Hilfe!
Gruß, Maxi
PS Hier noch einige Angaben aus der Anleitung:
2. Welche Systemversion wird verwendet, welche Hardware ist verbaut und wurde die Netzwerkkarte überhaupt erkannt?
Verwendete Kernelversion:
uname -a Linux maximilian-ThinkPad 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Abfrage für PCI und PCMCIA-Karten (Hinweise zu den Befehlen z.B. unter WLAN):
lspci -nnk | grep -i net -A2 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (4) I219-V [8086:15d8] (rev 21) Subsystem: Lenovo Ethernet Connection (4) I219-V [17aa:506a] Kernel driver in use: e1000e Kernel modules: e1000e -- 06:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78) Subsystem: Intel Corporation Dual Band Wireless-AC 8265 [8086:0010] Kernel driver in use: iwlwifi
3. Wie ist das Netzwerk konfiguriert?
Aktuelle Netzwerkkonfiguration abfragen:
cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether e8:6a:64:6a:f0:54 brd ff:ff:ff:ff:ff:ff 9: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 98:3b:8f:a2:fa:cb brd ff:ff:ff:ff:ff:ff
ip -4 addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 9: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 192.168.2.112/24 brd 192.168.2.255 scope global dynamic noprefixroute wlp6s0 valid_lft 1811782sec preferred_lft 1811782sec
ip -4 route default via 192.168.2.1 dev wlp6s0 proto dhcp metric 600 169.254.0.0/16 dev wlp6s0 scope link metric 1000 192.168.2.0/24 dev wlp6s0 proto kernel scope link src 192.168.2.112 metric 600
ip -4 neigh 192.168.2.103 dev wlp6s0 lladdr 84:38:38:e8:1b:ba STALE 192.168.2.100 dev wlp6s0 lladdr 74:c2:46:74:77:ed STALE 192.168.2.1 dev wlp6s0 lladdr 94:6a:b0:20:82:8a STALE 192.168.2.109 dev wlp6s0 lladdr 54:13:79:1c:c5:69 STALE
Nur wenn es sich um ein Problem mit WLAN handelt, zusätzlich:
iwconfig lo no wireless extensions. enp0s31f6 no wireless extensions. wlp6s0 IEEE 802.11 ESSID:"WLAN-400641" Mode:Managed Frequency:2.412 GHz Access Point: 94:6A:B0:20:82:93 Bit Rate=144.4 Mb/s Tx-Power=17 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=53/70 Signal level=-57 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:13 Invalid misc:2819 Missed beacon:0
Konfiguration des NetworkManagers:
nmcli general ; nmcli device ; nmcli connection STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full enabled enabled enabled enabled DEVICE TYPE STATE CONNECTION wlp6s0 wifi connected WLAN-400641 enp0s31f6 ethernet unavailable -- lo loopback unmanaged -- NAME UUID TYPE DEVICE WLAN-400641 c4d80871-937d-48f4-99fc-0daec80c1532 wifi wlp6s0 Wired connection 1 638b99f3-252f-3542-bfd0-a92bf65f36e3 ethernet --
DNS-Namensauflösung abfragen:
ls -l /etc/resolv.conf lrwxrwxrwx 1 root root 39 Feb 26 09:26 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "systemd-resolve --status" to see details about the uplink DNS servers # currently in use. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 search speedport.ip
cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 maximilian-ThinkPad # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
sudo ss -pan 'sport = 53' [sudo] password for maximilian: Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=582,fd=12)) tcp LISTEN 0 128 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=582,fd=13))
5. Ist WLAN eingeschaltet und welche Treibermodule werden verwendet?
Zustand der Schalter (rfkill):
rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: yes Hard blocked: no 10: phy6: Wireless LAN Soft blocked: no Hard blocked: no 11: hci0: Bluetooth Soft blocked: yes Hard blocked: no
Abfrage der geladenen Kernelmodule (Treiber):
lsmod Module Size Used by tcp_diag 16384 0 udp_diag 16384 0 inet_diag 24576 2 tcp_diag,udp_diag unix_diag 16384 0 af_packet_diag 16384 0 netlink_diag 16384 0 hid_generic 16384 0 usbhid 49152 0 hid 122880 2 usbhid,hid_generic rfcomm 77824 4 ccm 20480 9 bnep 20480 2 snd_hda_codec_hdmi 49152 1 snd_hda_codec_realtek 106496 1 snd_hda_codec_generic 73728 1 snd_hda_codec_realtek nls_iso8859_1 16384 1 arc4 16384 2 iwlmvm 376832 0 intel_rapl 20480 0 x86_pkg_temp_thermal 16384 0 intel_powerclamp 16384 0 mac80211 802816 1 iwlmvm coretemp 16384 0 kvm 626688 0 snd_soc_skl 102400 0 snd_soc_skl_ipc 61440 1 snd_soc_skl irqbypass 16384 1 kvm snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc snd_hda_ext_core 24576 1 snd_soc_skl snd_soc_acpi 16384 1 snd_soc_skl ghash_clmulni_intel 16384 0 snd_soc_core 229376 1 snd_soc_skl uvcvideo 94208 0 pcbc 16384 0 snd_compress 20480 1 snd_soc_core ac97_bus 16384 1 snd_soc_core btusb 45056 0 videobuf2_vmalloc 16384 1 uvcvideo snd_pcm_dmaengine 16384 1 snd_soc_core videobuf2_memops 16384 1 videobuf2_vmalloc snd_hda_intel 40960 8 btrtl 16384 1 btusb btbcm 16384 1 btusb snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek btintel 20480 1 btusb snd_seq_midi 16384 0 aesni_intel 200704 6 snd_seq_midi_event 16384 1 snd_seq_midi bluetooth 552960 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm iwlwifi 299008 1 iwlmvm aes_x86_64 20480 1 aesni_intel crypto_simd 16384 1 aesni_intel snd_rawmidi 32768 1 snd_seq_midi cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel glue_helper 16384 1 aesni_intel videobuf2_v4l2 24576 1 uvcvideo snd_hda_core 81920 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl videobuf2_common 40960 2 videobuf2_v4l2,uvcvideo snd_hwdep 20480 1 snd_hda_codec thinkpad_acpi 94208 1 videodev 188416 3 videobuf2_v4l2,uvcvideo,videobuf2_common joydev 24576 0 input_leds 16384 0 intel_cstate 20480 0 media 40960 2 videodev,uvcvideo cfg80211 667648 3 iwlmvm,iwlwifi,mac80211 intel_rapl_perf 16384 0 serio_raw 16384 0 intel_wmi_thunderbolt 16384 0 wmi_bmof 16384 0 snd_pcm 98304 9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine nvram 16384 1 thinkpad_acpi ecdh_generic 24576 1 bluetooth ucsi_acpi 16384 0 snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event typec_ucsi 32768 1 ucsi_acpi typec 32768 1 typec_ucsi snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 32768 2 snd_seq,snd_pcm snd 81920 29 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi int3403_thermal 16384 0 soundcore 16384 1 snd idma64 20480 0 virt_dma 16384 1 idma64 mei_me 40960 0 acpi_pad 180224 0 processor_thermal_device 16384 0 mei 98304 1 mei_me int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device mac_hid 16384 0 intel_lpss_pci 20480 0 intel_soc_dts_iosf 16384 1 processor_thermal_device intel_pch_thermal 16384 0 int3400_thermal 16384 0 intel_lpss 16384 1 intel_lpss_pci acpi_thermal_rel 16384 1 int3400_thermal sch_fq_codel 20480 6 parport_pc 36864 0 ppdev 20480 0 lp 20480 0 parport 49152 3 parport_pc,lp,ppdev ip_tables 28672 0 x_tables 40960 1 ip_tables autofs4 40960 2 i915 1740800 29 i2c_algo_bit 16384 1 i915 drm_kms_helper 172032 1 i915 syscopyarea 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper nvme 36864 2 sysimgblt 16384 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper sdhci_pci 36864 0 e1000e 249856 0 psmouse 151552 0 drm 458752 17 drm_kms_helper,i915 cqhci 24576 1 sdhci_pci sdhci 49152 1 sdhci_pci nvme_core 77824 4 nvme wmi 24576 2 intel_wmi_thunderbolt,wmi_bmof video 45056 2 thinkpad_acpi,i915
6. Eigenschaften der WLAN-Karte und Empfang
Abfrage der unterstützten Funkkanäle:
iwlist chan lo no frequency information. enp0s31f6 no frequency information. wlp6s0 32 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 12 : 2.467 GHz Channel 13 : 2.472 GHz Channel 36 : 5.18 GHz Channel 40 : 5.2 GHz Channel 44 : 5.22 GHz Channel 48 : 5.24 GHz Channel 52 : 5.26 GHz Channel 56 : 5.28 GHz Channel 60 : 5.3 GHz Channel 64 : 5.32 GHz Channel 100 : 5.5 GHz Channel 104 : 5.52 GHz Channel 108 : 5.54 GHz Channel 112 : 5.56 GHz Channel 116 : 5.58 GHz Channel 120 : 5.6 GHz Channel 124 : 5.62 GHz Channel 128 : 5.64 GHz Channel 132 : 5.66 GHz Channel 136 : 5.68 GHz Channel 140 : 5.7 GHz Current Frequency:2.432 GHz (Channel 5)
Manueller Scan der WLAN-Umgebung:
sudo iwlist scan lo Interface doesn't support scanning. enp0s31f6 Interface doesn't support scanning. wlp6s0 Interface doesn't support scanning : Device or resource busy