[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP-Server einrichten bei aktivem NetworkManager



Am Sonntag, den 03.06.2007, 00:55 -0700 schrieb
netkai.news.netuse@googlemail.com:
> Hallo Liste,
< ... >
> /etc(init.d/networking restart sagt folgendes:
> "* /etc/network/options is deprecated (see README.Debian of netbase).
> Setting up IP spoofing protection...done (rp_filter).
> Enabling packet forwarding...done.
> Reconfiguring network interfaces...Don't seem to be have all the
> variables for eth0/inet.
> Failed to bring up eth0.
> done."

Sorry, ich hab hier deinen Fehler übernommen :(
'address' schreibt man mit 2 'd' !!!

----- /etc/network/interfaces -----
iface eth0 inet static
address 192.168.3.104
netmask 255.255.255.0
----------

Damit sollte das Interface eth0 aktiv werden.

> Und /etc/init.d/dhcpd restart
> sagt "Datei nicht gefunden".
> 
> /etc/init.d/dhcp3-server sagt:
> Stopping DHCP server: dhcpd3.
> Starting DHCP server: dhcpd3 failed to start - check syslog for
> diagnostics.
> 
> Und /var/log/syslog (Auszug):
> "Jun  3 09:52:54 debian-linux dhcpd: For info, please visit
> http://www.isc.org/sw/dhcp/
> Jun  3 09:52:54 debian-linux dhcpd: Internet Systems Consortium DHCP
> Server V3.0.4
> Jun  3 09:52:54 debian-linux dhcpd: Copyright 2004-2006 Internet
> Systems Consortium.
> Jun  3 09:52:54 debian-linux dhcpd: All rights reserved.
> Jun  3 09:52:54 debian-linux dhcpd: For info, please visit
> http://www.isc.org/sw/dhcp/
> Jun  3 09:52:54 debian-linux dhcpd: Wrote 0 leases to leases file.
> Jun  3 09:52:54 debian-linux dhcpd:
> Jun  3 09:52:54 debian-linux dhcpd: No subnet declaration for eth0
> (0.0.0.0).
> Jun  3 09:52:54 debian-linux dhcpd: ** Ignoring requests on eth0.  If
> this is not what
> Jun  3 09:52:54 debian-linux dhcpd:    you want, please write a subnet
> declaration
> Jun  3 09:52:54 debian-linux dhcpd:    in your dhcpd.conf file for the
> network segment
> Jun  3 09:52:54 debian-linux dhcpd:    to which interface eth0 is
> attached. **
> Jun  3 09:52:54 debian-linux dhcpd:
> Jun  3 09:52:54 debian-linux dhcpd:
> Jun  3 09:52:54 debian-linux dhcpd: Not configured to listen on any
> interfaces!"

Auch hier muß ich mich entschuldigen.
Auf meinem System lief noch ein alter DHCP.
Der DHCP3 hat seine Konfiguration unter '/etc/dhcp3/'.
In diesem Unterverzeichnis sollte dann das File 'dhcpd.conf' liegen.

Im Verzeichnis '/etc/default' liegt ein File 'dhcp3-server' für den
DHCP.
Darin stellst du folgendes ein:

----- /etc/default/dhcp3-server -----
INTERFACES="eth0"
----------

Dadurch musst du in der 'dhcpd.conf' das Netz von ath0 nicht mehr
angeben, da der DHCP sich nur noch mit eth0 befasst.


> > Ich bin hier von Debian 4.0 Etch ausgegangen, aber unter Sarge müsste es
> > genauso aussehen.
> Ja, ich habe Debian Etch (stable).

Nochmal sorry für meine dummen Fehler.
Ich hoffe jetzt klappt es bei dir ;)

mfG Sascha




Reply to: