LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   dhclient shutdown or reset (https://www.linuxquestions.org/questions/fedora-35/dhclient-shutdown-or-reset-347679/)

linuxhippy 07-28-2005 11:14 AM

dhclient shutdown or reset
 
dhclient wlan0 will find my wireless network for about 5 minutes. Then it won't connect to the internet eventhough ifconfig shows that it still has an IP address. How can I shut down or reset dhclient? Shutdown it's PID?

mgillen2000 07-31-2005 09:59 PM

/sbin/ifdown wlan0

homey 07-31-2005 10:11 PM

I would release it using the command: dhclient -r
then renew with the command: dhclient wlan0

You could also use the command: ps -ax and kill it.
And you could use the command: service network restart

I would also check the nic settings for peerdns=yes
For example, on my box eth0 looks like this in /etc/sysconfig/network-scripts/ifcfg-eth0
PEERDNS=yes


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