Langsamer Netzwerkstart

Dieses Forum ist für die erweiterte Hilfe und Unterstützung vorgesehen:

Bitte stelle hier Deine Fragen zur fortgeschrittenen Benutzung von Mageia. Beispielsweise geht es hier um Fragen zum Netzwerk, automatischen Installationen, komplexer Serverkonfiguration, Kerneltuning, Aufsetzen eines Mageia-Mirrors, kurz gesagt: alle Aufgaben, die auch für erfahrene Benutzer eine Herausforderung sind.

Langsamer Netzwerkstart

Beitragvon Cube » Sep 4th, '16, 15:00

Anfangs hatte ich Zugriffsprobleme beim Netzwerk: Ich konnte zwar auf die Dateien auf meinem Windowsrechner zugreifen, aber der Windowsrechner aus hatte den Linuxrechner nicht in seiner Netzwerkübersicht. Ich habe dann im Web den Hinweis gefunden, dass IPv6-Unterstützung zu sonderbaren Effekten führen kann, und habe dann eine Datei namens /etc/sysctl.d/disable-ipv6.conf folgenden Inhalts erstellt:
Code: Alles auswählen
net.ipv6.conf.all.disable_ipv6=1

Im Mageia-Kontrollzentrum habe ich unter Ein- oder Ausschalten von Systemdiensten ip6tables und shorewall6 deaktiviert. Jetzt habe ich zwar vom Windowsrechner aus Zugriff auf die Dateien auf dem Linuxrechner, aber nach Aufbau des Desktops dauert es jetzt einige Zeit, bis die Netzwerkverbindung endlich steht. Außerdem erscheint dann eine Benachrichtigung folgenden Inhalts:
Code: Alles auswählen
NVIDIA Corportation|MCP61 ...
Netzwerk auf Schnittstelle
Ethernet (Kabel) enp0s7 ist
aktiv. IP-Adresse: 192.168.2.102...

Ich habe folgende Seite gefunden https://wiki.mageia.org/en/Troubleshooting_section_for_the_manual#About_wired_network und habe folgendes ausgeführt:

