LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2006, 10:03 AM   #1
siaz4t
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Dhcpd or Dhcpcd


Hi Every one.
I have written a small application using gtk2.0. Also i have prepared a
bootable cd image so that when i boot from the cd my application runs.
For this purpose i have used kernel 2.6.14 statically compiled (without modules) and
isolinux.bin as a bootloader while using the suse linux
Also i m using Xvesa server for X support with icewm window manager.

I want to configure network for my bootbale disc.
Using a mannual networking that is by giving ip address and netmask, i got success and the network was configured. But now i want to configure the network automatically. But i m not getting the right path.
I m trying to use dhcpcd deamon to automatically configure the network but all my efforts are not ending in a success.
What should i use dhcpd or dhcpcd?
I want to know the correct steps to configure network automatically (i-e without giving an ip address or netmask).
Please help me this matter
Thanx
 
Old 05-04-2006, 10:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
dhcpcd is the client daemon, dhcpd is the server daemon. you want the former. alternatively you could use dhclient pump, dhcxcd or other dhcp clients.
 
Old 05-05-2006, 03:09 AM   #3
siaz4t
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I tried dhcpcd. The network was configured but there was no file named as "dhcpcd-<interface>.pid" in the /var/run directory.
When i ping the server it was working.
On the other hand, i tried the same thing on a second pc on the same network, but i this case nothing happend. the network was not configured.

I m using dhcpcd v.1.3.22-pl4 for this purpose.
I tried the command
dhcpcd -d <interface>

Any thing more i need to do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 11:32 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 04:58 AM
Using DNS ips I just go from dhcpcd in dhcpd? 95se Linux - Networking 2 01-23-2004 02:41 PM
dhcpcd chrismiceli Linux - Networking 2 10-21-2002 12:09 PM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration