LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-28-2005, 11:14 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
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?
 
Old 07-31-2005, 09:59 PM   #2
mgillen2000
LQ Newbie
 
Registered: Jul 2004
Location: Boston, MA
Posts: 8

Rep: Reputation: 0
/sbin/ifdown wlan0
 
Old 07-31-2005, 10:11 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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
 
  


Reply



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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
BIOS reset on shutdown Genjix Linux - Hardware 1 01-09-2005 07:47 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
dhclient helloworld Linux - Networking 2 03-06-2001 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:03 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
Open Source Consulting | Domain Registration