There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 freeze hard drive internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound trojan usb virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
where to locate DHCP code, which my Linux machine (red hat linux 2.4.20-8)is using?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
barjeshforyou's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Dec 2007
Experience: Intermediate
02-Dec-2007, 09: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 10,521 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
02-Dec-2007, 01: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
Senior Member with 383 posts.
 
Join Date: Nov 2007
Location: UK
Experience: UNIX/Linux Pro, M$ 'doze Sufferer
02-Dec-2007, 02: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
Closed Thread

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.


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 help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


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 08:27 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.