LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "ipconfig" of windows in linux (https://www.linuxquestions.org/questions/linux-newbie-8/ipconfig-of-windows-in-linux-53530/)

rheza 04-05-2003 10:27 AM

"ipconfig" of windows in linux
 
My cable service is kind of screwy. If I just recently cut the power-off the cable modem and then start it, it can't process a connection right away so in Windows, I have to use "ipconfig /renew" once my modem's "cable" light stops blinking.

I read somewhere about "ifconfig" but I can't recognize the equivalent option to the "/renew" tag.

david_ross 04-05-2003 10:32 AM

Try this:
ifdown eth0
ifup eth0

rheza 04-05-2003 10:55 AM

I don't seem to have ifup and ifdown (tried searching for it and looking at /sbin )

Do you have another suggestion? thanks.

(Using slackware 9.0 btw)

david_ross 04-05-2003 10:59 AM

Does ifconfig exist?
try:
ifconfig eth0 down
ifconfig eth0 up

rheza 04-05-2003 11:23 AM

yup, the both commands work, thanks.


All times are GMT -5. The time now is 05:43 AM.