Fedora Linux Support Community & Resources Center
  #1  
Old 4th June 2004, 05:37 AM
cfh Offline
Registered User
 
Join Date: Jun 2004
Posts: 3
dhcp client info

In earlier versions of Redhat when I was assigned a dynamic IP from my service provider the file /etc/dhcpc/dhcpcd-eth0.info was created with a lot of useful variables. The file was in the form of IPADDR=X.X.X.X. I use to source that file to get the IP that was assigned by my ISP and use that variable in my firewall rules. I can't seem to find anything like it in Fedora Core2. Is there such a thing anymore?
Reply With Quote
  #2  
Old 4th June 2004, 05:56 AM
jdc Offline
Registered User
 
Join Date: May 2004
Posts: 23
You can try /var/lib/dhcp/dhclient-eth0.leases I am not sure if that is exactly what you are looking for, but you can give it a try.
Reply With Quote
  #3  
Old 4th June 2004, 06:03 AM
cfh Offline
Registered User
 
Join Date: Jun 2004
Posts: 3
dhcp client info

Thanks,

I already looked at the leases file and it is not quite the same thing. I guess I don't want to have to write a routine to parse the info.
Reply With Quote
  #4  
Old 4th June 2004, 09:08 AM
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 43
Posts: 519
How about /sbin/ifconfig?
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
Reply

Tags
client, dhcp, info

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless DHCP not getting info Lockblade Servers & Networking 2 9th September 2008 01:59 AM
FC5 dhcp client? hoser_9 EOL (End Of Life) Versions 4 24th March 2006 10:56 PM
FC3 DHCP failing to get eth0 info Jurph Servers & Networking 1 28th June 2005 08:51 AM
dhcp client not getting IP from dhcp server jkmartha Servers & Networking 2 17th June 2005 03:06 PM
Info Static IP on DHCP Network joking Servers & Networking 3 4th April 2004 04:08 AM


Current GMT-time: 12:55 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat