• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] failed services: Network in Runlevel 5

MiPl

Hacker
Hi,

seit kurzem taucht bei mir eine Fehlermeldung vom System (10.2) auf mit dem Wortlaut:

failed services in Runlevel 5: Network.

Bislang habe ich keine Auswirkungen feststellen können, aber dennoch mache ich mir darüber Gedanken. Ich habe mal in der /var/log/boot.msg gesucht und folgendes gefunden:

Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8
done<notice>startproc: execve (/opt/kde3/bin/kdm) [ /opt/kde3/bin/kdm ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 INIT_VERSION=sysvinit-2.86 KDEROOTHOME=/root/.kdm REDIRECT=/dev/tty1 COLUMNS=80 PATH=/bin:/sbin:/usr/bin:/usr/sbin RUNLEVEL=5 SPLASHCFG= PWD=/ LANG=de_DE.UTF-8 PREVLEVEL=N LINES=25 QT_SYSTEM_DIR=/usr/share/desktop-data SHLVL=2 HOME=/ XCURSOR_THEME=crystalwhite WINDOWMANAGER=/usr/bin/kde SPLASH=no splash=silent ROOTFS_BLKDEV=/dev/hda5 _=/sbin/startproc DAEMON=/opt/kde3/bin/kdm ]
eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
eth0 configuration: eth-id-00:a0:cc:ce:cb:47
eth0 (DHCP) . . . . . no IP address yet... backgrounding.
waiting
Waiting for mandatory devices: eth-id-00:a0:cc:ce:cb:47 __NSC__
10 9 8 6 <notice>checkproc: /opt/kde3/bin/kdm 3350
4 3 1 0
eth0 device: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
eth0 configuration: eth-id-00:a0:cc:ce:cb:47
eth0 dhcpcd is still waiting for data
waiting
eth0 interface could not be set up until now
failed dsl0
<notice>pidofproc: smpppd-ifcfg 4078
done modem0
modem0 Startmode is 'manual'
skippedSetting up service network . . . . . . . . . . . . . . . .failed
[ OK ]


Kann man damit was anfangen? Wenn ich es so richtig interpretiere, scheitert die Sache an der Ethernet-Schnittstelle, doch da habe ich (meiner Meinung nach) nichts geändert.

Danke für die Hilfe.

Michael
 

framp

Moderator
Teammitglied
Da wird ein eth0 gesucht was nicht existiert.

Kannst Du mal die Ausgaben von
Code:
ls /etc/sysconfig/network/ifcfg*
und
Code:
ifconfig
posten?
 
OP
M

MiPl

Hacker
Hi, habe derzeit viel zu tun, deshalb erst jetzt die Antwort:

ls /etc/sysconfig/network/ifcfg*
/etc/sysconfig/network/ifcfg-dsl0 /etc/sysconfig/network/ifcfg-modem0
/etc/sysconfig/network/ifcfg-eth-id-00:a0:cc:ce:cb:47 /etc/sysconfig/network/ifcfg.template
/etc/sysconfig/network/ifcfg-lo

und

# ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:A0:CC:CE:CB:47
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Basisadresse:0xd000

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp0 Protokoll:punkt-zu-Punkt Verbindung
inet Adresse:77.208.155.130 P-z-P:10.64.64.64 Maske:255.255.255.255
UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4261 errors:0 dropped:0 overruns:0 frame:0
TX packets:2460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:3
RX bytes:5724773 (5.4 Mb) TX bytes:156567 (152.8 Kb)

vmnet1 Protokoll:Ethernet Hardware Adresse 00:50:56:C0:00:01
inet Adresse:172.16.24.1 Bcast:172.16.24.255 Maske:255.255.255.0
inet6 Adresse: fe80::250:56ff:fec0:1/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vmnet8 Protokoll:Ethernet Hardware Adresse 00:50:56:C0:00:08
inet Adresse:192.168.186.1 Bcast:192.168.186.255 Maske:255.255.255.0
inet6 Adresse: fe80::250:56ff:fec0:8/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Gruß Michael
 

spoensche

Moderator
Teammitglied
Was steht den in der /etc/sysconfig/nnetwork/ifcfg-eth-id...? Sicher, das du die Karte konfiguriert hast?
 
OP
M

MiPl

Hacker
Hallo,

dort steht drin:

BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='20'
IPADDR=''
MTU=''
NAME='Uniwill VT6102 [Rhine-II]'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='rBUF.rcMfYz902l8'
USERCONTROL='no'
_nm_name='bus-pci-0000:00:12.0'

Gruß Michael
 

spoensche

