Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP-server start niet bij boot up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
mistermon
n00b
n00b


Joined: 06 Feb 2004
Posts: 11

PostPosted: Sat Sep 04, 2004 12:38 pm    Post subject: DHCP-server start niet bij boot up Reply with quote

Hey iedereen

Een DHCP-server configureren en laten draaien lukt me prima, maar ik slaag er maar niet in ervoor te zorgen dat de DHCP-server start wanneer ik mijn pc start. Ik heb reeds via rc-update dhcp toegevoegd aan de bootscripts, als ik dit nog eens doe krijg ik:
piranha root # rc-update add dhcp default
* dhcp already installed in runlevel default; skipping
Maar als ik dan mijn pc herstart, en dan rc-status doe zie ik duidelijk dat mijn dhcp-server niet draait en de rest wel :(
Iemand een idee wat ik verkeerd doe?

Thx!

Greetz
Geert
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Sep 04, 2004 1:29 pm    Post subject: Reply with quote

ik dacht dat het zo was:
in /etc/conf.d/net

(For DHCP)
iface_eth0="dhcp"


en dan
# rc-update add net.eth0 default

in de veronderstelling dat eth0 je netwerkkaart is
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Sat Sep 04, 2004 2:40 pm    Post subject: Reply with quote

polle wrote:
ik dacht dat het zo was:
in /etc/conf.d/net

(For DHCP)
iface_eth0="dhcp"


en dan
# rc-update add net.eth0 default

in de veronderstelling dat eth0 je netwerkkaart is

Nee, dit is voor een client

Wat krijg je als je de server gewoon start met "/etc/init.d/dhcp start" ?
_________________
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Sat Sep 04, 2004 11:07 pm    Post subject: Reply with quote

rc-update add dhcpd default

Als ik me niet vergis is de init-script-naam (<-- is dat een woord?) dhcpd
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
mistermon
n00b
n00b


Joined: 06 Feb 2004
Posts: 11

PostPosted: Sun Sep 05, 2004 12:27 pm    Post subject: Reply with quote

Rainmaker, dat init-script heeft als naam dhcp en niet dhcpd ....

En rc-update add dhcp default zorgt er wel voor dat dhcp tussen de lijst komt staan als je rc-status doet, maar de dhcp-server wil nog niet starten als ik boot vreemd genoeg ....
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Wed Sep 08, 2004 8:09 pm    Post subject: Reply with quote

garo wrote:

Wat krijg je als je de server gewoon start met "/etc/init.d/dhcp start" ?


En wat is het antwoord op deze vraag???
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu Sep 09, 2004 9:00 am    Post subject: Reply with quote

en zie je iets in /var/log/dhcpd (of zoiets)

Ik draai Redhat op mn router, vandaar dat het misschien ander heet. Sorry
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
mistermon
n00b
n00b


Joined: 06 Feb 2004
Posts: 11

PostPosted: Tue Sep 14, 2004 4:44 pm    Post subject: Reply with quote

ik heb geen /var/log/dhcp(d) :(

en /etc/init.d/dhcp start werkt prima gek genoeg :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch 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