LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Release And Renew (https://www.linuxquestions.org/questions/linux-networking-3/release-and-renew-299763/)

dna9 03-09-2005 04:17 PM

Release And Renew
 
in windows you pull up a dos prompt and enter:

"c:\> ipconfig/release"

"c:\> ipconfig/renew" to renew ip with dhcp.


well, what about linux? is there a command or a service to stop/start?
i am using suse 9.2 with no router. thanks in advance...

dna9 03-09-2005 04:24 PM

NEVERMIND
 
thanks anyway, i found out in another post.

QUOTE:
david_ross
Moderator:
Just run "dhclient" - if you have more than one card then you can choose with "dhclient eth0"

or

QUOTE:
susefan
Newbie:
There are two packages available, dhclient, and dhcpcd. Suse 9.2
installs dhcpcd.

Fortunately, suse provides some shell-script front ends,
ifup-dhcp and ifdown-dhcp. These scripts figure out which
package is installed and then issue the proper command, with
the proper arguments for the package installed.

So I run:
ifdown-dhcp ath0
ifup-dhcp ath0

END----------------------------------------------------------------------:study:


All times are GMT -5. The time now is 06:28 AM.