Moderator
Teammitglied
Kommentiere die Zeile mit
Code:
IFPLUGD_PRIORITY='20'
mal aus (eine # vor die Zeile setzen. Dann mal das Netzwerk neustarten.
 

spoensche

Moderator
Teammitglied
Was steht in den Logfiles? Laut dem Posting der Ausgabe die framp von dir gefordert hatte ist ifcfg-eth-... ein Symlink auf ifcfg.template.

Starte mal Yast und konfiguriere die Karte neu.
 
OP
M

MiPl

Hacker
Hi, und hier das Logfile:

Code:
- collectNWData.sh V0.6.1.8-1a (Rev: 1.143)
- --- Welcher Netzwerkverbindungtyp soll getestet werden?
- --- (1) Kabelgebundene Verbindung
- --- Welche Netzwerktopologie liegt vor?
- --- (1) DSL modem <---> LinuxClient
- --- Auf welchem Rechner wird das Script ausgeführt?
- --- (1) LinuxClient
- !!! CND0180I: Das System kann die externe IP 195.135.220.3 nicht pingen
- !!! CND0140E: Kein default gateway auf dem System definiert
- !!! CND0230W: IPV6 ist eingeschaltet
- !!! CND0310W: Klassische Netzwerkkonfiguration mit ifup wurde entdeckt. Die Konfiguration mit knetworkmanager ist wesentlich einfacher
- --- Netzwerkkonfigurationsinformationen werden in Datei collectNWData.txt geschrieben ...
- --- 1 Fehler gefunden
- --- 2 Warnungen gefunden
- --- Gehe zu http://www.linux-tips-and-tricks.de/CND um detailiertere Hinweise zu den Fehlermeldungen/Warnungen zu bekommen und wie die Fehler beseitigt werden könnenF
- 
- ==================================================================================================================
- ==================================================================================================================
- *** uname -a
- Linux linux-nud7 2.6.18.8-0.13-default #1 SMP Thu Nov 6 13:35:13 UTC 2008 i686 athlon i386 GNU/Linux
- ==================================================================================================================
- *** cat /etc/*-release
- LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32"
- openSUSE 10.2 (i586)
- VERSION = 10.2
- ==================================================================================================================
- *** cat /etc/resolv | grep -vi "search"
- nameserver %%%.%%.%%.1
- nameserver %%%.%%.%%.%2
- ==================================================================================================================
- *** cat /etc/hosts
- 127.0.0.1       localhost
- 172.16.24.129   MSHEIMNETZ VM-Ware
- 192.168.0.1     linux-nud7.site linux-nud7
- ==================================================================================================================
- *** cat /etc/HOSTNAME
- linux-nud7.site
- ==================================================================================================================
- *** route
- Kernel IP Routentabelle
- Ziel            Router          Genmask         Flags Metric Ref    Use Iface
- 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
- 192.168.186.0   0.0.0.0         255.255.255.0   U     0      0        0 vmnet8
- 172.16.24.0     0.0.0.0         255.255.255.0   U     0      0        0 vmnet1
- 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
- 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
- ==================================================================================================================
- *** ifconfig
- eth0      Protokoll:Ethernet  Hardware Adresse ##:##:##:##:##:#1  
-           inet Adresse:192.168.0.1  Bcast:192.168.0.255  Maske:255.255.255.0
-           UP BROADCAST MULTICAST  MTU:1500  Metric:1
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:1000 
-           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
-           Interrupt:9 Basisadresse:0xd000 
- lo        Protokoll:Lokale Schleife  
-           inet Adresse:127.0.0.1  Maske:255.0.0.0
-           inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
-           UP LOOPBACK RUNNING  MTU:16436  Metric:1
-           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:0 
-           RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)
- vmnet1    Protokoll:Ethernet  Hardware Adresse ##:##:##:##:##:#2  
-           inet Adresse:172.16.24.1  Bcast:172.16.24.255  Maske:255.255.255.0
-           inet6 Adresse: fe80::250:56ff:fec0:1/64 Gültigkeitsbereich:Verbindung
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:1000 
-           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- vmnet8    Protokoll:Ethernet  Hardware Adresse ##:##:##:##:##:#3  
-           inet Adresse:192.168.186.1  Bcast:192.168.186.255  Maske:255.255.255.0
-           inet6 Adresse: fe80::250:56ff:fec0:8/64 Gültigkeitsbereich:Verbindung
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:1000 
-           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- ==================================================================================================================
- *** ping tests
- connect: Network is unreachable
- Ping of 195.135.220.3 failed
- ping: unknown host www.suse.de
- Ping of www.suse.de failed
- ==================================================================================================================
- *** dhcpcd-test
- eth0: No DHCP server detected
- ==================================================================================================================
- *** lspci
- 00:12.0 Ethernet controller [Class 0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [1106:3065] (rev 51)
- ==================================================================================================================
- *** lsusb
- Bus 003 Device 002: ID 0af0:5000 Option UMTS Card
- Bus 003 Device 001: ID 0000:0000  
- Bus 002 Device 002: ID 05dc:a575 Lexar Media, Inc. 
- Bus 002 Device 001: ID 0000:0000  
- Bus 001 Device 007: ID 04f9:01af Brother Industries, Ltd 
- Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
- Bus 001 Device 005: ID 1267:0210 Logic3 / SpectraVideo plc 
- Bus 001 Device 003: ID 05e3:0606 Genesys Logic, Inc. 
- Bus 001 Device 001: ID 0000:0000  
- ==================================================================================================================
- *** hwinfo --netcard; # (filtered)
- 22: PCI 12.0: 0200 Ethernet controller
-   Model: "Uniwill VT6102 [Rhine-II]"
-   Vendor: pci 0x1106 "VIA Technologies, Inc."
-   Device: pci 0x3065 "VT6102 [Rhine-II]"
-   SubVendor: pci 0x1584 "Uniwill Computer Corp"
-   SubDevice: pci 0x8100 
-   Driver: "via-rhine"
-   Driver Modules: "via_rhine"
-   Device File: eth0
-   Link detected: no
-     Driver Status: via-rhine is active
-     Driver Activation Cmd: "modprobe via-rhine"
- ==================================================================================================================
- *** List of loaded modules
- | aamatch_pcre            | ac                      | af_packet               | agpgart                  |
- | apparmor                | atm                     | battery                 | bluetooth                |
- | bsd_comp                | button                  | cdrom                   | cpufreq_conservative     |
- | cpufreq_ondemand        | cpufreq_powersave       | cpufreq_userspace       | crc_ccitt                |
- | dm_mod                  | edd                     | ext3                    | fan                      |
- | fat                     | firmware_class          | freq_table              | gameport                 |
- | hci_usb                 | hidp                    | hwmon                   | i2c_core                 |
- | i2c_isa                 | i2c_viapro              | ide_cd                  | ide_core                 |
- | ide_disk                | ieee1394                | ip6table_filter         | ip6table_mangle          |
- | ip6_tables              | ip6t_REJECT             | ip_conntrack            | ip_nat                   |
- | iptable_filter          | iptable_mangle          | iptable_nat             | ip_tables                |
- | ipt_LOG                 | ipt_REJECT              | ipv6                    | jbd                      |
- | joydev                  | l2cap                   | loop                    | lp                       |
- | mbcache                 | mii                     | nfnetlink               | nls_cp437                |
- | nls_iso8859_1           | ohci1394                | ohci_hcd                | parport                  |
- | parport_pc              | pci_hotplug             | pcmcia                  | pcmcia_core              |
- | powernow_k7             | ppp_async               | ppp_deflate             | ppp_generic              |
- | pppoatm                 | processor               | rfcomm                  | rsrc_nonstatic           |
- | scsi_mod                | sd_mod                  | sg                      | shpchp                   |
- | slhc                    | snd                     | snd_ac97_bus            | snd_ac97_codec           |
- | snd_mixer_oss           | snd_mpu401_uart         | snd_page_alloc          | snd_pcm                  |
- | snd_pcm_oss             | snd_rawmidi             | snd_seq                 | snd_seq_device           |
- | snd_timer               | snd_via82xx             | soundcore               | thermal                  |
- | uhci_hcd                | usbcore                 | usbhid                  | usblp                    |
- | usbserial               | usb_storage             | vfat                    | via82cxxx                |
- | via_agp                 | via_rhine               | vmblock                 | vmci                     |
- | vmmon                   | vmnet                   | vt8231                  | x_tables                 |
- | xt_limit                | xt_pkttype              | xt_state                | xt_tcpudp                |
- | yenta_socket            | zlib_deflate            |
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-dsl0
- BOOTPROTO='none'
- DEVICE='eth-bus-usb'
- MODEM_IP='10.0.0.138'
- NAME='DSL-Verbindung'
- PPPMODE='pppoatm'
- PROVIDER='provider2'
- STARTMODE='auto'
- USERCONTROL='yes'
- VPIVCI='8.32'
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-eth-id-##:##:##:##:##:#1
- BOOTPROTO='static'
- IPADDR='192.168.0.1'
- NAME='Uniwill VT6102 [Rhine-II]'
- NETMASK='%%%.%%%.%%%.3'
- STARTMODE='auto'
- UNIQUE='rBUF.rcMfYz902l8'
- USERCONTROL='no'
- _nm_name='bus-pci-0000:00:12.0'
- ==================================================================================================================
- *** NWEliza states
- IF:eth0  IM:1
- DI:1 dI:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:1 DR:0 MTU:1 NISS:0 IP6:1 KM:0 WLW: 0 
-
 

spoensche

Moderator
Teammitglied
Überprüfe mal die Konfiguration deiner Schnittstelle eth0.

In einem vorherigen Posting von dir steht in der Variable
Code:
BOOTPROTO
der Wert dhcp und bei der Ausgabe des Scriptes kommt auf einmal 'static' zu Tage.
 
OP
M

MiPl

Hacker
Hallo,

es hat etwas gedauert, aber ich wollte sicher gehen, dass der Fehler auch tatsächlich beseitigt ist. Dies ist der Fall. Warum kann ich auch nicht sagen.

Dennoch vielen Dank für die Unterstützung.

Gruß Michael
 
Oben