Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2008, 01:36 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Using expired DHCP lease

I have configured my laptop's wireless using madwifi.

I initialize it manually using the following commands:
ifconfig wlan0 up
iwconfig wlan0 essid "worknetwork"
iwconfig wlan0 mode managed
dhclient wlan0

This has seemed to work fine for several months. However, I just got an email from my system administrator that my computer has been using an expired DHCP lease for the past few days. I checked and noticed that dhclient was no longer running (probably had gotten killed at some point). But, I guess ifconfig had continued to use the IP address.

What am I doing wrong? Is there a better way to configure my wireless? Or do I just need to make sure that dhclient does not get killed?

Old 06-05-2008, 02:34 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 253Reputation: 253Reputation: 253
DHCP should automatically renew and release. If you're still using an expired lease, that sounds more like an issue on the DHCP servers end. I'd tell your system administrator to check his systems before sending out stupid emails.

Now unless you have it configured statically in your configs, then go change it to use DHCP.


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 lease same IP prashanlk Linux - Networking 2 01-31-2008 03:22 AM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
Wireless doesn't get DHCP lease novice_iii Mandriva 1 04-17-2006 07:55 AM
Renewing DHCP Lease JimKyle Linux - Networking 10 07-18-2004 06:54 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 05:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 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