Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 04-03-2005, 07:36 AM   #1
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Rep: Reputation: 15
DHCP doesnt renew lease on hotplug

When I plug in my SMC2835W card, the card starts up fine (though i want to remove a hack i have had to use, see )

However it does not seem to renew the lease when the interface comes up. I can ssh to my server machine without doing anything, however accessing the internet requires me to su and run 'dhcpcd -n wlan0' otherwise I get 'connection refused'

any ideas on what could cause this?
Old 04-04-2005, 04:35 PM   #2
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
add "dhcpcd -n wlan0" to you /etc/rc.d/rc.local file, for a quick fix. Might have something to do with the hack you used. I take it this is at boot. If it is at boot then above will work. If it is running and the internet stops working it could be the renew time in the dhcpc daemon.
Old 04-05-2005, 04:10 AM   #3
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Original Poster
Rep: Reputation: 15
no this isnt on boot, if the card is plugged in at boot time everything starts up correctly. The problem is when the system is already running and i hotplug it (its a CardBus card)


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
how do I renew a dhcp client lease? susefan Linux - Networking 2 03-07-2005 12:49 PM
dhclient lease renew ozplanit Linux - Networking 1 08-14-2004 03:49 AM
Technical Q: How can I renew DHCP lease with different IP? paul_m_d Linux - Networking 16 07-26-2004 03:52 AM
DHCP won't renew lease without reset of router! amped Linux - Networking 9 03-23-2004 11:37 PM
DHCP client fails to renew lease NiPNi Linux - Networking 2 04-06-2002 07:01 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:05 AM.

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