Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-04-2005, 03:25 PM   #1
Registered: Feb 2005
Location: California, USA
Distribution: Novell SuSE
Posts: 39

Rep: Reputation: 15
how do I renew a dhcp client lease?

Under Win98, I was able to run winipcfg,
and click on renew-all to have the system
contact the dhcp server and re-establish
the dhcp client leases.

How do I do this under Linux (specifically suse 9.2)?

Old 03-04-2005, 03:36 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just run "dhclient" - if you have more than one card then you can choose with "dhclient eth0".
Old 03-07-2005, 11:49 AM   #3
Registered: Feb 2005
Location: California, USA
Distribution: Novell SuSE
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for you reply.

The program, dhclient, doesn't appear on my system, and this
led me to some further investigation.

Here's what I think I have learned.

There are two packages available, dhclient, and dhcpcd. Suse 9.2
installs dhcpcd.

Fortunately, suse provides some shell-script front ends,
ifup-dhcp and ifdown-dhcp. These scripts figure out which
package is installed and then issue the proper command, with
the proper arguments for the package installed.

So I run:
ifdown-dhcp ath0
ifup-dhcp ath0

Anyway, thank you, David, for pointing me in the right direction.


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
DHCP doesnt renew lease on hotplug sm1else Linux - Wireless Networking 2 04-05-2005 03:10 AM
Technical Q: How can I renew DHCP lease with different IP? paul_m_d Linux - Networking 16 07-26-2004 02:52 AM
Can not get DHCP client lease on startup AlgebraicSpore Linux - Networking 2 06-14-2004 11:16 PM
DHCP won't renew lease without reset of router! amped Linux - Networking 9 03-23-2004 10:37 PM
DHCP client fails to renew lease NiPNi Linux - Networking 2 04-06-2002 06:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:27 PM.

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