Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Moin Leute!

Ich hab grad n Problem mit der Statischen IP-Vergabe.

Klaro, ab in die interfaces datei und adresse rein.

Aber was ich auch mache die interfaces kann nicht gelesen werden

(/etc/init.d/networking restart)

Zumal das file nachm ändern auch einfach mal 488 byte groß is und keine 277 (wie es wohl sein sollte).

Hmmmmm.....

Schonmal danke für die Hilfe unter euch Linux-Junkies.

ORIGINAL interfaces

# This file describes the network interfaces availible 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

allow-hotplug eth0

iface eth0 inet dhcp

MEINE Interfaces

# This file describes the network interfaces availible 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

allow-hotplug eth0

iface eth0 inet dhcp

# The first network card - this entry was created during the Debian installation

auto eth0

iface eth0 inet static

address 192.168.2.184

broadcast 192.168.2.255

netmask 255.255.255.0

gateway 192.168.2.249

Bearbeitet von Tharsis

iface eth0 inet dhcp

iface eth0 inet static

Äh ... was denn von den beiden? *g*

Der obige Eintrag ist überflüssig.

Aber was ich auch mache die interfaces kann nicht gelesen werden

Woran machst Du das fest?

Nicht zufällig an dem Verhalten, dass immer noch dhcp benutzt wird? Eventuelle Ursache könnte ja die doppelte Deklaration sein, nach welcher wohl dhcp zuerst definiert und ausgewählt wird?

Zumal das file nachm ändern auch einfach mal 488 byte groß is und keine 277 (wie es wohl sein sollte)

Wie jetzt... das Original ist mit weniger Inhalt selbstredend auch kürzer, oder?

Hallo,

also wie schon bemerkt wurde, ist die doppelte Deklaration von "eth0" natürlich Schwachsinn.

Lösch doch einfach alles aus der Datei raus und gebe es so ein, wie es im Bild zu sehen ist:

post-87964-14430449311402_thumb.jpg

So funktioniert es auf jeden Fall. Habe es gerade selber getestet.

Gruß

Max

Kleine Anmerkung noch meinerseits. Mit der allow-hotplug direktive hatte ich speziell in virtuellen Maschinen manchmal meine Problemchen, welche ich über die direktive auto lösen konnte, also:

[B]auto[/B] eth0

iface eth0 inet static

[INDENT]address 192.168.2.184

broadcast 192.168.2.255

netmask 255.255.255.0

gateway 192.168.2.249[/INDENT]


  • Autor

Ich hab hotplug letztendlich auch rausgelassen.

Das war scheinbar auch der Knackpunkt.

Auch nicht schlecht wie schnell sich son Debian mit ner broken Interfaces zerschiessen lässt :floet:

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.