ifconfig
Code: Alles auswählen
enp0s7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.102  netmask 255.255.255.0  broadcast 192.168.2.255
        ether 70:71:bc:b8:0b:e6  txqueuelen 1000  (Ethernet)
        RX packets 6563  bytes 6580931 (6.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4364  bytes 469157 (458.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Lokale Schleife)
        RX packets 834  bytes 60385 (58.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 834  bytes 60385 (58.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lspcidrake -v
Code: Alles auswählen
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Caicos HDMI Audio [Radeon HD 6400 Series] [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:aa98 subv:1b0a subd:aa98)
Card:ATI Radeon HD 6400 and later (radeon/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [DISPLAY_VGA] (vendor:1002 device:6779 subv:1b0a subd:9097)
shpchp          : NVIDIA Corporation|MCP61 PCI Express bridge [BRIDGE_PCI] (vendor:10de device:03e9) (rev: a2)
shpchp          : NVIDIA Corporation|MCP61 PCI Express bridge [BRIDGE_PCI] (vendor:10de device:03e9) (rev: a2)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Link Control [BRIDGE_HOST] (vendor:1022 device:1204)
k10temp         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Miscellaneous Control [BRIDGE_HOST] (vendor:1022 device:1203)
amd64_edac_mod  : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor DRAM Controller [BRIDGE_HOST] (vendor:1022 device:1202)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Address Map [BRIDGE_HOST] (vendor:1022 device:1201)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor HyperTransport Configuration [BRIDGE_HOST] (vendor:1022 device:1200)
shpchp          : NVIDIA Corporation|MCP61 PCI Express bridge [BRIDGE_PCI] (vendor:10de device:03e8) (rev: a2)
sata_nv         : NVIDIA Corporation|MCP61 SATA Controller [STORAGE_IDE] (vendor:10de device:03f6 subv:103c subd:2a99) (rev: a2)
sata_nv         : NVIDIA Corporation|MCP61 SATA Controller [STORAGE_IDE] (vendor:10de device:03f6 subv:103c subd:2a99) (rev: a2)
forcedeth       : NVIDIA Corporation|MCP61 Ethernet [BRIDGE_OTHER] (vendor:10de device:03ef subv:103c subd:2a99) (rev: a2)
snd_hda_intel   : NVIDIA Corporation|MCP61 High Definition Audio [MULTIMEDIA_AUDIO_DEV] (vendor:10de device:03f0 subv:103c subd:2a99) (rev: a2)
unknown         : NVIDIA Corporation|MCP61 PCI bridge [BRIDGE_PCI] (vendor:10de device:03f3) (rev: a1)
ehci_pci        : NVIDIA Corporation|MCP61 USB 2.0 Controller [SERIAL_USB] (vendor:10de device:03f2 subv:103c subd:2a99) (rev: a3)
ohci_pci        : NVIDIA Corporation|MCP61 USB 1.1 Controller [SERIAL_USB] (vendor:10de device:03f1 subv:103c subd:2a99) (rev: a3)
unknown         : NVIDIA Corporation|MCP61 Memory Controller [MEMORY_RAM] (vendor:10de device:03f5 subv:103c subd:2a99) (rev: a2)
i2c_nforce2     : NVIDIA Corporation|MCP61 SMBus [SERIAL_SMBUS] (vendor:10de device:03eb subv:103c subd:2a99) (rev: a2)
unknown         : NVIDIA Corporation|MCP61 LPC Bridge [BRIDGE_ISA] (vendor:10de device:03e0 subv:103c subd:2a99) (rev: a2)
unknown         : NVIDIA Corporation|MCP61 Memory Controller [MEMORY_RAM] (vendor:10de device:03ea subv:103c subd:2a99) (rev: a1)
hub             : Linux 4.4.16-desktop-1.mga5 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : ATEN International Co., Ltd|CS1764A [CubiQ DVI KVMP Switch] [Hub|Unused|Full speed (or root) hub] (vendor:0557 device:8021)
usbhid          :  |USB Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:09da device:0260)
hub             : Linux 4.4.16-desktop-1.mga5 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usb_storage     : Verbatim, Ltd|Flash Drive [Mass Storage|SCSI|Bulk-Only] (vendor:18a5 device:0302)
usb_storage     : Generic|USB 2.0 Reader [Mass Storage|SCSI|Bulk-Only] (vendor:0bda device:0118)
hid_generic     :   USB Keyboard
hid_generic     :   USB Keyboard
hid_generic     :   USB Keyboard

ip route show
Code: Alles auswählen
default via 192.168.2.1 dev enp0s7  metric 10
169.254.0.0/16 dev enp0s7  scope link  metric 10
192.168.2.0/24 dev enp0s7  proto kernel  scope link  src 192.168.2.102  metric 10

journalctl -b |grep -i net
Code: Alles auswählen
Sep 04 14:22:37 Linux4Universe kernel: Initializing cgroup subsys net_cls
Sep 04 14:22:37 Linux4Universe kernel: NET: Registered protocol family 16
Sep 04 14:22:38 Linux4Universe kernel: NetLabel: Initializing
Sep 04 14:22:38 Linux4Universe kernel: NetLabel:  domain hash size = 128
Sep 04 14:22:38 Linux4Universe kernel: NetLabel:  protocols = UNLABELED CIPSOv4
Sep 04 14:22:38 Linux4Universe kernel: NetLabel:  unlabeled traffic allowed by default
Sep 04 14:22:38 Linux4Universe kernel: NET: Registered protocol family 2
Sep 04 14:22:38 Linux4Universe kernel: NET: Registered protocol family 1
Sep 04 14:22:38 Linux4Universe kernel: audit: initializing netlink subsys (disabled)
Sep 04 14:22:38 Linux4Universe kernel: microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Sep 04 14:22:39 Linux4Universe kernel: NET: Registered protocol family 10
Sep 04 14:22:39 Linux4Universe kernel: FUJITSU Extended Socket Network Device Driver - version 1.0 - Copyright (c) 2015 FUJITSU LIMITED
Sep 04 14:22:39 Linux4Universe kernel: forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
Sep 04 14:22:46 Linux4Universe acpid[927]: starting up with netlink and the input layer
Sep 04 14:22:47 Linux4Universe avahi-daemon[922]: Network interface enumeration completed.
Sep 04 14:22:49 Linux4Universe network[1024]: Bringing up loopback interface:  [  OK  ]
Sep 04 14:22:49 Linux4Universe systemd-networkd[986]: enp0s7          : gained carrier
Sep 04 14:22:49 Linux4Universe network[1024]: Bringing up interface enp0s7:  [  OK  ]
Sep 04 14:22:50 Linux4Universe kernel: NET: Registered protocol family 17
Sep 04 14:23:16 Linux4Universe network-up[1265]: Waiting for network to be up[FAILED]
Sep 04 14:23:17 Linux4Universe kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 04 14:23:22 Linux4Universe kernel: Netfilter messages via NETLINK v0.30.
Sep 04 14:23:22 Linux4Universe kernel: ctnetlink v0.93: registering with nfnetlink.
Sep 04 14:23:23 Linux4Universe net_applet[2272]: ### Program is starting ###
Sep 04 14:23:24 Linux4Universe kernel: NET: Registered protocol family 31
Sep 04 14:23:24 Linux4Universe kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 04 14:23:26 Linux4Universe kernel: bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Sep 04 14:23:26 Linux4Universe shorewall[2115]: WARNING: *** net is an EMPTY ZONE ***
Sep 04 14:23:30 Linux4Universe net_applet[2272]: failed to acquire monitor on DBus: org.freedesktop.DBus.Error.ServiceUnknown: The name org.mageia.monitoring was not provided by any .service files
Sep 04 14:23:32 Linux4Universe kernel: netfilter PSD loaded - (c) astaro AG
Sep 04 14:24:02 Linux4Universe NET[2879]: /sbin/dhclient-script : updated /etc/resolv.conf
Sep 04 14:28:07 Linux4Universe sudo[3205]: cube : TTY=pts/1 ; PWD=/home/cube ; USER=root ; COMMAND=/bin/systemctl status network
Sep 04 14:28:18 Linux4Universe sudo[3216]: cube : TTY=pts/1 ; PWD=/home/cube ; USER=root ; COMMAND=/bin/systemctl status network-l
Sep 04 14:28:29 Linux4Universe sudo[3225]: cube : TTY=pts/1 ; PWD=/home/cube ; USER=root ; COMMAND=/bin/systemctl status network -l

systemctl status network -l
Code: Alles auswählen
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: active (running) since So 2016-09-04 14:22:49 CEST; 5min ago
  Process: 1024 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/network.service
           ├─1190 /sbin/ifplugd -I -b -i enp0s7
           └─2880 dhclient -1 -q -lf /var/lib/dhclient/dhclient--enp0s7.lease -pf /var/run/dhclient-enp0s7.pid enp0s7

Sep 04 14:23:52 Linux4Universe dhclient[1254]: DHCPDISCOVER on enp0s7 to 255.255.255.255 port 67 interval 8
Sep 04 14:24:00 Linux4Universe dhclient[1254]: DHCPDISCOVER on enp0s7 to 255.255.255.255 port 67 interval 2
Sep 04 14:24:02 Linux4Universe dhclient[1254]: No DHCPOFFERS received.
Sep 04 14:24:02 Linux4Universe dhclient[1254]: Trying recorded lease 192.168.2.102
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: client: Determining IP information for enp0s7...PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: client: --- 192.168.2.1 ping statistics ---
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: client: 1 packets transmitted, 1 received, 0% packet loss, time 0ms
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: client: rtt min/avg/max/mdev = 1.489/1.489/1.489/0.000 ms
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: client:  done.
Sep 04 14:24:02 Linux4Universe ifplugd(enp0s7)[1190]: Program executed successfully.

dmesg habe ich jetzt nicht hier reinkopiert, weil das dann irrsinnig lange wird. Da stehen leider keine Uhrzeiten dabei, sodass man auch keinen passenden Auszug rauskopieren kann.

Ist erkennbar, was hier die Verzögerung auslöst? Ich verstehe auch nicht, was NVIDIA bzw. meine Grafikkarte damit zu tun hat.
Cube
 
Beiträge: 15
Registriert: Aug 26th, '16, 16:11

Re: Langsamer Netzwerkstart

Beitragvon alf » Sep 4th, '16, 15:22

Cube hat geschrieben:Ich verstehe auch nicht, was NVIDIA bzw. meine Grafikkarte damit zu tun hat.

Dein Board ist mit einem Nvidia nforce chipsatz (MCP61) bestückt, wie du unschwer aus der Ausgabe von lspci hättest erkennen können. ;)
Das Gehirn ist nicht wie Seife, es wird nicht weniger wenn es benutzt wird. -- Lisa Fitz
Benutzeravatar
alf
 
Beiträge: 2429
Registriert: Jun 1st, '11, 13:39
Wohnort: Paderborn

Re: Langsamer Netzwerkstart

Beitragvon Cube » Sep 4th, '16, 15:38

Und die Grafikkarte ist AMD/ATI. Der Windowsrechner hat NVIDIA, das verwechsle ich immer. Aber diese Benachrichtigung ist vor meinen Netzwerkbasteleien nie gekommen.
Cube
 
Beiträge: 15
Registriert: Aug 26th, '16, 16:11


Zurück zu Erweiterter Support

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron