LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2005, 10:40 PM   #1
Thomas Anderson
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
What's the linux equivalent of ipconfig /release & renew


ifconfig something? maybe?

Help appreciated.
Thanks.
t.
 
Old 02-20-2005, 10:58 PM   #2
sunnysharma
LQ Newbie
 
Registered: Feb 2005
Location: India
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
ya it is ifconfig......
 
Old 02-20-2005, 11:29 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Try these commands...
ifdown eth0 / ifup eth0
or
dhclient eth0
 
Old 02-21-2005, 12:19 AM   #4
rsmith
Member
 
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
If you're using wireless you can use iwconfig to check the status of wireless adapters.
 
Old 02-21-2005, 08:44 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Best way most likely is to just issue these commands since your definitely on a DHCP connection:

dhcpcd -k

And then simply run it again without the -k like:

dhcpcd

This will kill your DHCP connection and then running it will query the server to pull another IP. But don't be alarmed if the server gives you the same IP, most will cache the MAC addresses and just issue the same IP over and over..
 
Old 02-21-2005, 09:32 AM   #6
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
Or you can try

service network restart
 
  


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
ipconfig /release/renew Red Squirrel Linux - Software 2 07-31-2005 10:09 AM
what is "ipconfig /renew" in linux ? fipeso Linux - Newbie 3 04-23-2005 04:26 AM
ip release/renew ddu_ Linux - Newbie 5 12-14-2004 11:35 PM
Linux (SuSE) version of ipconfig /renew? wildweaselmi Linux - Newbie 3 10-29-2004 04:06 PM
Release/renew an ip morfy50 Linux - Networking 1 09-19-2002 01:02 PM


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