Ubuntu: eth0 startet nicht automatisch

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/ubuntu-eth0-startet-nicht-automatisch_226271/page_1 - zur Vollversion wechseln!


Kamsi schrieb am 18.09.2011 um 09:48

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?


NeM schrieb am 18.09.2011 um 10:30

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 schrieb am 18.09.2011 um 10:38

:bash:

danke NeM, dass war das Problem.... :fresserettich:




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025