LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   DHCP doesnt renew lease on hotplug (https://www.linuxquestions.org/questions/linux-wireless-networking-41/dhcp-doesnt-renew-lease-on-hotplug-309195/)

sm1else 04-03-2005 06:36 AM

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?

tormented_one 04-04-2005 03:35 PM

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.

sm1else 04-05-2005 03:10 AM

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)


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