RE: [newbie] How to renew IP address?

2002-01-10 Thread Franki

what about:
service network restart

that will do the job also, 

problem is, that it will restart all interfaces, rather then just eth0

which is a pain if you have ppp0 up as well.


rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robin
Sent: Wednesday, 9 January 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: [newbie] How to renew IP address?


Just kinda wondering why no one has brought up /etc/rc.d/init.d/network
restart !?
That works too right?

Robin

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Johnson, David
 Sent: Tuesday, January 08, 2002 2:33 PM
 To: '[EMAIL PROTECTED]'
 Subject: [newbie] How to renew IP address?
 
 
 Ok.  I've searched around and I know I've seen it on the list 
 before, but I just moved my machine to a different physical 
 network and need to get a new IP address from a DHCP server.  
 How do I release/renew my IP address without rebooting the machine?
 
 Thanks in advance!
 
 


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] How to renew IP address?

2002-01-08 Thread Onur Kucuk


Wednesday, January 09, 2002, 12:33:14 AM, you wrote:

JD Ok.  I've searched around and I know I've seen it on the list before, but I
JD just moved my machine to a different physical network and need to get a new
JD IP address from a DHCP server.  How do I release/renew my IP address without
JD rebooting the machine?

JD Thanks in advance!

 if eth0 is configured to use dhcp to get its ip etc., as root, do

 ifdown eth0
 ifup etho


 Onur Kucuk



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] How to renew IP address?

2002-01-08 Thread Gerald Waugh

On Tuesday 08 January 2002 05:33 pm, Johnson, David wrote:
 Ok.  I've searched around and I know I've seen it on the list before, but I
 just moved my machine to a different physical network and need to get a new
 IP address from a DHCP server.  How do I release/renew my IP address
 without rebooting the machine?

 Thanks in advance!

Hopw about

/etc/rc.d/init.d/network restart

Gerald



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] How to renew IP address?

2002-01-08 Thread Craig Williamson (ENZ)
Title: RE: [newbie] How to renew IP address?





Hi All,


 You can also try:


 ifdown eth0  (stops the current network)
 ifup eth0  (looks for new information for the new network)


 This can be used for anything from ethernet (eth0, eth1,...), PPP sessions (ppp0, ppp1,...) so this command is quite flexible. Good Luck

-Original Message-
From: Gerald Waugh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] How to renew IP address?



On Tuesday 08 January 2002 05:33 pm, Johnson, David wrote:
 Ok. I've searched around and I know I've seen it on the list before, but I
 just moved my machine to a different physical network and need to get a new
 IP address from a DHCP server. How do I release/renew my IP address
 without rebooting the machine?

 Thanks in advance!


Hopw about


/etc/rc.d/init.d/network restart


Gerald





RE: [newbie] How to renew IP address?

2002-01-08 Thread Robin

Just kinda wondering why no one has brought up /etc/rc.d/init.d/network
restart !?
That works too right?

Robin

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Johnson, David
 Sent: Tuesday, January 08, 2002 2:33 PM
 To: '[EMAIL PROTECTED]'
 Subject: [newbie] How to renew IP address?
 
 
 Ok.  I've searched around and I know I've seen it on the list 
 before, but I just moved my machine to a different physical 
 network and need to get a new IP address from a DHCP server.  
 How do I release/renew my IP address without rebooting the machine?
 
 Thanks in advance!
 
 


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com