Hallo ihr Lieben Linuxmenschen,
ich habe ein Problem mit meinem Internet. Ich habe auf einem Windows 10 Rechner Ubuntu als Dualboot installiert und schon bei der Installation hatte Ubuntu kein Internet. Die Installation fand auf einer M.2 ssd statt(ADATA Premier SP550 M.2 2280 SATA 6Gb/s TLC). Das Mainboard ist ein GA-990FX-Gaming(welches das Problem sein sollte). Der PC ist per LAN-Kabel an die FRITZ!Box 7490 angeschlossen. Andere PC's und Laptops haben und hatten bis jetzt keine Probleme eine Verbindung zum Router aufzubauen.
Ich habe alle Aufgaben zur Systemerfassung durchgeführt und werde diese nun hier auflisten. Es ist noch wie in der Überschrift anzumerken, das der PC nach dem aufwecken aus dem Bereitschaftsmodus, ganz normal und selbstständig sich ins Internet verbindet. Aus diesem Grund habe ich die Schritte einmal mit und ohne Internet gemacht, möglicherweise sind diese für euch Hilfreich.
OHNE Internet
2. Welche Systemversion wird verwendet, welche Hardware ist verbaut und wurde die Netzwerkkarte überhaupt erkannt?
Verwendete Kernelversion
$ uname -a Linux MainLinux2017 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 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 05:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller [1969:e091] (rev 10) Subsystem: Gigabyte Technology Co., Ltd Killer E220x Gigabit Ethernet Controller [1458:e000] Kernel driver in use: alx Kernel modules: alx
Abfrage für USB-Geräte:
$ lsusb Bus 003 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit Bus 003 Device 002: ID 058f:6377 Alcor Micro Corp. AU6375 4-LUN card reader Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID e0ff:0005 Bus 004 Device 002: ID 1b1c:1b0a Corsair Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 002: ID 0c45:6300 Microdia PC Microscope camera Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3. Wie ist das Netzwerk konfiguriert?
Netzwerkkonfiguration des Systems abfragen:
$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.0.53
$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 MainLinux2017 # 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
aktuelle Netzwerkkonfiguration abfragen:
$ ifconfig -a enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 40:8d:5c:b6:21:1b txqueuelen 1000 (Ethernet) RX packets 57 bytes 3420 (3.4 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Lokale Schleife) RX packets 7375 bytes 448043 (448.0 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 7375 bytes 448043 (448.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ iwconfig lo no wireless extensions. enp5s0 no wireless extensions.
$ route -n Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface
$ arp -av Einträge: 0 Ignoriert: 0 Gefunden: 0
$ ip neigh show -hier wird im Terminal nichts angezeigt-
Konfiguration des NetworkManagers
$ cat /var/lib/NetworkManager/NetworkManager.state [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true
$ cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq [ifupdown] managed=false
Zuordnung der Schnittstellen:
$ cat /etc/udev/rules.d/70-persistent-net.rules | egrep -i 'device|sub' -A3 cat: /etc/udev/rules.d/70-persistent-net.rules: Datei oder Verzeichnis nicht gefunden
4. Wie weit funktioniert die Verbindung zum Internet?
Dazu bitte ein paar Pings (siehe Ping (Datenübertragung)) absetzen.
$ ping -c 2 $(route -n | grep UG | awk {'print $2'}) Usage: ping [-aAbBdDfhLnOqrRUvV64] [-c count] [-i interval] [-I interface] [-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos] [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline] [-W timeout] [hop1 ...] destination Usage: ping -6 [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface] [-l preload] [-m mark] [-M pmtudisc_option] [-N nodeinfo_option] [-p pattern] [-Q tclass] [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline] [-W timeout] destination
$ ping -c 2 www.ubuntuusers.de ping: www.ubuntuusers.de: Der Name oder der Dienst ist nicht bekannt
$ ping -c 2 213.95.41.4 connect: Das Netzwerk ist nicht erreichbar
Und jetzt MIT Internet
2. Welche Systemversion wird verwendet, welche Hardware ist verbaut und wurde die Netzwerkkarte überhaupt erkannt?
Verwendete Kernelversion
$ uname -a Linux MainLinux2017 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 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 05:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller [1969:e091] (rev 10) Subsystem: Gigabyte Technology Co., Ltd Killer E220x Gigabit Ethernet Controller [1458:e000] Kernel driver in use: alx Kernel modules: alx
Abfrage für USB-Geräte:
$ lsusb Bus 003 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit Bus 003 Device 002: ID 058f:6377 Alcor Micro Corp. AU6375 4-LUN card reader Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID e0ff:0005 Bus 004 Device 002: ID 1b1c:1b0a Corsair Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 002: ID 0c45:6300 Microdia PC Microscope camera Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3. Wie ist das Netzwerk konfiguriert?
Netzwerkkonfiguration des Systems abfragen:
$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 search fritz.box
$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 MainLinux2017 # 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
aktuelle Netzwerkkonfiguration abfragen:
$ ifconfig -a enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.178.35 netmask 255.255.255.0 broadcast 192.168.178.255 inet6 fe80::fc21:a8c6:bbea:fec7 prefixlen 64 scopeid 0x20<link> ether 40:8d:5c:b6:21:1b txqueuelen 1000 (Ethernet) RX packets 42484 bytes 56334543 (56.3 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 27107 bytes 4151404 (4.1 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Lokale Schleife) RX packets 25555 bytes 1580165 (1.5 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 25555 bytes 1580165 (1.5 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ iwconfig enp5s0 no wireless extensions. lo no wireless extensions.
$ route -n Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 100 0 0 enp5s0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp5s0 192.168.178.0 0.0.0.0 255.255.255.0 U 100 0 0 enp5s0
$ arp -av Lemontree-PC.fritz.box (192.168.178.47) auf d0:50:99:99:d1:be [ether] auf enp5s0 fritz.box (192.168.178.1) auf c8:0e:14:62:17:c6 [ether] auf enp5s0 Einträge: 2 Ignoriert: 0 Gefunden: 2
$ ip neigh show 192.168.178.47 dev enp5s0 lladdr d0:50:99:99:d1:be STALE 192.168.178.1 dev enp5s0 lladdr c8:0e:14:62:17:c6 STALE
Konfiguration des NetworkManagers
$ cat /var/lib/NetworkManager/NetworkManager.state [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true
$ cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq [ifupdown] managed=false
Zuordnung der Schnittstellen:
$ cat /etc/udev/rules.d/70-persistent-net.rules | egrep -i 'device|sub' -A3 cat: /etc/udev/rules.d/70-persistent-net.rules: Datei oder Verzeichnis nicht gefunden
4. Wie weit funktioniert die Verbindung zum Internet?
Dazu bitte ein paar Pings (siehe Ping (Datenübertragung)) absetzen.
$ ping -c 2 $(route -n | grep UG | awk {'print $2'}) PING 192.168.178.1 (192.168.178.1) 56(84) bytes of data. 64 bytes from 192.168.178.1: icmp_seq=1 ttl=64 time=0.335 ms 64 bytes from 192.168.178.1: icmp_seq=2 ttl=64 time=0.283 ms --- 192.168.178.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1020ms rtt min/avg/max/mdev = 0.283/0.309/0.335/0.026 ms
$ ping -c 2 www.ubuntuusers.de PING ubuntuusers.de (213.95.41.4) 56(84) bytes of data. 64 bytes from ha.ubuntu-eu.org (213.95.41.4): icmp_seq=1 ttl=56 time=34.3 ms 64 bytes from ha.ubuntu-eu.org (213.95.41.4): icmp_seq=2 ttl=56 time=33.9 ms --- ubuntuusers.de ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 33.960/34.137/34.315/0.256 ms
$ ping -c 2 213.95.41.4 PING 213.95.41.4 (213.95.41.4) 56(84) bytes of data. 64 bytes from 213.95.41.4: icmp_seq=1 ttl=56 time=34.0 ms 64 bytes from 213.95.41.4: icmp_seq=2 ttl=56 time=34.0 ms --- 213.95.41.4 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 34.030/34.042/34.054/0.012 ms
Ich hoffe diese Angaben tragen zum lösen des Problems bei. LG KammLeule
Bearbeitet von sebix:
Überflüssige, störende Hervorhebungen entfernt.