LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2003, 09:54 AM   #1
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Rep: Reputation: 30
renewing ip address...


what the linux command line equivalent to ipconfig /renew in win2k
 
Old 05-07-2003, 10:15 AM   #2
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Try this:

ifdown eth0
ifup eth0
 
Old 05-07-2003, 01:13 PM   #3
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Original Poster
Rep: Reputation: 30
ok thanks..but the thing is im going thru ssh...so once it goes down i cant go back in to bring it up
 
Old 05-07-2003, 02:45 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You could always write a shell script. That would run the ifup even if ssh had been cut off.
 
Old 05-07-2003, 03:03 PM   #5
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
uh...i always thought it was
ifconfig eth0 down
ifconfig eth0 up
 
Old 05-07-2003, 03:05 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Oops. Yeah, you're right.
 
Old 05-07-2003, 03:38 PM   #7
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Original Poster
Rep: Reputation: 30
i like the shell script idea
 
Old 05-07-2003, 05:59 PM   #8
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Try searching, I found this in less than a minute.

http://www.linuxquestions.org/questi...light=ipconfig
 
  


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
renewing of ip fdahl_009 Slackware 3 10-24-2005 03:48 PM
Renewing IP address Ryan450 Linux - Networking 7 03-20-2005 06:04 PM
Releasing / Renewing IP Verbal Kint Linux - Networking 2 12-07-2004 11:52 PM
Renewing DHCP Lease JimKyle Linux - Networking 10 07-18-2004 06:54 PM
Renewing ip The Person Linux - Networking 3 01-22-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:12 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