"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Ubuntu: eth0 startet nicht automatisch

Kamsi 18.09.2011 - 09:48 5178 2 Thread rating
Posts

Kamsi

Big d00d
Registered: Feb 2002
Location: St. Valentin
Posts: 262
hallo!

ich habe ein mehr oder weniger blödes problem mit meinem ubuntu server 11.04
den server habe ich gestern neu installiert und danach habe ich in der datei
/etc/network/interfaces eine fixe ip-adresse eingetragen. seitdem startet die
eth0 nicht mehr automatisch wenn man den server rebootet. ich muss die netzwerkschnittstelle immer manuell starten mit dem befehl "ifconfig eth0 up" und danach die ip-adresse manuell einstellen.
ich habe auch probiert dass ich wieder auf dhcp umstelle, hilft auch nichts.

hier ist das interfaces file:

This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.138


edit: wenn ich mit dem befehl ifup/ifdown eth0 versuche die netzwerkkarte zu starten/beenden bekomme ich folgende fehlermeldung:

/etc/network/interfaces:1: misplaced option
ifdown: couldn't read interfaces file "etc/network/interfaces"

an den berechtigungen habe ich nichts verändert

drwxr-xr-x 6 root root 4096 2011-09-18 10:09 .
drwxr-xr-x 98 root root 4096 2011-09-18 09:47 ..
drwxr-xr-x 2 root root 4096 2011-09-18 09:30 if-down.d
drwxr-xr-x 2 root root 4096 2011-09-17 15:22 if-post-down.d
drwxr-xr-x 2 root root 4096 2011-09-17 15:22 if-pre-up.d
drwxr-xr-x 2 root root 4096 2011-09-17 16:40 if-up.d
-rw-r--r-- 1 root root 267 2011-09-18 09:46 interfaces


kann mir da wer weiterhelfen?
Bearbeitet von Kamsi am 18.09.2011, 10:23

NeM

OC Addicted
Registered: Oct 2004
Location: Austria
Posts: 4887
Blöde Frage: Sind alle entsprechenden Zeilen richtig auskommentiert? Die erste z.B...

Zitat
This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

Müsste da ned eine Raute vor "This file..." stehen?

Kamsi

Big d00d
Registered: Feb 2002
Location: St. Valentin
Posts: 262
:bash:

danke NeM, dass war das Problem.... :fresserettich:
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz