Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
where to locate DHCP code, which my Linux machine (red hat linux 2.4.20-8)is using?

Reply  
Thread Tools
barjeshforyou's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Dec 2007
Experience: Intermediate
02-Dec-2007, 10:52 AM #1
where to locate DHCP code, which my Linux machine (red hat linux 2.4.20-8)is using?
Hi all,
where to locate DHCP code, which my Linux machine (red hat linux 2.4.20-8) is using? I tried to find it in usr/src/linux-2.4.20-8, but no reslut.
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
02-Dec-2007, 02:21 PM #2
Hi barjeshforyou,

Welcome to TSG!

Please do not double post your messages in two threads - one is sufficient.

Read the Rules of TSG here.

-- Tom
RobLinux's Avatar
Computer Specs
Member with 417 posts.
 
Join Date: Nov 2007
Location: UK
Experience: UNIX/Linux Pro, M$ 'doze Sufferer
02-Dec-2007, 03:57 PM #3
Quote:
Originally Posted by barjeshforyou
Hi all,
where to locate DHCP code, which my Linux machine (red hat linux 2.4.20-8) is using? I tried to find it in usr/src/linux-2.4.20-8, but no reslut.
There's 2 parts to DHCP you could have installed , a client for obtaining an adderss, and a server part for issuing leases to DHCP clients.

On my box, I find :

fir:/var # rpm -qa |grep dhcp
dhcp-3.0.6-24
dhcp-client-3.0.6-24
dhcp-server-3.0.6-24
dhcp-tools-1.6-102
dhcpcd-1.3.22pl4-287

fir:/var # ps aux |grep dhcp
root 2326 0.0 0.0 2128 900 ? Rs 19:15 0:00 /sbin/syslog-ng -a /var/lib/dhcp/dev/log
root 3485 0.0 0.0 1628 236 ? Ss 19:15 0:00 /sbin/dhcpcd -d -C -K -N -Y -t 999999 -c /etc/sysconfig/network/scripts/dhcpcd-hook eth1
root 18945 0.0 0.0 2036 640 pts/2 R+ 19:55 0:00 grep dhcp

fir:/var # rpm -qf /sbin/dhcpcd
dhcpcd-1.3.22pl4-287


If you're looking for the source, code download a src rpm for what you're interested in. Or do another lookup like this :

fir:/var # rpm -qil dhcpcd
Name : dhcpcd Relocations: (not relocatable)
Version : 1.3.22pl4 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 287 Build Date: Fri Sep 21 22:56:01 2007
Install Date: Sat Nov 3 03:48:08 2007 Build Host: poincare.suse.de
Group : Productivity/Networking/Boot/Clients Source RPM: dhcpcd-1.3.22pl4-287.src.rpm
Size : 137611 License: GPL v2 or later
Signature : DSA/SHA1, Fri Sep 21 23:02:06 2007, Key ID a84edae89c800aca
Packager : http://bugs.opensuse.org
URL : http://www.phystech.com/download/dhcpcd.html
Summary : A DHCP Client Daemon
Description :
dhcpcd gets an IP address and other information from a corresponding
DHCP server, configures the network interface automatically, and tries
to renew the lease time depending on the command line option.



Authors:
--------
Sergei Viznyuk <sv@phystech.com>
Yoichi Hariguchi <yoichi@fore.com>
Distribution: openSUSE 10.3 (i586)
/sbin/dhcpcd
/usr/sbin/dhcpcd-test
/usr/share/doc/packages/dhcpcd
/usr/share/doc/packages/dhcpcd/AUTHORS
/usr/share/doc/packages/dhcpcd/COPYING
/usr/share/doc/packages/dhcpcd/ChangeLog
/usr/share/doc/packages/dhcpcd/INSTALL
/usr/share/doc/packages/dhcpcd/NEWS
/usr/share/doc/packages/dhcpcd/README
/usr/share/doc/packages/dhcpcd/README.SuSE
/usr/share/doc/packages/dhcpcd/dhcpcd-hook.example
/usr/share/doc/packages/dhcpcd/dhcpcd.exe
/usr/share/man/man8/dhcpcd.8.gz
/var/lib/dhcpcd
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:17 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.