LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 04-03-2005, 07:36 AM   #1
sm1else
Member
 
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 http://www.linuxquestions.org/questi...hreadid=309191 )

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
tormented_one
Member
 
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
sm1else
Member
 
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)
 
  


Reply


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


All times are GMT -5. The time now is 03:04 AM.

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