LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-18-2007, 03:45 PM   #1
dafydil
Member
 
Registered: Aug 2007
Posts: 50

Rep: Reputation: 15
Why do networking demons not get IP addrs?


My question: why are there so many different procedures which must be called in order to get on a network? Is there any general description of what is involved? What is the difference between dhclient and dhcpcd, or between ifconfig and iwconfig?

Background: when I got my wireless server up and talking to the router, it was still not on the internet. Serg.kr suggested I still needed to get an IP address. He suggested "dhclient", which did not work, but an attempt with "dhcpcd" did work. To my recollection, neither of these programs was mentioned in the installation procedure for my wireless driver.

--By no means disapproving of anything; just trying to learn.

Last edited by dafydil; 08-18-2007 at 03:46 PM. Reason: Misspelled dhclient
 
Old 08-18-2007, 07:07 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
dhclient is a DHCP client. dhcpcd is a DHCP server, and you don't need a DHCP server running on your machine to get on the network (so I don't know what you did that made it work). ifconfig is the interface config tool. iwconfig is the same thing but meant for wireless interfaces. Being able to get an IP is assumed by the wireless driver instructions.
 
Old 08-18-2007, 08:03 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by AlucardZero View Post
dhcpcd is a DHCP server, and you don't need a DHCP server running on your machine to get on the network
You must have overlooked the "c" in the name. While dhclient is the DHCP client provided by ISC's DHCP package, dhcpcd is indeed an alternative DHCP client. Gentoo's website has a page that briefly lists some pros and cons of each.

Last edited by win32sux; 08-18-2007 at 08:10 PM.
 
Old 08-18-2007, 09:36 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
er, I did. thanks.
 
Old 08-19-2007, 05:02 PM   #5
dafydil
Member
 
Registered: Aug 2007
Posts: 50

Original Poster
Rep: Reputation: 15
The comments above were helpful.

Apparently there will be several similar programs to handle a given type of action, which may vary depending perhaps on physical device types. But I still think of the networking software as being fragmented. If the purpose of a driver is to mediate between the physical device and the user program, why, when I load a driver for a particular device, is the driver not ready for I/O traffic from the user program?
 
Old 08-19-2007, 08:12 PM   #6
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
this is one place where what distro your running matters
 
  


Reply



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
stoping ftp server (demons) klyshi Linux - Networking 2 04-08-2005 09:00 AM
GeForce 2 graphics card....... getting rid of the demons in my life :0 zetsui Linux - Software 3 03-13-2004 03:39 PM
mutt will only send internal emails to other users on my computer, not external addrs denning Red Hat 1 01-05-2004 08:24 AM
mysql opend 5 demons nakkaya Linux - Software 9 05-04-2003 08:30 AM
demons stealing input lackluster Programming 0 05-26-2002 02:50 PM

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

All times are GMT -5. The time now is 06:09 AM.

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