Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach Stromausfalle keine DHCP mehr
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
holbre
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2004
Posts: 77
Location: Hannover

PostPosted: Fri Sep 10, 2004 7:18 am    Post subject: Nach Stromausfalle keine DHCP mehr Reply with quote

hallo,

nach dem stromausfall geht der dhcp nicht mehr zu starten.

haber auch schon
* mal die leases datein in /var/lib/dhcp gelöscht
* emerge unmerge dhcp && emerge dhcp

leider geht der immer noch nicht

Quote:

/etc/init.d/dhcp start
* Setting ownership on dhcpd.leases... [ ok ]
* Starting dhcpd... [ !! ]


/etc/dhcp/dhcp.conf
Code:

one-lease-per-client true;
ddns-update-style ad-hoc;
log-facility local7;
authoritative;
default-lease-time 600;
max-lease-time 7200;
# TEST
subnet 192.168.0.0 netmask 255.255.0.0 {
        option domain-name-servers 192.168.110.254;
        ddns-updates on;
        ddns-domainname "192.168.110.254";
        range 192.168.110.200 192.168.110.220;
        option broadcast-address 192.168.255.255;
        option domain-name-servers 192.168.110.254;
        option domain-name "test";
        option routers 192.168.110.254;
        pool {
                ddns-domainname "192.168.110.254";
                range dynamic-bootp 192.168.110.201 192.168.110.219;
                }
        allow unknown-clients;
        pool {
                range 192.168.100.230 192.168.110.235;
                }
        }


kann mir einer weiter helfen.
_________________
ASUS P4P800-E Deluxe * 1Gbit onboard * P4 oc 3,6GHz (3,2GHz) + ARCTIC COOLING - Freezer 4 * G.E.I.L. DIMM 1 GB DDR-400 Kit (Value Series) * AGP GF 6600 266MB * Maxtor 16GB S-ATA * DVD-R/W, DVD-ROM, Floppy
Back to top
View user's profile Send private message
Gekko
l33t
l33t


Joined: 29 Oct 2002
Posts: 773

PostPosted: Fri Sep 10, 2004 7:22 am    Post subject: Reply with quote

Gibts Logfiles, wo was diesbezüglich drinsteht?
Hast Du nach dem Stromausfall mal das Dateisystem gecheckt?
Back to top
View user's profile Send private message
holbre
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2004
Posts: 77
Location: Hannover

PostPosted: Fri Sep 10, 2004 7:31 am    Post subject: Reply with quote

also in /var/log habe ich nichts in bezug auf dhcp gefunden.

das filesystem habe ich noch nicht gecheckt (was auch grad nicht so ganz mehr wie), weil nur dhcp nicht geht - print, file, pdc server laufen ohne probleme.
_________________
ASUS P4P800-E Deluxe * 1Gbit onboard * P4 oc 3,6GHz (3,2GHz) + ARCTIC COOLING - Freezer 4 * G.E.I.L. DIMM 1 GB DDR-400 Kit (Value Series) * AGP GF 6600 266MB * Maxtor 16GB S-ATA * DVD-R/W, DVD-ROM, Floppy
Back to top
View user's profile Send private message
nillsen
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 150
Location: /world/eu/ger/sh/nms/

PostPosted: Fri Sep 10, 2004 8:31 am    Post subject: Reply with quote

Moin,

ähhm ja. Für mich sieht deine Config einfach falsch aus. Du solltest deinen Adressbereich auch ins Subnet legen, deine Broadcastadressen, sind IMHO nicht passend zu deinem IP-Pool. Sichere deine config und mache eine neue einfachere und diese kannste dann erweitern.
_________________
Also tragt es in die Welt, haut es mit Edding an die Wände.
so lang die dicke Frau noch singt, ist die Oper nicht zu ende.
Back to top
View user's profile Send private message
holbre
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2004
Posts: 77
Location: Hannover

PostPosted: Fri Sep 10, 2004 10:22 am    Post subject: Reply with quote

habe jetzt einfach mal die beispiel config genommen,
da ist das gleich problem - der dhcp starte nicht.

??????

verstehe grad nichts mehr
_________________
ASUS P4P800-E Deluxe * 1Gbit onboard * P4 oc 3,6GHz (3,2GHz) + ARCTIC COOLING - Freezer 4 * G.E.I.L. DIMM 1 GB DDR-400 Kit (Value Series) * AGP GF 6600 266MB * Maxtor 16GB S-ATA * DVD-R/W, DVD-ROM, Floppy
Back to top
View user's profile Send private message
nillsen
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 150
Location: /world/eu/ger/sh/nms/

PostPosted: Fri Sep 10, 2004 12:08 pm    Post subject: Reply with quote

holbre wrote:
habe jetzt einfach mal die beispiel config genommen,
da ist das gleich problem - der dhcp starte nicht.

??????

verstehe grad nichts mehr


So kann dir niemand helfen. Die Beispielconfig muss zum Beispiel auf deine Interfaces abgestimmt sein. Setze deine Netzwerkkarte auf folgende Adresse: 192.168.0.1

und nun benutze folgende Config:

option domain-name testnetz;
option domain-name-servers 217.237.149.161; #t-online
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
}
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.5 192.168.0.10;
option routers 192.168.0.2;
}

Wenn es damit nicht läuft, liegt es nicht an deiner config.

viel glück
_________________
Also tragt es in die Welt, haut es mit Edding an die Wände.
so lang die dicke Frau noch singt, ist die Oper nicht zu ende.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Fri Sep 10, 2004 2:39 pm    Post subject: Reply with quote

Im Syslog sollte vermutlich was zu finden sein, warum er nicht starten will. Ansonsten versuch mal:
Code:

/etc/init.d/dhcp stop
/etc/init.d/dhcp zap
/etc/init.d/dhcp start


Mit dem zap werden Lockfiles und so kram gelöscht, eventuell ist ja das das Problem.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum