renewing ip address...
what the linux command line equivalent to ipconfig /renew in win2k
|
Try this:
ifdown eth0 ifup eth0 |
ok thanks..but the thing is im going thru ssh...so once it goes down i cant go back in to bring it up
|
You could always write a shell script. That would run the ifup even if ssh had been cut off.
|
uh...i always thought it was
ifconfig eth0 down ifconfig eth0 up |
Oops. Yeah, you're right.
|
i like the shell script idea :D
|
Try searching, I found this in less than a minute.
http://www.linuxquestions.org/questi...light=ipconfig |
All times are GMT -5. The time now is 02:30 PM. |