Hallo, ich habe folgendes Problem: Auf einem alten PC, Pentium 4 3,4GHz mit 2GB Ram habe ich Ubuntu 16.04 installiert und mittels WLan ins Internet gebracht. Anschliessend habe ich VirtualBox installiert und Ubuntu 16.04 Server dort gestartet. Auch das geht. Die Virtualbox habe ich mittels noip.com von aussen erreichbar gemacht, so das der Virtuelle Server als Mailserver, Jabber, Minidlna und Webserver fungiert. Soweit so gut.
Nun verliert er aber in unregelmässigen Abständen die Internetverbindung wodurch der Virtuelle Server auch nicht mehr erreichbar ist.
Zunächst war ein D-Link Wlan Adapter älterer Bauart angeschlossen. Ich habe den Fehler hier vermutet, und daher testweite ein Powerlan genutzt um die Verbindung zur Fritzbox herzustellen. Sowohl bei WLan als auch Powerlan kommt es sporadisch zu abbrüchen. Bei Wlan genügt es den USB Stick kurz zu entfernen und dann geht es wieder. Bei Powerlan muss ich den PC neustarten.
Über Tipps würde ich mich sehr freuen. Meist geht die Verbindung verloren wenn ich grade unterwegs bin und dann bin ich weder per Mail noch Jabber erreichbar. Sehr ärgerlich.
Ich gebe nochmal ein paar Logs und Infos mit auf dem Weg.
lsusb Ausgabe
root@serverhost:/var/log# lsusb Bus 001 Device 009: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] Bus 001 Device 003: ID 07cc:0501 Carry Computer Eng., Co., Ltd Mass Storage Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 005: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory Bus 005 Device 002: ID 89e5:101b Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 058f:9254 Alcor Micro Corp. Hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub root@serverhost:/var/log#
lspci ausgabe
root@serverhost:/var/log# lspci 00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04) 00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04) 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) 00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8050 PCI-E ASF Gigabit Ethernet Controller (rev 17) root@serverhost:/var/log#
Syslog während des Verbindungsverlustes
Jun 27 17:08:43 serverhost /usr/lib/snapd/snapd[771]: snapmgr.go:422: No snaps to auto-refresh found Jun 27 17:08:43 serverhost snapd[771]: 2018/06/27 17:08:43.438945 snapmgr.go:422: No snaps to auto-refresh found Jun 27 17:13:43 serverhost /usr/lib/snapd/snapd[771]: snapmgr.go:496: DEBUG: Next refresh scheduled for 2018-06-28 02:58:24.122751309 +0200 CEST. Jun 27 17:17:01 serverhost CRON[5525]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 18:17:01 serverhost CRON[5662]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 19:17:01 serverhost CRON[5802]: (root) CMD ( test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond) Jun 27 19:17:01 serverhost CRON[5804]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 20:17:01 serverhost CRON[5940]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 21:12:56 serverhost systemd[1]: Started CUPS Scheduler. Jun 27 21:17:01 serverhost CRON[6082]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 21:29:13 serverhost systemd[1]: Starting Cleanup of Temporary Directories... Jun 27 21:29:13 serverhost systemd-tmpfiles[6115]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring. Jun 27 21:29:13 serverhost systemd[1]: Started Cleanup of Temporary Directories. Jun 27 22:14:01 serverhost org.gnome.evolution.dataserver.Sources5[1168]: ** (evolution-source-registry:1588): WARNING **: secret_service_search_sync : must specify at least one attribute to match Jun 27 22:17:01 serverhost CRON[6235]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 27 23:17:01 serverhost CRON[6374]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 28 00:17:01 serverhost CRON[6520]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 28 00:40:29 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com). Jun 28 00:40:30 serverhost systemd-timesyncd[562]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com). Jun 28 00:55:41 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com). Jun 28 00:55:51 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com). Jun 28 00:56:01 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com). Jun 28 01:02:48 serverhost systemd-timesyncd[562]: Synchronized to time server 91.189.91.157:123 (ntp.ubuntu.com). Jun 28 01:14:43 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com). Jun 28 01:14:54 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com). Jun 28 01:15:04 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com). Jun 28 01:15:14 serverhost systemd-timesyncd[562]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com). Jun 28 01:17:01 serverhost CRON[6657]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 28 01:32:01 serverhost systemd[1]: Starting Daily apt download activities... Jun 28 01:32:01 serverhost systemd[1]: Started Daily apt download activities. Jun 28 02:17:01 serverhost CRON[6846]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 28 02:58:53 serverhost /usr/lib/snapd/snapd[771]: retry.go:81: DEBUG: Retrying because of: net/http: request canceled while waiting for connectio n (Client.Timeout exceeded while awaiting headers) Jun 28 02:58:53 serverhost /usr/lib/snapd/snapd[771]: retry.go:49: DEBUG: Retrying https://search.apps.ubuntu.com/api/v1/snaps/metadata, attempt 2, elapsed time=10.008928741s Jun 28 02:59:03 serverhost /usr/lib/snapd/snapd[771]: retry.go:81: DEBUG: Retrying because of: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Jun 28 02:59:03 serverhost /usr/lib/snapd/snapd[771]: retry.go:49: DEBUG: Retrying https://search.apps.ubuntu.com/api/v1/snaps/metadata, attempt 3, elapsed time=20.009683921s